ReactOS  r75907
spinlock.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

VOID NTAPI Kii386SpinOnSpinLock (PKSPIN_LOCK SpinLock, ULONG Flags)
 
FORCEINLINE VOID KxAcquireSpinLock (IN PKSPIN_LOCK SpinLock)
 
FORCEINLINE VOID KxReleaseSpinLock (IN PKSPIN_LOCK SpinLock)
 

Function Documentation

VOID NTAPI Kii386SpinOnSpinLock ( PKSPIN_LOCK  SpinLock,
ULONG  Flags 
)
FORCEINLINE VOID KxAcquireSpinLock ( IN PKSPIN_LOCK  SpinLock)

Definition at line 20 of file spinlock.h.

Referenced by _ExiDisableInterruptsAndAcquireSpinlock(), HalpAcquireCmosSpinLock(), KeAcquireInStackQueuedSpinLock(), KeAcquireInStackQueuedSpinLockAtDpcLevel(), KeAcquireInStackQueuedSpinLockRaiseToSynch(), KeAcquireQueuedSpinLock(), KeAcquireQueuedSpinLockAtDpcLevel(), KeAcquireQueuedSpinLockRaiseToSynch(), KeAcquireSpinLockAtDpcLevel(), KeAcquireSpinLockRaiseToDpc(), KeAcquireSpinLockRaiseToSynch(), KefAcquireSpinLockAtDpcLevel(), KiAcquireSpinLock(), KiChainedDispatch(), and KiInterruptDispatch().

21 {
22  /* On UP builds, spinlocks don't exist at IRQL >= DISPATCH */
24 
25  /* Add an explicit memory barrier to prevent the compiler from reordering
26  memory accesses across the borders of spinlocks */
28 }
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:315
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK SpinLock
Definition: iofuncs.h:798
#define KeMemoryBarrierWithoutFence()
Definition: ke.h:66
FORCEINLINE VOID KxReleaseSpinLock ( IN PKSPIN_LOCK  SpinLock)

Definition at line 35 of file spinlock.h.

Referenced by _ExiReleaseSpinLockAndRestoreInterrupts(), HalpReleaseCmosSpinLock(), KefReleaseSpinLockFromDpcLevel(), KeReleaseInStackQueuedSpinLock(), KeReleaseInStackQueuedSpinLockFromDpcLevel(), KeReleaseQueuedSpinLock(), KeReleaseQueuedSpinLockFromDpcLevel(), KeReleaseSpinLock(), KeReleaseSpinLockFromDpcLevel(), KiChainedDispatch(), KiInterruptDispatch(), and KiReleaseSpinLock().

36 {
37  /* On UP builds, spinlocks don't exist at IRQL >= DISPATCH */
39 
40  /* Add an explicit memory barrier to prevent the compiler from reordering
41  memory accesses across the borders of spinlocks */
43 }
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:315
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK SpinLock
Definition: iofuncs.h:798
#define KeMemoryBarrierWithoutFence()
Definition: ke.h:66