ReactOS 0.4.16-dev-297-gc569aee
mxlockkm.h
Go to the documentation of this file.
1/*++
2
3Copyright (c) Microsoft Corporation
4
5ModuleName:
6
7 MxLockKm.h
8
9Abstract:
10
11 Kernel mode implementation of lock
12 class defined in MxLock.h
13
14Author:
15
16
17
18Revision History:
19
20
21
22--*/
23
24#pragma once
25
26#include "dbgmacros.h"
27
29
30#include "mxlock.h"
31
32__inline
34 )
35{
37
39}
40
41__inline
42VOID
44 )
45{
47
49}
50
51_Acquires_lock_(this->m_Lock)
54__inline
55VOID
56MxLockNoDynam::Acquire(
58 )
59{
61
63}
64
65_Acquires_lock_(this->m_Lock)
67__inline
68VOID
69MxLockNoDynam::AcquireAtDpcLevel(
70 )
71{
73
75}
76
77_Releases_lock_(this->m_Lock)
79__inline
80VOID
81MxLockNoDynam::Release(
83 )
84{
86
88}
89
90_Releases_lock_(this->m_Lock)
92__inline
93VOID
94MxLockNoDynam::ReleaseFromDpcLevel(
95 )
96{
98
100}
101
102__inline
103VOID
105 )
106{
108}
109
110__inline
112 )
113{
115}
MdLock m_Lock
Definition: mxlock.h:40
__inline VOID Uninitialize()
Definition: mxlockkm.h:104
__inline VOID Initialize()
Definition: mxlockkm.h:43
__inline MxLock()
Definition: mxlockkm.h:33
__inline ~MxLock()
Definition: mxlockkm.h:111
#define _Acquires_lock_(lock)
#define _Releases_lock_(lock)
#define __out
Definition: dbghelp.h:62
#define ASSERT_DBGFLAG_INITIALIZED
Definition: dbgmacros.h:58
#define SET_DBGFLAG_INITIALIZED
Definition: dbgmacros.h:59
#define CLEAR_DBGFLAG_INITIALIZED
Definition: dbgmacros.h:60
#define __drv_savesIRQL
Definition: driverspecs.h:326
#define __drv_deref(annotes)
Definition: driverspecs.h:265
#define __drv_setsIRQL(irql)
Definition: driverspecs.h:328
#define __drv_restoresIRQL
Definition: driverspecs.h:322
#define __drv_requiresIRQL(irql)
Definition: driverspecs.h:321
#define __drv_maxIRQL(irql)
Definition: driverspecs.h:291
UCHAR KIRQL
Definition: env_spec_w32.h:591
ULONG KSPIN_LOCK
Definition: env_spec_w32.h:72
#define KeReleaseSpinLock(sl, irql)
Definition: env_spec_w32.h:627
#define KeAcquireSpinLock(sl, irql)
Definition: env_spec_w32.h:609
#define DISPATCH_LEVEL
Definition: env_spec_w32.h:696
#define KeInitializeSpinLock(sl)
Definition: env_spec_w32.h:604
KSPIN_LOCK MdLock
Definition: mxlockkm.h:28
#define KeAcquireSpinLockAtDpcLevel(SpinLock)
Definition: ke.h:125
_Requires_lock_held_ SpinLock _Releases_lock_ SpinLock _In_ _IRQL_restores_ KIRQL NewIrql
Definition: ke.h:114
#define KeReleaseSpinLockFromDpcLevel(SpinLock)
Definition: ke.h:135
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
Definition: kefuncs.h:778