ReactOS 0.4.16-dev-88-ga65b6ae
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | SEED_BUFFER_SIZE 6 |
#define | TICKS_PER_CLOCK_TICK 1000 |
#define | SECSPERDAY 86400 |
#define | TICKSPERSEC 10000000 |
#define | SECS_15_OCT_1582_TO_1601 ((17 + 30 + 31 + 365 * 18 + 5) * SECSPERDAY) |
#define | TICKS_15_OCT_1582_TO_1601 ((ULONGLONG)SECS_15_OCT_1582_TO_1601 * TICKSPERSEC) |
#define | TIME_FRAME 10000 |
#define | VALUE_BUFFER_SIZE 20 |
Functions | |
BOOLEAN NTAPI | ExpUuidInitialization (VOID) |
static NTSTATUS | ExpUuidLoadSequenceNumber (PULONG Sequence) |
static NTSTATUS | ExpUuidSaveSequenceNumber (PULONG Sequence) |
static VOID | ExpUuidSaveSequenceNumberIf (VOID) |
static NTSTATUS | ExpAllocateUuids (PULARGE_INTEGER Time, PULONG Range, PULONG Sequence) |
static NTSTATUS | ExpUuidGetValues (PUUID_CACHED_VALUES_STRUCT CachedValues) |
BOOLEAN NTAPI | ExLuidInitialization (VOID) |
VOID NTAPI | ExAllocateLocallyUniqueId (OUT LUID *LocallyUniqueId) |
NTSTATUS NTAPI | NtAllocateLocallyUniqueId (OUT LUID *LocallyUniqueId) |
NTSTATUS NTAPI | ExUuidCreate (OUT UUID *Uuid) |
NTSTATUS NTAPI | NtAllocateUuids (OUT PULARGE_INTEGER Time, OUT PULONG Range, OUT PULONG Sequence, OUT PUCHAR Seed) |
NTSTATUS NTAPI | NtSetUuidSeed (IN PUCHAR Seed) |
Variables | |
FAST_MUTEX | ExpUuidLock |
LARGE_INTEGER | ExpUuidLastTimeAllocated |
ULONG | ExpUuidSequenceNumber = 0 |
BOOLEAN | ExpUuidSequenceNumberValid |
BOOLEAN | ExpUuidSequenceNumberNotSaved = FALSE |
UUID_CACHED_VALUES_STRUCT | ExpUuidCachedValues = {0ULL, 0xFFFFFFFF, {{0, 0, {0x80, 0x6E, 0x6F, 0x6E, 0x69, 0x63}}}} |
BOOLEAN | ExpUuidCacheValid = FALSE |
ULONG | ExpLuidIncrement = 1 |
LARGE_INTEGER | ExpLuid = {{0x3e9, 0x0}} |
#define SECS_15_OCT_1582_TO_1601 ((17 + 30 + 31 + 365 * 18 + 5) * SECSPERDAY) |
#define TICKS_15_OCT_1582_TO_1601 ((ULONGLONG)SECS_15_OCT_1582_TO_1601 * TICKSPERSEC) |
Definition at line 335 of file uuid.c.
Referenced by NtAdjustGroupsToken(), NtAdjustPrivilegesToken(), NtAllocateLocallyUniqueId(), NtSetInformationToken(), SeCreateAccessStateEx(), SepCreateToken(), SepDuplicateToken(), and SepPerformTokenFiltering().
Definition at line 325 of file uuid.c.
Referenced by SepInitializationPhase0().
|
static |
Definition at line 197 of file uuid.c.
Referenced by ExpUuidGetValues(), and NtAllocateUuids().
|
static |
Definition at line 276 of file uuid.c.
Referenced by ExUuidCreate().
Definition at line 53 of file uuid.c.
Referenced by ExpInitSystemPhase1().
Definition at line 69 of file uuid.c.
Referenced by ExpAllocateUuids().
Definition at line 127 of file uuid.c.
Referenced by ExpUuidSaveSequenceNumberIf().
Definition at line 174 of file uuid.c.
Referenced by ExUuidCreate(), and NtAllocateUuids().
Definition at line 380 of file uuid.c.
Referenced by AllocAndInitializeTelemetryContext(), ChanMgrCreateChannel(), CreateNewVolumeName(), CreateNoDriveLetterEntry(), Ext2InitializeVcb(), IntCreateNewRegistryPath(), and START_TEST().
Definition at line 348 of file uuid.c.
Referenced by AllocateLocallyUniqueId(), and LsaApLogonUserEx2().
NTSTATUS NTAPI NtAllocateUuids | ( | OUT PULARGE_INTEGER | Time, |
OUT PULONG | Range, | ||
OUT PULONG | Sequence, | ||
OUT PUCHAR | Seed | ||
) |
Definition at line 460 of file uuid.c.
Definition at line 547 of file uuid.c.
Referenced by DealWithDeviceEvent().
LARGE_INTEGER ExpLuid = {{0x3e9, 0x0}} |
Definition at line 43 of file uuid.c.
Referenced by ExAllocateLocallyUniqueId().
ULONG ExpLuidIncrement = 1 |
Definition at line 42 of file uuid.c.
Referenced by ExAllocateLocallyUniqueId().
UUID_CACHED_VALUES_STRUCT ExpUuidCachedValues = {0ULL, 0xFFFFFFFF, {{0, 0, {0x80, 0x6E, 0x6F, 0x6E, 0x69, 0x63}}}} |
Definition at line 40 of file uuid.c.
Referenced by ExUuidCreate(), NtAllocateUuids(), and NtSetUuidSeed().
Definition at line 41 of file uuid.c.
Referenced by ExUuidCreate(), and NtSetUuidSeed().
LARGE_INTEGER ExpUuidLastTimeAllocated |
Definition at line 36 of file uuid.c.
Referenced by ExpAllocateUuids(), and ExpUuidInitialization().
FAST_MUTEX ExpUuidLock |
Definition at line 35 of file uuid.c.
Referenced by ExpUuidInitialization(), ExUuidCreate(), and NtAllocateUuids().
ULONG ExpUuidSequenceNumber = 0 |
Definition at line 37 of file uuid.c.
Referenced by ExpAllocateUuids(), and ExpUuidSaveSequenceNumberIf().
Definition at line 39 of file uuid.c.
Referenced by ExpAllocateUuids(), and ExpUuidSaveSequenceNumberIf().
BOOLEAN ExpUuidSequenceNumberValid |
Definition at line 38 of file uuid.c.
Referenced by ExpAllocateUuids(), and ExpUuidInitialization().