|
ReactOS 0.4.16-dev-1946-g52006dd
|

Go to the source code of this file.
Functions | |
| _Must_inspect_result_ | __drv_maxIRQL (DISPATCH_LEVEL) NTSTATUS NTAPI WDFEXPORT(WdfSpinLockCreate)(__in PWDF_DRIVER_GLOBALS DriverGlobals |
| if (NT_SUCCESS(FxValidateObjectAttributesForParentHandle(pFxDriverGlobals, SpinLockAttributes))) | |
| FxPointerNotNull (pFxDriverGlobals, SpinLock) | |
| if (!NT_SUCCESS(status)) | |
| if (pFxDriverGlobals->FxVerifierLock) | |
| if (pLock==NULL) | |
| if (NT_SUCCESS(status)) | |
| __drv_raisesIRQL (DISPATCH_LEVEL) __drv_maxIRQL(DISPATCH_LEVEL) VOID NTAPI WDFEXPORT(WdfSpinLockAcquire)(__in PWDF_DRIVER_GLOBALS DriverGlobals | |
| __in __drv_savesIRQL | _Requires_lock_not_held_ (_Curr_) _Acquires_lock_(_Curr_) WDFSPINLOCK SpinLock) |
| __in __drv_restoresIRQL | _Requires_lock_held_ (_Curr_) _Releases_lock_(_Curr_) WDFSPINLOCK SpinLock) |
Variables | |
| _Must_inspect_result_ __in_opt PWDF_OBJECT_ATTRIBUTES | SpinLockAttributes |
| _Must_inspect_result_ __in_opt PWDF_OBJECT_ATTRIBUTES __out WDFSPINLOCK * | SpinLock |
| PFX_DRIVER_GLOBALS | pFxDriverGlobals = GetFxDriverGlobals(DriverGlobals) |
| NTSTATUS | status = FxValidateObjectAttributes(pFxDriverGlobals, SpinLockAttributes) |
| FxSpinLock * | pLock |
| WDFSPINLOCK | lock |
| USHORT | extra |
| else | |
| _Must_inspect_result_ __drv_maxIRQL | ( | DISPATCH_LEVEL | ) |
| __drv_raisesIRQL | ( | DISPATCH_LEVEL | ) |
| __in __drv_restoresIRQL _Requires_lock_held_ | ( | _Curr_ | ) |
Definition at line 156 of file fxspinlockapi.cpp.
| __in __drv_savesIRQL _Requires_lock_not_held_ | ( | _Curr_ | ) |
Definition at line 118 of file fxspinlockapi.cpp.
| FxPointerNotNull | ( | pFxDriverGlobals | , |
| SpinLock | |||
| ) |
| if | ( | ! | NT_SUCCESSstatus | ) |
Definition at line 77 of file fxspinlockapi.cpp.
Definition at line 63 of file fxspinlockapi.cpp.
| if | ( | NT_SUCCESS(status) | ) |
Definition at line 99 of file fxspinlockapi.cpp.
| if | ( | pFxDriverGlobals-> | FxVerifierLock | ) |
Definition at line 81 of file fxspinlockapi.cpp.
Definition at line 93 of file fxspinlockapi.cpp.
| else |
Definition at line 84 of file fxspinlockapi.cpp.
| USHORT extra |
Definition at line 56 of file fxspinlockapi.cpp.
Referenced by if().
| WDFSPINLOCK lock |
Definition at line 55 of file fxspinlockapi.cpp.
Referenced by if().
| pFxDriverGlobals = GetFxDriverGlobals(DriverGlobals) |
Definition at line 52 of file fxspinlockapi.cpp.
Referenced by _Requires_lock_held_(), _Requires_lock_not_held_(), and if().
| FxWaitLock * pLock |
Definition at line 54 of file fxspinlockapi.cpp.
Referenced by _Requires_lock_held_(), _Requires_lock_not_held_(), FreeDescriptorsFromList(), FxVerifierLock::GetThreadTableEntry(), and FxVerifierLock::ReleaseOrReplaceThreadTableEntry().
| * SpinLock |
Definition at line 47 of file fxspinlockapi.cpp.
Definition at line 45 of file fxspinlockapi.cpp.
Definition at line 53 of file fxspinlockapi.cpp.
Referenced by if().