ReactOS 0.4.16-dev-41-ge8c7597
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Functions | |
VOID FASTCALL | KeInitializeGuardedMutex (OUT PKGUARDED_MUTEX GuardedMutex) |
VOID FASTCALL | KeAcquireGuardedMutex (IN PKGUARDED_MUTEX GuardedMutex) |
VOID FASTCALL | KeReleaseGuardedMutex (IN OUT PKGUARDED_MUTEX GuardedMutex) |
VOID FASTCALL | KeAcquireGuardedMutexUnsafe (IN OUT PKGUARDED_MUTEX GuardedMutex) |
VOID FASTCALL | KeReleaseGuardedMutexUnsafe (IN OUT PKGUARDED_MUTEX GuardedMutex) |
BOOLEAN FASTCALL | KeTryToAcquireGuardedMutex (IN OUT PKGUARDED_MUTEX GuardedMutex) |
KeEnterGuardedRegion | |
Enters a guarded region. This causes all (incl. special kernel) APCs to be disabled. | |
VOID NTAPI | _KeEnterGuardedRegion (VOID) |
KeLeaveGuardedRegion | |
Leaves a guarded region and delivers pending APCs if possible. | |
VOID NTAPI | _KeLeaveGuardedRegion (VOID) |
VOID FASTCALL KeAcquireGuardedMutex | ( | IN PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 42 of file gmutex.c.
Referenced by _Function_class_(), _Requires_lock_held_(), CcFlushCache(), ClasspEnableIdlePower(), CmFlushKey(), CmpAddToDelayedClose(), CmpAllocateDelayItem(), CmpAllocateKeyControlBlock(), CmpDelayDerefKeyControlBlock(), CmpFreeDelayItem(), CmpFreeKeyControlBlock(), CmpRemoveFromDelayedClose(), EnumerateDevices(), ExLockPool(), FsRtlAddLargeMcbEntry(), FsRtlGetNextLargeMcbEntry(), FsRtlLookupLargeMcbEntry(), FsRtlLookupLastLargeMcbEntry(), FsRtlLookupLastLargeMcbEntryAndIndex(), FsRtlNumberOfRunsInLargeMcb(), FsRtlRemoveLargeMcbEntry(), FsRtlResetLargeMcb(), FsRtlSplitLargeMcb(), FsRtlTruncateLargeMcb(), IoRegisterPlugPlayNotification(), IoUnregisterPlugPlayNotification(), LpcExitThread(), LpcpAllocateFromPortZone(), LpcpCopyRequestData(), LpcpDeletePort(), LpcpDestroyPortQueue(), LpcpFreeConMsg(), LpcpFreeToPortZone(), LpcpSaveDataInfoMessage(), LpcRequestPort(), LpcRequestWaitReplyPort(), MiAllocatePoolPages(), MiDeleteARM3Section(), MiFreePoolPages(), MiInitializePoolEvents(), MiInsertInSystemSpace(), MiInsertVadEx(), MiMapViewOfDataSection(), MiReleaseProcessReferenceToSessionDataPage(), MiSessionCreateInternal(), MiUnmapViewInSystemSpace(), MmAllocSwapPage(), MmCommitSessionMappedView(), MmCreateArm3Section(), MmDeleteTeb(), MmFreeSwapPage(), MmLockAddressSpace(), NtAcceptConnectPort(), NtCompleteConnectPort(), NtCreatePagingFile(), NtImpersonateClientOfPort(), NtReplyPort(), NtReplyWaitReceivePortEx(), NtRequestPort(), NtRequestWaitReplyPort(), NtSecureConnectPort(), ObDereferenceDeviceMap(), ObfDereferenceDeviceMap(), ObInheritDeviceMap(), ObpGetShadowDirectory(), ObpProcessDosDeviceSymbolicLink(), ObpReferenceDeviceMap(), ObpSetCurrentProcessDeviceMap(), ObQueryDeviceMapInformation(), ObSetDeviceMap(), ObSetDirectoryDeviceMap(), PiNotifyDeviceInterfaceChange(), PiNotifyHardwareProfileChange(), PiNotifyTargetDeviceChange(), PnpRootCreateDevice(), PnpRootPdoPnpControl(), PnpRootQueryDeviceRelations(), PnpRootRegisterDevice(), PopFlushVolumes(), PopFlushVolumeWorker(), PopProcessShutDownLists(), PoQueueShutdownWorkItem(), PoRemoveVolumeDevice(), PoRequestShutdownWait(), PoVolumeDevice(), PsGetNextProcess(), PspCreateProcess(), PspDeleteProcess(), SeGetLogonIdDeviceMap(), SeMarkLogonSessionForTerminationNotification(), SepRmCreateLogonSession(), SepRmDeleteLogonSession(), SepRmDereferenceLogonSession(), SepRmInsertLogonSessionIntoToken(), SepRmReferenceLogonSession(), SepRmRemoveLogonSessionFromToken(), SeRegisterLogonSessionTerminatedRoutine(), and SeUnregisterLogonSessionTerminatedRoutine().
VOID FASTCALL KeAcquireGuardedMutexUnsafe | ( | IN OUT PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 64 of file gmutex.c.
Referenced by MmCommitSessionMappedView(), NtAllocateVirtualMemory(), and NtQueryInformationJobObject().
VOID FASTCALL KeInitializeGuardedMutex | ( | OUT PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 31 of file gmutex.c.
Referenced by _IRQL_requires_max_(), CcRosInitializeFileCache(), CmInitSystem1(), CmpInitCmPrivateAlloc(), CmpInitCmPrivateDelayAlloc(), CmpInitDelayDerefKCBEngine(), CmpInitializeDelayedCloseTable(), CmpInitializeHive(), FsRtlInitializeLargeMcb(), InitializePool(), LpcInitSystem(), MiInitializeSessionIds(), MiInitializeSessionPool(), MiInitializeSystemSpaceMap(), MmArmInitSystem(), MmInitializeHandBuiltProcess(), MmInitializeProcessAddressSpace(), MmInitPagingFile(), NtCreateJobObject(), ObInitSystem(), PiInitializeNotifications(), PnpRootInitializeDevExtension(), PoInitSystem(), PopInitShutdownList(), PpInitializeDeviceReferenceTable(), PspInitPhase0(), and SeRmInitPhase0().
VOID FASTCALL KeReleaseGuardedMutex | ( | IN OUT PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 53 of file gmutex.c.
Referenced by _Function_class_(), _Requires_lock_held_(), CcFlushCache(), ClasspEnableIdlePower(), CmFlushKey(), CmpAddToDelayedClose(), CmpAllocateDelayItem(), CmpAllocateKeyControlBlock(), CmpDelayDerefKeyControlBlock(), CmpFreeDelayItem(), CmpFreeKeyControlBlock(), CmpRemoveFromDelayedClose(), EnumerateDevices(), ExUnlockPool(), FsRtlAddLargeMcbEntry(), FsRtlGetNextLargeMcbEntry(), FsRtlLookupLargeMcbEntry(), FsRtlLookupLastLargeMcbEntry(), FsRtlLookupLastLargeMcbEntryAndIndex(), FsRtlNumberOfRunsInLargeMcb(), FsRtlRemoveLargeMcbEntry(), FsRtlResetLargeMcb(), FsRtlSplitLargeMcb(), FsRtlTruncateLargeMcb(), IoRegisterPlugPlayNotification(), IoUnregisterPlugPlayNotification(), LpcExitThread(), LpcpAllocateFromPortZone(), LpcpCopyRequestData(), LpcpDeletePort(), LpcpDestroyPortQueue(), LpcpFreeConMsg(), LpcpFreeToPortZone(), LpcpSaveDataInfoMessage(), LpcRequestPort(), LpcRequestWaitReplyPort(), MiAllocatePoolPages(), MiDeleteARM3Section(), MiFreePoolPages(), MiInitializePoolEvents(), MiInsertInSystemSpace(), MiInsertVadEx(), MiMapViewOfDataSection(), MiReleaseProcessReferenceToSessionDataPage(), MiSessionCreateInternal(), MiUnmapViewInSystemSpace(), MmAllocSwapPage(), MmCommitSessionMappedView(), MmCreateArm3Section(), MmDeleteTeb(), MmFreeSwapPage(), MmUnlockAddressSpace(), NtAcceptConnectPort(), NtCompleteConnectPort(), NtCreatePagingFile(), NtImpersonateClientOfPort(), NtReplyPort(), NtReplyWaitReceivePortEx(), NtRequestPort(), NtRequestWaitReplyPort(), NtSecureConnectPort(), ObDereferenceDeviceMap(), ObfDereferenceDeviceMap(), ObInheritDeviceMap(), ObpGetShadowDirectory(), ObpProcessDosDeviceSymbolicLink(), ObpReferenceDeviceMap(), ObpSetCurrentProcessDeviceMap(), ObQueryDeviceMapInformation(), ObSetDeviceMap(), ObSetDirectoryDeviceMap(), PiNotifyDeviceInterfaceChange(), PiNotifyHardwareProfileChange(), PiNotifyTargetDeviceChange(), PnpRootCreateDevice(), PnpRootPdoPnpControl(), PnpRootQueryDeviceRelations(), PnpRootRegisterDevice(), PopFlushVolumes(), PopFlushVolumeWorker(), PopProcessShutDownLists(), PoQueueShutdownWorkItem(), PoRemoveVolumeDevice(), PoRequestShutdownWait(), PoVolumeDevice(), PsGetNextProcess(), PspCreateProcess(), PspDeleteProcess(), SeGetLogonIdDeviceMap(), SeMarkLogonSessionForTerminationNotification(), SepRmCreateLogonSession(), SepRmDeleteLogonSession(), SepRmDereferenceLogonSession(), SepRmInsertLogonSessionIntoToken(), SepRmReferenceLogonSession(), SepRmRemoveLogonSessionFromToken(), SeRegisterLogonSessionTerminatedRoutine(), and SeUnregisterLogonSessionTerminatedRoutine().
VOID FASTCALL KeReleaseGuardedMutexUnsafe | ( | IN OUT PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 75 of file gmutex.c.
Referenced by MmCommitSessionMappedView(), NtAllocateVirtualMemory(), and NtQueryInformationJobObject().
BOOLEAN FASTCALL KeTryToAcquireGuardedMutex | ( | IN OUT PKGUARDED_MUTEX | GuardedMutex | ) |
Definition at line 86 of file gmutex.c.
Referenced by _MmTryToLockAddressSpace().