ReactOS 0.4.15-dev-8207-gd73a838
mxlockkm.h File Reference
#include "dbgmacros.h"
#include "mxlock.h"
Include dependency graph for mxlockkm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef KSPIN_LOCK MdLock
 

Functions

 _Acquires_lock_ (this->m_Lock) __drv_maxIRQL(DISPATCH_LEVEL) __drv_setsIRQL(DISPATCH_LEVEL) __inline VOID MxLockNoDynam
 
 _Releases_lock_ (this->m_Lock) __drv_requiresIRQL(DISPATCH_LEVEL) __inline VOID MxLockNoDynam
 

Typedef Documentation

◆ MdLock

typedef KSPIN_LOCK MdLock

Definition at line 28 of file mxlockkm.h.

Function Documentation

◆ _Acquires_lock_()

_Acquires_lock_ ( this->  m_Lock)

Definition at line 51 of file mxlockkm.h.

59{
61
62 KeAcquireSpinLock(&m_Lock, OldIrql);
63}
#define ASSERT_DBGFLAG_INITIALIZED
Definition: dbgmacros.h:58
#define KeAcquireSpinLock(sl, irql)
Definition: env_spec_w32.h:609
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
Definition: kefuncs.h:778

◆ _Releases_lock_()

_Releases_lock_ ( this->  m_Lock)

Definition at line 77 of file mxlockkm.h.

84{
86
87 KeReleaseSpinLock(&m_Lock, NewIrql);
88}
#define KeReleaseSpinLock(sl, irql)
Definition: env_spec_w32.h:627
_Requires_lock_held_ SpinLock _Releases_lock_ SpinLock _In_ _IRQL_restores_ KIRQL NewIrql
Definition: ke.h:114