ReactOS 0.4.16-dev-306-g647d351
|
Go to the source code of this file.
Classes | |
struct | _CM_KEY_HASH |
struct | _CM_KEY_HASH_TABLE_ENTRY |
struct | _CM_NAME_HASH |
struct | _CM_NAME_HASH_TABLE_ENTRY |
struct | _CM_KEY_SECURITY_CACHE |
struct | _CM_KEY_SECURITY_CACHE_ENTRY |
struct | _CACHED_CHILD_LIST |
struct | _CM_INDEX_HINT_BLOCK |
struct | _CM_KEY_BODY |
struct | _CM_NAME_CONTROL_BLOCK |
struct | _CM_KEY_CONTROL_BLOCK |
struct | _CM_NOTIFY_BLOCK |
struct | _CM_CELL_REMAP_BLOCK |
struct | _CM_ALLOC_PAGE |
struct | _CM_DELAY_ALLOC |
struct | _CM_DELAYED_CLOSE_ENTRY |
struct | _CM_DELAY_DEREF_KCB_ITEM |
struct | _CM_CACHED_VALUE_INDEX |
struct | _CM_CACHED_VALUE |
struct | _HIVE_LIST_ENTRY |
struct | _CM_HASH_CACHE_STACK |
struct | _CM_PARSE_CONTEXT |
struct | _CMP_MF_TYPE |
struct | _CM_SYSTEM_CONTROL_VECTOR |
struct | _KEY_VALUE_INFORMATION |
struct | _KEY_INFORMATION |
Enumerations | |
enum | _VALUE_SEARCH_RETURN_TYPE { SearchSuccess , SearchNeedExclusiveLock , SearchFail } |
#define CM_DELAYS_PER_PAGE ((PAGE_SIZE - FIELD_OFFSET(CM_ALLOC_PAGE, AllocPage)) / sizeof(CM_DELAY_ALLOC)) |
#define CM_KCBS_PER_PAGE ((PAGE_SIZE - FIELD_OFFSET(CM_ALLOC_PAGE, AllocPage)) / sizeof(CM_KEY_CONTROL_BLOCK)) |
#define CMP_KCBS_IN_ARRAY_LIMIT (CMP_SUBKEY_LEVELS_DEPTH_LIMIT + 2) |
typedef struct _CM_ALLOC_PAGE CM_ALLOC_PAGE |
typedef struct _CM_CACHED_VALUE CM_CACHED_VALUE |
typedef struct _CM_DELAY_ALLOC CM_DELAY_ALLOC |
typedef struct _CM_KEY_BODY CM_KEY_BODY |
typedef struct _CM_KEY_HASH CM_KEY_HASH |
typedef struct _CM_NAME_HASH CM_NAME_HASH |
typedef struct _CM_NOTIFY_BLOCK CM_NOTIFY_BLOCK |
typedef struct _CM_PARSE_CONTEXT CM_PARSE_CONTEXT |
typedef struct _CMP_MF_TYPE CMP_MF_TYPE |
typedef struct _HIVE_LIST_ENTRY HIVE_LIST_ENTRY |
typedef struct _KEY_INFORMATION KEY_INFORMATION |
typedef struct _CACHED_CHILD_LIST * PCACHED_CHILD_LIST |
typedef struct _CM_ALLOC_PAGE * PCM_ALLOC_PAGE |
typedef struct _CM_CACHED_VALUE * PCM_CACHED_VALUE |
typedef struct _CM_CELL_REMAP_BLOCK * PCM_CELL_REMAP_BLOCK |
typedef struct _CM_DELAY_ALLOC * PCM_DELAY_ALLOC |
typedef struct _CM_HASH_CACHE_STACK * PCM_HASH_CACHE_STACK |
typedef struct _CM_INDEX_HINT_BLOCK * PCM_INDEX_HINT_BLOCK |
typedef struct _CM_KEY_BODY * PCM_KEY_BODY |
typedef struct _CM_KEY_CONTROL_BLOCK * PCM_KEY_CONTROL_BLOCK |
typedef struct _CM_KEY_HASH * PCM_KEY_HASH |
typedef struct _CM_NAME_HASH * PCM_NAME_HASH |
typedef struct _CM_NOTIFY_BLOCK * PCM_NOTIFY_BLOCK |
typedef struct _CM_PARSE_CONTEXT * PCM_PARSE_CONTEXT |
typedef struct _CMP_MF_TYPE * PCMP_MF_TYPE |
typedef struct _HIVE_LIST_ENTRY * PHIVE_LIST_ENTRY |
typedef struct _KEY_INFORMATION * PKEY_INFORMATION |
Enumerator | |
---|---|
SearchSuccess | |
SearchNeedExclusiveLock | |
SearchFail |
Definition at line 137 of file cm.h.
NTSTATUS NTAPI CmDeleteKey | ( | IN PCM_KEY_BODY | KeyBody | ) |
Definition at line 1823 of file cmapi.c.
Referenced by NtDeleteKey().
NTSTATUS NTAPI CmDeleteValueKey | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb, |
IN UNICODE_STRING | ValueName | ||
) |
Definition at line 915 of file cmapi.c.
Referenced by NtDeleteValueKey().
NTSTATUS NTAPI CmEnumerateKey | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb, |
IN ULONG | Index, | ||
IN KEY_INFORMATION_CLASS | KeyInformationClass, | ||
IN PVOID | KeyInformation, | ||
IN ULONG | Length, | ||
IN PULONG | ResultLength | ||
) |
Definition at line 1734 of file cmapi.c.
Referenced by NtEnumerateKey().
NTSTATUS NTAPI CmEnumerateValueKey | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb, |
IN ULONG | Index, | ||
IN KEY_VALUE_INFORMATION_CLASS | KeyValueInformationClass, | ||
IN PVOID | KeyValueInformation, | ||
IN ULONG | Length, | ||
IN PULONG | ResultLength | ||
) |
Definition at line 1191 of file cmapi.c.
Referenced by NtEnumerateValueKey().
Definition at line 1937 of file cmapi.c.
Referenced by CmUnloadKey(), and NtFlushKey().
VOID NTAPI CmGetSystemControlValues | ( | IN PVOID | SystemHiveData, |
IN PCM_SYSTEM_CONTROL_VECTOR | ControlVector | ||
) |
Definition at line 104 of file cmcontrl.c.
Referenced by ExpInitializeExecutive().
PUNICODE_STRING *NTAPI CmGetSystemDriverList | ( | VOID | ) |
Definition at line 1839 of file cmsysini.c.
Referenced by IopInitializeSystemDrivers().
NTSTATUS CmiCallRegisteredCallbacks | ( | IN REG_NOTIFY_CLASS | Argument1, |
IN PVOID | Argument2 | ||
) |
Definition at line 59 of file cmhook.c.
Referenced by CmpDeleteKeyObject(), NtDeleteKey(), NtDeleteValueKey(), NtEnumerateKey(), NtEnumerateValueKey(), NtQueryKey(), NtQueryValueKey(), and NtSetValueKey().
Definition at line 1621 of file cmsysini.c.
Referenced by Phase1InitializationDiscard().
NTSTATUS NTAPI CmLoadKey | ( | IN POBJECT_ATTRIBUTES | TargetKey, |
IN POBJECT_ATTRIBUTES | SourceFile, | ||
IN ULONG | Flags, | ||
IN PCM_KEY_BODY | KeyBody | ||
) |
Definition at line 2012 of file cmapi.c.
Referenced by NtLoadKeyEx().
Definition at line 2079 of file cmsysini.c.
Referenced by CmDeleteKey(), and CmpCreateKeyControlBlock().
Definition at line 350 of file cmdelay.c.
Referenced by CmpDereferenceKeyControlBlockWithLock().
Definition at line 130 of file cmhvlist.c.
Referenced by CmInitSystem1(), CmLoadKey(), and CmpInitializeHiveList().
Definition at line 49 of file registry.c.
Definition at line 199 of file cmalloc.c.
Referenced by CmpAddToDelayedClose(), and CmpDelayDerefKeyControlBlock().
PCM_KEY_CONTROL_BLOCK NTAPI CmpAllocateKeyControlBlock | ( | VOID | ) |
Definition at line 111 of file cmalloc.c.
Referenced by CmpCreateKeyControlBlock().
Definition at line 335 of file cmdelay.c.
Referenced by _Function_class_(), and CmpAddToDelayedClose().
NTSTATUS CmpAssignSecurityDescriptor | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb, |
IN PSECURITY_DESCRIPTOR | SecurityDescriptor | ||
) |
Definition at line 251 of file cmse.c.
Referenced by CmpDoCreateChild(), and CmpSecurityMethod().
PULONG NTAPI CmpBuildAndLockKcbArray | ( | _In_ PCM_HASH_CACHE_STACK | HashCacheStack, |
_In_ ULONG | KcbLockFlags, | ||
_In_ PCM_KEY_CONTROL_BLOCK | Kcb, | ||
_Inout_ PULONG | OuterStackArray, | ||
_In_ ULONG | TotalRemainingSubkeys, | ||
_In_ ULONG | MatchRemainSubkeyLevel | ||
) |
Builds an array of KCBs and locks them. Whether these KCBs are locked exclusively or in shared mode by the calling thread, is specified by the KcbLockFlags parameter. The array is sorted.
[in] | HashCacheStack | A pointer to a hash cache stack. This stack parameter stores the convkey hashes of interested KCBs of a key path name that need to be locked. |
[in] | KcbLockFlags | Define a lock flag to lock the KCBs. Consult the CmpLockKcbArray documentation for more information. |
[in] | Kcb | A pointer to a key control block to be given. This KCB is included in the array for locking, that is, given by the CmpParseKey from the parser object. |
[in,out] | OuterStackArray | A pointer to an array that lives on the caller's stack. It acts like an auxiliary array used by the function to store the KCB elements for locking. The expected size of the array is up to 32 elements, which is the imposed limit by CMP_HASH_STACK_LIMIT. This limit also corresponds to the maximum depth of subkey levels. |
[in] | TotalRemainingSubkeys | The number of total remaining subkey levels. |
[in] | MatchRemainSubkeyLevel | The number of remaining subkey levels that match. |
Definition at line 1302 of file cmkcbncb.c.
Referenced by CmpBuildHashStackAndLookupCache(), and CmpLookInCache().
VOID NTAPI CmpCleanUpKcbCacheWithLock | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb, |
IN BOOLEAN | LockHeldExclusively | ||
) |
Definition at line 476 of file cmkcbncb.c.
Referenced by _Function_class_(), CmpAddToDelayedClose(), CmpDereferenceKeyControlBlockWithLock(), CmpEnumerateOpenSubKeys(), and CmpLookInCache().
VOID NTAPI CmpCleanUpKcbValueCache | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb | ) |
Definition at line 431 of file cmkcbncb.c.
Referenced by CmDeleteValueKey(), CmpCleanUpKcbCacheWithLock(), CmpCompareNewValueDataAgainstKCBCache(), CmpDoOpen(), and CmSetValueKey().
VOID NTAPI CmpCleanUpSubKeyInfo | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb | ) |
Definition at line 517 of file cmkcbncb.c.
Referenced by CmDeleteKey(), CmpCreateLinkNode(), CmpDoCreate(), CmpEnumerateOpenSubKeys(), and CmUnloadKey().
Definition at line 644 of file cminit.c.
Referenced by CmLoadKey(), CmShutdownSystem(), and CmUnloadKey().
VOID NTAPI CmpCloseKeyObject | ( | IN PEPROCESS Process | OPTIONAL, |
IN PVOID | Object, | ||
IN ACCESS_MASK | GrantedAccess, | ||
IN ULONG | ProcessHandleCount, | ||
IN ULONG | SystemHandleCount | ||
) |
Definition at line 162 of file cmsysini.c.
Referenced by CmpCreateObjectTypes().
NTSTATUS NTAPI CmpCmdHiveOpen | ( | IN POBJECT_ATTRIBUTES | FileAttributes, |
IN PSECURITY_CLIENT_CONTEXT | ImpersonationContext, | ||
IN OUT PBOOLEAN | Allocate, | ||
OUT PCMHIVE * | NewHive, | ||
IN ULONG | CheckFlags | ||
) |
Definition at line 276 of file cmlazy.c.
Referenced by CmLoadKey().
Definition at line 233 of file cmlazy.c.
Referenced by NtInitializeRegistry().
VALUE_SEARCH_RETURN_TYPE NTAPI CmpCompareNewValueDataAgainstKCBCache | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb, |
IN PUNICODE_STRING | ValueName, | ||
IN ULONG | Type, | ||
IN PVOID | Data, | ||
IN ULONG | DataSize | ||
) |
Definition at line 700 of file cmvalche.c.
Referenced by CmSetValueKey().
PUNICODE_STRING NTAPI CmpConstructName | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb | ) |
Definition at line 897 of file cmkcbncb.c.
Referenced by CmpQueryKeyName().
HCELL_INDEX NTAPI CmpCopyCell | ( | IN PHHIVE | SourceHive, |
IN HCELL_INDEX | SourceCell, | ||
IN PHHIVE | DestinationHive, | ||
IN HSTORAGE_TYPE | StorageType | ||
) |
Definition at line 376 of file cmvalue.c.
Referenced by CmpCopyValue(), and CmpDeepCopyKeyInternal().
NTSTATUS NTAPI CmpCreateEvent | ( | IN EVENT_TYPE | EventType, |
OUT PHANDLE | EventHandle, | ||
OUT PKEVENT * | Event | ||
) |
Definition at line 19 of file cmwraprs.c.
Referenced by CmpOpenHiveFiles().
PCM_KEY_CONTROL_BLOCK NTAPI CmpCreateKeyControlBlock | ( | IN PHHIVE | Hive, |
IN HCELL_INDEX | Index, | ||
IN PCM_KEY_NODE | Node, | ||
IN PCM_KEY_CONTROL_BLOCK | Parent, | ||
IN ULONG | Flags, | ||
IN PUNICODE_STRING | KeyName | ||
) |
Definition at line 655 of file cmkcbncb.c.
Referenced by CmpCreateRegistryRoot(), CmpDoCreateChild(), CmpDoOpen(), and CmpParseKey().
NTSTATUS NTAPI CmpCreateLinkNode | ( | IN PHHIVE | Hive, |
IN HCELL_INDEX | Cell, | ||
IN PACCESS_STATE | AccessState, | ||
IN UNICODE_STRING | Name, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
IN ULONG | CreateOptions, | ||
IN PCM_PARSE_CONTEXT | Context, | ||
IN PCM_KEY_CONTROL_BLOCK | ParentKcb, | ||
IN PULONG | KcbsLocked, | ||
OUT PVOID * | Object | ||
) |
Definition at line 830 of file cmparse.c.
Referenced by CmpParseKey().
NTSTATUS NTAPI CmpDeepCopyKey | ( | IN PHHIVE | SourceHive, |
IN HCELL_INDEX | SrcKeyCell, | ||
IN PHHIVE | DestinationHive, | ||
IN HSTORAGE_TYPE | StorageType, | ||
OUT PHCELL_INDEX DestKeyCell | OPTIONAL | ||
) |
Definition at line 2632 of file cmapi.c.
Referenced by CmSaveKey(), and CmSaveMergedKeys().
VOID NTAPI CmpDelayDerefKeyControlBlock | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb | ) |
Definition at line 286 of file cmdelay.c.
Referenced by CmpCleanUpKcbCacheWithLock(), CmpCleanUpKcbValueCache(), and CmpDeleteKeyObject().
VOID NTAPI CmpDereferenceKeyControlBlock | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb | ) |
Definition at line 571 of file cmkcbncb.c.
Referenced by CmpLookInCache(), and CmpParseKey().
VOID NTAPI CmpDereferenceKeyControlBlockWithLock | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb, |
IN BOOLEAN | LockHeldExclusively | ||
) |
Definition at line 606 of file cmkcbncb.c.
Referenced by CmpCleanUpKcbCacheWithLock(), CmpCreateKeyControlBlock(), CmpDereferenceKeyControlBlock(), CmpDoOpen(), and CmpParseKey().
Definition at line 242 of file cminit.c.
Referenced by CmLoadKey(), CmpHasAlternateHiveDiverged(), CmSaveKey(), and CmSaveMergedKeys().
Definition at line 35 of file cmmapvw.c.
Referenced by CmpDestroyHive(), and CmUnloadKey().
Definition at line 41 of file cmsecach.c.
Referenced by CmpDestroyHive(), and CmUnloadKey().
NTSTATUS NTAPI CmpDoCreate | ( | IN PHHIVE | Hive, |
IN HCELL_INDEX | Cell, | ||
IN PACCESS_STATE | AccessState, | ||
IN PUNICODE_STRING | Name, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
IN PCM_PARSE_CONTEXT | Context, | ||
IN PCM_KEY_CONTROL_BLOCK | ParentKcb, | ||
OUT PVOID * | Object | ||
) |
Definition at line 404 of file cmparse.c.
Referenced by CmpParseKey().
Definition at line 81 of file cmapi.c.
Referenced by CmFlushKey(), CmpUnlockRegistry(), and CmShutdownSystem().
ULONG NTAPI CmpEnumerateOpenSubKeys | ( | _In_ PCM_KEY_CONTROL_BLOCK | RootKcb, |
_In_ BOOLEAN | RemoveEmptyCacheEntries, | ||
_In_ BOOLEAN | DereferenceOpenedEntries | ||
) |
Definition at line 2339 of file cmapi.c.
Referenced by CmUnloadKey(), and NtQueryOpenSubKeys().
BOOLEAN NTAPI CmpFileFlush | ( | IN PHHIVE | RegistryHive, |
IN ULONG | FileType, | ||
IN OUT PLARGE_INTEGER | FileOffset, | ||
IN ULONG | Length | ||
) |
Definition at line 192 of file cmwraprs.c.
Referenced by CmpInitializeHive().
BOOLEAN NTAPI CmpFileRead | ( | IN PHHIVE | RegistryHive, |
IN ULONG | FileType, | ||
IN OUT PULONG | FileOffset, | ||
OUT PVOID | Buffer, | ||
IN SIZE_T | BufferLength | ||
) |
BOOLEAN NTAPI CmpFileSetSize | ( | _In_ PHHIVE | RegistryHive, |
_In_ ULONG | FileType, | ||
_In_ ULONG | FileSize, | ||
_In_ ULONG | OldFileSize | ||
) |
Definition at line 132 of file cmwraprs.c.
Referenced by CmpInitializeHive().
BOOLEAN NTAPI CmpFileWrite | ( | IN PHHIVE | RegistryHive, |
IN ULONG | FileType, | ||
IN OUT PULONG | FileOffset, | ||
IN PVOID | Buffer, | ||
IN SIZE_T | BufferLength | ||
) |
VALUE_SEARCH_RETURN_TYPE NTAPI CmpFindValueByNameFromCache | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb, |
IN PCUNICODE_STRING | Name, | ||
OUT PCM_CACHED_VALUE ** | CachedValue, | ||
OUT ULONG * | Index, | ||
OUT PCM_KEY_VALUE * | Value, | ||
OUT BOOLEAN * | ValueIsCached, | ||
OUT PHCELL_INDEX | CellToRelease | ||
) |
Definition at line 194 of file cmvalche.c.
Referenced by CmpCompareNewValueDataAgainstKCBCache(), and CmQueryValueKey().
Definition at line 1368 of file cmkcbncb.c.
Referenced by CmDeleteKey(), CmpEnumerateOpenSubKeys(), and CmUnloadKey().
Definition at line 30 of file cmnotify.c.
Referenced by CmpFlushNotifiesOnKeyBodyList().
Definition at line 60 of file registry.c.
Definition at line 267 of file cmalloc.c.
Referenced by _Function_class_(), and CmpRemoveFromDelayedClose().
VOID NTAPI CmpFreeKeyControlBlock | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb | ) |
Definition at line 53 of file cmalloc.c.
Referenced by CmpCleanUpKcbCacheWithLock(), and CmpCreateKeyControlBlock().
Definition at line 24 of file cmhvlist.c.
Referenced by CmpAddToHiveFileList(), and CmpRemoveFromHiveFileList().
BOOLEAN NTAPI CmpGetNextName | ( | IN OUT PUNICODE_STRING | RemainingName, |
OUT PUNICODE_STRING | NextName, | ||
OUT PBOOLEAN | LastName | ||
) |
Definition at line 21 of file cmparse.c.
Referenced by CmpParseKey(), and CmpWalkPath().
VALUE_SEARCH_RETURN_TYPE NTAPI CmpGetValueKeyFromCache | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb, |
IN PCELL_DATA | CellData, | ||
IN ULONG | Index, | ||
OUT PCM_CACHED_VALUE ** | CachedValue, | ||
OUT PCM_KEY_VALUE * | Value, | ||
IN BOOLEAN | IndexIsCached, | ||
OUT BOOLEAN * | ValueIsCached, | ||
OUT PHCELL_INDEX | CellToRelease | ||
) |
Definition at line 96 of file cmvalche.c.
Referenced by CmEnumerateValueKey(), and CmpFindValueByNameFromCache().
VALUE_SEARCH_RETURN_TYPE NTAPI CmpGetValueListFromCache | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb, |
OUT PCELL_DATA * | CellData, | ||
OUT BOOLEAN * | IndexIsCached, | ||
OUT PHCELL_INDEX | ValueListToRelease | ||
) |
Definition at line 44 of file cmvalche.c.
Referenced by CmEnumerateValueKey(), and CmpFindValueByNameFromCache().
PSECURITY_DESCRIPTOR NTAPI CmpHiveRootSecurityDescriptor | ( | VOID | ) |
Definition at line 21 of file cmse.c.
Referenced by CmInitSystem1(), CmpCreateRegistryRoot(), CmpInitializeHiveList(), and CmpInitializeSystemHive().
Definition at line 38 of file cmhook.c.
Referenced by CmInitSystem1().
Definition at line 29 of file cmalloc.c.
Referenced by CmInitSystem1().
Definition at line 44 of file cmalloc.c.
Referenced by CmInitSystem1().
Definition at line 268 of file cmdelay.c.
Referenced by CmInitSystem1().
NTSTATUS NTAPI CmpInitHiveFromFile | ( | IN PCUNICODE_STRING | HiveName, |
IN ULONG | HiveFlags, | ||
OUT PCMHIVE * | Hive, | ||
IN OUT PBOOLEAN | New, | ||
IN ULONG | CheckFlags | ||
) |
Definition at line 289 of file cmsysini.c.
Referenced by _Function_class_(), and CmpCmdHiveOpen().
Definition at line 21 of file cmmapvw.c.
Referenced by CmGetSystemControlValues(), and CmpInitializeHive().
Definition at line 26 of file cmkcbncb.c.
Referenced by CmInitSystem1().
Definition at line 191 of file cmdelay.c.
Referenced by CmpInitializeCache().
NTSTATUS NTAPI CmpInitializeHardwareConfiguration | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock | ) |
Definition at line 329 of file cmconfig.c.
Referenced by CmInitSystem1().
NTSTATUS NTAPI CmpInitializeHive | ( | _Out_ PCMHIVE * | CmHive, |
_In_ ULONG | OperationType, | ||
_In_ ULONG | HiveFlags, | ||
_In_ ULONG | FileType, | ||
_In_opt_ PVOID | HiveData, | ||
_In_ HANDLE | Primary, | ||
_In_ HANDLE | Log, | ||
_In_ HANDLE | External, | ||
_In_ HANDLE | Alternate, | ||
_In_opt_ PCUNICODE_STRING | FileName, | ||
_In_ ULONG | CheckFlags | ||
) |
Definition at line 19 of file cminit.c.
Referenced by CmInitSystem1(), CmpHasAlternateHiveDiverged(), CmpInitHiveFromFile(), CmpInitializeSystemHive(), CmSaveKey(), and CmSaveMergedKeys().
Definition at line 1467 of file cmsysini.c.
Referenced by CmpCmdInit().
NTSTATUS NTAPI CmpInitializeMachineDependentConfiguration | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock | ) |
Definition at line 21 of file cmhardwr.c.
Referenced by CmInitSystem1().
NTSTATUS NTAPI CmpInitializeRegistryNode | ( | IN PCONFIGURATION_COMPONENT_DATA | CurrentEntry, |
IN HANDLE | NodeHandle, | ||
OUT PHANDLE | NewHandle, | ||
IN INTERFACE_TYPE | InterfaceType, | ||
IN ULONG | BusNumber, | ||
IN PUSHORT | DeviceIndexTable | ||
) |
Definition at line 20 of file cmconfig.c.
Referenced by CmpInitializeMachineDependentConfiguration(), and CmpSetupConfigurationTree().
Definition at line 21 of file cmsecach.c.
Referenced by CmGetSystemControlValues(), and CmpInitializeHive().
Definition at line 157 of file cmlazy.c.
NTSTATUS NTAPI CmpLinkHiveToMaster | ( | IN PUNICODE_STRING | LinkName, |
IN HANDLE | RootDirectory, | ||
IN PCMHIVE | CmHive, | ||
IN BOOLEAN | Allocate, | ||
IN PSECURITY_DESCRIPTOR | SecurityDescriptor | ||
) |
Definition at line 802 of file cmsysini.c.
Referenced by CmInitSystem1(), CmLoadKey(), CmpInitializeHiveList(), and CmpInitializeSystemHive().
Definition at line 2006 of file cmsysini.c.
Referenced by CmFlushKey(), CmLoadKey(), CmpDoFlushAll(), and CmpUnlinkHiveFromMaster().
Definition at line 2017 of file cmsysini.c.
Referenced by CmDeleteKey(), CmDeleteValueKey(), CmpCreateLinkNode(), CmpDoCreate(), and CmSetValueKey().
Definition at line 1970 of file cmsysini.c.
Referenced by _Function_class_(), CmDeleteKey(), CmDeleteValueKey(), CmEnumerateKey(), CmEnumerateValueKey(), CmLoadKey(), CmpBuildHashStackAndLookupCache(), CmpDeleteKeyObject(), CmpQueryKeyName(), CmpSecurityMethod(), CmQueryKey(), CmQueryValueKey(), CmSaveKey(), CmSaveMergedKeys(), CmSetValueKey(), and NtFlushKey().
Definition at line 1957 of file cmsysini.c.
Referenced by _Function_class_(), CmGetSystemDriverList(), CmLoadKey(), CmShutdownSystem(), NtInitializeRegistry(), NtQueryOpenSubKeys(), and NtUnloadKey2().
NTSTATUS NTAPI CmpOpenHiveFiles | ( | IN PCUNICODE_STRING | BaseName, |
IN PCWSTR Extension | OPTIONAL, | ||
OUT PHANDLE | Primary, | ||
OUT PHANDLE | Log, | ||
OUT PULONG | PrimaryDisposition, | ||
OUT PULONG | LogDisposition, | ||
IN BOOLEAN | CreateAllowed, | ||
IN BOOLEAN | MarkAsSystemHive, | ||
IN BOOLEAN | NoBuffering, | ||
OUT PULONG ClusterSize | OPTIONAL | ||
) |
Definition at line 273 of file cminit.c.
Referenced by _Function_class_(), and CmpInitHiveFromFile().
NTSTATUS NTAPI CmpParseKey | ( | IN PVOID | ParseObject, |
IN PVOID | ObjectType, | ||
IN OUT PACCESS_STATE | AccessState, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
IN ULONG | Attributes, | ||
IN OUT PUNICODE_STRING | CompleteName, | ||
IN OUT PUNICODE_STRING | RemainingName, | ||
IN OUT PVOID Context | OPTIONAL, | ||
IN PSECURITY_QUALITY_OF_SERVICE SecurityQos | OPTIONAL, | ||
OUT PVOID * | Object | ||
) |
Definition at line 1848 of file cmparse.c.
Referenced by CmpCreateObjectTypes().
NTSTATUS NTAPI CmpQueryKeyName | ( | IN PVOID | Object, |
IN BOOLEAN | HasObjectName, | ||
OUT POBJECT_NAME_INFORMATION | ObjectNameInfo, | ||
IN ULONG | Length, | ||
OUT PULONG | ReturnLength, | ||
IN KPROCESSOR_MODE | AccessMode | ||
) |
VALUE_SEARCH_RETURN_TYPE NTAPI CmpQueryKeyValueData | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb, |
IN PCM_CACHED_VALUE * | CachedValue, | ||
IN PCM_KEY_VALUE | ValueKey, | ||
IN BOOLEAN | ValueIsCached, | ||
IN KEY_VALUE_INFORMATION_CLASS | KeyValueInformationClass, | ||
IN PVOID | KeyValueInformation, | ||
IN ULONG | Length, | ||
OUT PULONG | ResultLength, | ||
OUT PNTSTATUS | Status | ||
) |
Definition at line 327 of file cmvalche.c.
Referenced by CmEnumerateValueKey(), and CmQueryValueKey().
BOOLEAN NTAPI CmpReferenceKeyControlBlock | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb | ) |
Definition at line 357 of file cmkcbncb.c.
Referenced by CmpBuildHashStackAndLookupCache(), CmpCreateKeyControlBlock(), CmpDoOpen(), and CmpLookInCache().
Definition at line 2108 of file cmsysini.c.
Referenced by CmDeleteKey(), and CmpCreateKeyControlBlock().
VOID NTAPI CmpRemoveFromDelayedClose | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb | ) |
Definition at line 425 of file cmdelay.c.
Referenced by CmpEnumerateOpenSubKeys(), CmpLookInCache(), and CmpReferenceKeyControlBlock().
Definition at line 254 of file cmhvlist.c.
Referenced by CmUnloadKey().
VOID NTAPI CmpRemoveKeyControlBlock | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb | ) |
Definition at line 306 of file cmkcbncb.c.
Referenced by CmDeleteKey(), CmpCleanUpKcbCacheWithLock(), CmpCreateKeyControlBlock(), CmpDoCreate(), CmpEnumerateOpenSubKeys(), CmpLookInCache(), and CmUnloadKey().
VOID NTAPI CmpReportNotify | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb, |
IN PHHIVE | Hive, | ||
IN HCELL_INDEX | Cell, | ||
IN ULONG | Filter | ||
) |
Definition at line 19 of file cmnotify.c.
Referenced by CmDeleteKey(), CmDeleteValueKey(), CmpDoCreateChild(), and CmSetValueKey().
Definition at line 267 of file cmcontrl.c.
Referenced by NtInitializeRegistry().
NTSTATUS NTAPI CmpSecurityMethod | ( | IN PVOID | Object, |
IN SECURITY_OPERATION_CODE | OperationType, | ||
IN PSECURITY_INFORMATION | SecurityInformation, | ||
IN PSECURITY_DESCRIPTOR | SecurityDescriptor, | ||
IN OUT PULONG | CapturedLength, | ||
IN OUT PSECURITY_DESCRIPTOR * | ObjectSecurityDescriptor, | ||
IN POOL_TYPE | PoolType, | ||
IN PGENERIC_MAPPING | GenericMapping | ||
) |
Definition at line 22 of file cmquota.c.
Referenced by CmLoadKey().
Definition at line 2182 of file cmsysini.c.
Referenced by NtInitializeRegistry().
Definition at line 437 of file cmlazy.c.
Referenced by CmShutdownSystem().
Definition at line 2048 of file cmsysini.c.
Definition at line 2040 of file cmsysini.c.
Definition at line 1990 of file cmsysini.c.
Definition at line 1998 of file cmsysini.c.
Referenced by CmFlushKey(), and CmpReleaseTwoKcbLockByKey().
Definition at line 2028 of file cmsysini.c.
Referenced by CmDeleteKey(), CmDeleteValueKey(), CmFlushKey(), CmLoadKey(), CmpCreateLinkNode(), CmpDoCreate(), CmpDoFlushAll(), CmpUnlinkHiveFromMaster(), and CmSetValueKey().
Unlocks a number of KCBs provided by a KCB array.
[in] | KcbArray | A pointer to an array of KCBs to be unlocked. |
Definition at line 1145 of file cmkcbncb.c.
Referenced by CmpDoOpen(), CmpLookInCache(), and CmpParseKey().
Definition at line 2056 of file cmsysini.c.
Referenced by _Function_class_(), CmDeleteKey(), CmDeleteValueKey(), CmEnumerateKey(), CmEnumerateValueKey(), CmGetSystemDriverList(), CmLoadKey(), CmpDeleteKeyObject(), CmpParseKey(), CmpQueryKeyName(), CmpSecurityMethod(), CmQueryKey(), CmQueryValueKey(), CmSaveKey(), CmSaveMergedKeys(), CmSetValueKey(), CmShutdownSystem(), CmUnloadKey(), NtFlushKey(), NtInitializeRegistry(), NtQueryOpenSubKeys(), and NtUnloadKey2().
NTSTATUS NTAPI CmQueryKey | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb, |
IN KEY_INFORMATION_CLASS | KeyInformationClass, | ||
IN PVOID | KeyInformation, | ||
IN ULONG | Length, | ||
IN PULONG | ResultLength | ||
) |
NTSTATUS NTAPI CmQueryValueKey | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb, |
IN UNICODE_STRING | ValueName, | ||
IN KEY_VALUE_INFORMATION_CLASS | KeyValueInformationClass, | ||
IN PVOID | KeyValueInformation, | ||
IN ULONG | Length, | ||
IN PULONG | ResultLength | ||
) |
Definition at line 1074 of file cmapi.c.
Referenced by NtQueryValueKey().
Definition at line 2649 of file cmapi.c.
Referenced by NtSaveKeyEx().
NTSTATUS NTAPI CmSaveMergedKeys | ( | IN PCM_KEY_CONTROL_BLOCK | HighKcb, |
IN PCM_KEY_CONTROL_BLOCK | LowKcb, | ||
IN HANDLE | FileHandle | ||
) |
Definition at line 2743 of file cmapi.c.
Referenced by NtSaveMergedKeys().
Definition at line 446 of file cmlazy.c.
Referenced by NtSetSystemPowerState().
NTSTATUS NTAPI CmSetValueKey | ( | IN PCM_KEY_CONTROL_BLOCK | Kcb, |
IN PUNICODE_STRING | ValueName, | ||
IN ULONG | Type, | ||
IN PVOID | Data, | ||
IN ULONG | DataSize | ||
) |
Definition at line 643 of file cmapi.c.
Referenced by NtSetValueKey().
Definition at line 2146 of file cmsysini.c.
Referenced by PopGracefulShutdown().
NOTE: The following code is mostly equivalent to what we "call" CmpDestroyHive()
Definition at line 2209 of file cmapi.c.
Referenced by NtUnloadKey2().
Definition at line 1100 of file cmkcbncb.c.
Referenced by CmpDeleteKeyObject().
Definition at line 1042 of file cmkcbncb.c.
Referenced by CmpCreateRegistryRoot(), CmpDoCreateChild(), and CmpDoOpen().
|
extern |
|
extern |
Definition at line 34 of file cmdata.c.
Referenced by CmGetSystemControlValues().
|
extern |
Referenced by ExpInitializeExecutive().
|
extern |
Definition at line 22 of file cmdata.c.
Referenced by CmGetSystemControlValues().
|
extern |
Definition at line 23 of file cmdata.c.
Referenced by CmGetSystemControlValues().
|
extern |
Definition at line 24 of file cmdata.c.
Referenced by CmGetSystemControlValues().
|
extern |
|
extern |
Definition at line 26 of file cmdata.c.
Referenced by CmGetSystemControlValues().
|
extern |
Definition at line 27 of file cmdata.c.
Referenced by CmGetSystemControlValues().
|
extern |
Definition at line 28 of file cmdata.c.
Referenced by CmGetSystemControlValues().
|
extern |
Definition at line 16 of file cmsysini.c.
|
extern |
Definition at line 19 of file cmdata.c.
Referenced by ExpInitializeExecutive().
|
extern |
Definition at line 18 of file cmkcbncb.c.
Referenced by CmpAcquireKcbLockExclusiveByIndex(), CmpEnumerateOpenSubKeys(), CmpInitializeCache(), CmpInsertKeyHash(), CmpLookInCache(), CmpReleaseKcbLockByIndex(), CmpReleaseTwoKcbLockByKey(), CmpRemoveKeyHash(), and CmpTryToConvertKcbSharedToExclusive().
|
extern |
Definition at line 36 of file cmdata.c.
Referenced by CmpInitializeHardwareConfiguration(), CmpInitializeMachineDependentConfiguration(), and CmpInitializeRegistryNode().
|
extern |
Definition at line 37 of file cmdata.c.
Referenced by CmpInitializeHardwareConfiguration(), CmpInitializeMachineDependentConfiguration(), and CmpInitializeRegistryNode().
|
extern |
Definition at line 19 of file cmdelay.c.
Referenced by _Function_class_(), CmpAddToDelayedClose(), CmpCreateKeyControlBlock(), CmpReferenceKeyControlBlock(), and CmpRemoveFromDelayedClose().
|
extern |
Definition at line 21 of file cmdelay.c.
Referenced by _Function_class_(), CmpAddToDelayedClose(), CmpInitializeDelayedCloseTable(), and CmpRemoveFromDelayedClose().
|
extern |
Definition at line 25 of file cmsysini.c.
Referenced by CmpUnlockRegistry().
|
extern |
Definition at line 22 of file cmlazy.c.
Referenced by _Function_class_(), and CmpDoFlushAll().
|
extern |
Definition at line 17 of file cmkcbncb.c.
Referenced by CmpEnumerateOpenSubKeys(), and CmpInitializeCache().
|
extern |
Definition at line 17 of file cmsysini.c.
Referenced by CmInitSystem1(), CmpDoFlushAll(), CmpDoFlushNextHive(), CmpInitializeHive(), and CmShutdownSystem().
|
extern |
Definition at line 39 of file cmdata.c.
Referenced by CmInitSystem1(), CmpDestroyHive(), CmpDoFlushAll(), CmpDoFlushNextHive(), CmpInitializeHive(), and CmpUnlinkHiveFromMaster().
|
extern |
Definition at line 23 of file cmlazy.c.
Referenced by _Function_class_(), CmpCmdInit(), CmpDereferenceKeyControlBlockWithLock(), CmpLazyFlush(), CmSetLazyFlushState(), and NtInitializeRegistry().
|
extern |
Definition at line 15 of file cmsysini.c.
Referenced by CmGetSystemDriverList(), CmpCreateObjectTypes(), CmpCreateRegistryRoot(), and CmpLinkHiveToMaster().
EX_PUSH_LOCK CmpLoadHiveLock |
|
extern |
Definition at line 55 of file cmdata.c.
Referenced by CmInitSystem1(), CmpInitializeSystemHive(), and CmpSetSystemValues().
|
extern |
Definition at line 41 of file cmdata.c.
Referenced by _Function_class_(), CmInitSystem1(), CmpInitializeHiveList(), and CmpInitializeSystemHive().
|
extern |
Definition at line 60 of file cmdata.c.
Referenced by CmInitSystem1(), CmpCmdInit(), and CmpOpenHiveFiles().
|
extern |
Referenced by CmpSetupConfigurationTree().
|
extern |
Definition at line 19 of file cmkcbncb.c.
Referenced by CmpDereferenceNameControlBlockWithLock(), CmpGetNameControlBlock(), and CmpInitializeCache().
|
extern |
Definition at line 34 of file cmsysini.c.
Referenced by CmInitSystem1(), CmpInitializeHiveList(), and CmpParseKey().
|
extern |
Definition at line 30 of file cmsysini.c.
Referenced by CmFlushKey(), CmpCmdInit(), CmpDoFlushAll(), CmpDoFlushNextHive(), CmpFileFlush(), CmpFileWrite(), CmpInitializeHiveList(), and CmpLazyFlush().
|
extern |
Definition at line 33 of file cmsysini.c.
Referenced by CmLoadKey().
|
extern |
Definition at line 18 of file cmsysini.c.
Referenced by CmInitSystem1(), CmpLockRegistry(), CmpLockRegistryExclusive(), CmpTestRegistryLock(), CmpTestRegistryLockExclusive(), and CmpUnlockRegistry().
|
extern |
Definition at line 69 of file cmdata.c.
Referenced by CmpCreateRegistryRoot().
|
extern |
Definition at line 58 of file cmdata.c.
Referenced by _Function_class_(), CmInitSystem1(), CmpCmdInit(), CmpInitHiveFromFile(), CmpInitializeHive(), CmpInitializeHiveList(), CmpInitializeSystemHive(), and CmpOpenHiveFiles().
|
extern |
Definition at line 26 of file cmsysini.c.
Referenced by CmFlushKey(), and CmpInitializeHiveList().
|
extern |
|
extern |
Definition at line 35 of file cmsysini.c.
|
extern |
Definition at line 67 of file cmdata.c.
Referenced by CmpSetupConfigurationTree().
|
extern |
Definition at line 66 of file cmdata.c.
Referenced by CmpSetupConfigurationTree().
|
extern |
Definition at line 32 of file cmsysini.c.
Referenced by CmLoadKey(), and CmpCmdInit().
|
extern |
Definition at line 63 of file cmdata.c.
Referenced by CmpInitializeSystemHive().
|
extern |
Definition at line 52 of file cmdata.c.
Referenced by CmpCreateControlSet(), CmpGetSymbolicLink(), CmpLinkKeyToHive(), and CmSetValueKey().
|
extern |
Referenced by CmpInitializeRegistryNode().
|
extern |
Definition at line 69 of file init.c.
Referenced by CmpGetRegistryPath(), DisplayBootBitmap(), and ExpInitializeExecutive().
|
extern |
Definition at line 36 of file cmsysini.c.
Referenced by CmpInitHiveFromFile(), and CmShutdownSystem().
|
extern |
Definition at line 72 of file init.c.
Referenced by CmInitSystem1(), and Phase1InitializationDiscard().
|
extern |
Definition at line 25 of file locale.c.
Referenced by CmGetSystemControlValues().
|
extern |
Definition at line 21 of file locale.c.
Referenced by CmGetSystemControlValues(), NtQueryDefaultUILanguage(), and NtQueryInstallUILanguage().