ReactOS
0.4.15-dev-1636-gf634010
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | LQ_WAIT 1 |
#define | LQ_OWN 2 |
#define LQ_OWN 2 |
Definition at line 16 of file spinlock.c.
#define LQ_WAIT 1 |
Definition at line 15 of file spinlock.c.
#define NDEBUG |
Definition at line 12 of file spinlock.c.
VOID NTAPI _KeInitializeSpinLock | ( | IN PKSPIN_LOCK | SpinLock | ) |
Definition at line 180 of file spinlock.c.
VOID FASTCALL KeAcquireInStackQueuedSpinLockAtDpcLevel | ( | IN PKSPIN_LOCK | SpinLock, |
IN PKLOCK_QUEUE_HANDLE | LockHandle | ||
) |
Definition at line 337 of file spinlock.c.
Referenced by KiAcquireApcLockAtSynchLevel(), and KiAcquireDeviceQueueLock().
VOID FASTCALL KeAcquireInStackQueuedSpinLockForDpc | ( | IN PKSPIN_LOCK | SpinLock, |
IN PKLOCK_QUEUE_HANDLE | LockHandle | ||
) |
Definition at line 420 of file spinlock.c.
KIRQL NTAPI KeAcquireInterruptSpinLock | ( | IN PKINTERRUPT | Interrupt | ) |
Definition at line 148 of file spinlock.c.
Referenced by i8042DpcRoutineMouseTimeout(), i8042KbdDpcRoutine(), i8042MouDpcRoutine(), i8042PacketDpc(), i8042StartPacket(), InPortDpcForIsr(), KeConnectInterrupt(), KeDisconnectInterrupt(), KiInterruptDispatch2(), Mx::MxAcquireInterruptSpinLock(), PortAcquireSpinLock(), and StartProcedure().
VOID FASTCALL KeAcquireQueuedSpinLockAtDpcLevel | ( | IN PKSPIN_LOCK_QUEUE | LockHandle | ) |
Definition at line 99 of file spinlock.c.
Referenced by KeAcquireInStackQueuedSpinLockAtDpcLevel().
VOID NTAPI KeAcquireSpinLockAtDpcLevel | ( | IN PKSPIN_LOCK | SpinLock | ) |
Definition at line 192 of file spinlock.c.
Referenced by _Function_class_(), AcpiOsAcquireLock(), CancelQueued(), CcPerformReadAhead(), CcPurgeCacheSection(), CcRosCreateVacb(), CcRosDeleteFileCache(), CcRosFreeUnusedVacb(), CcRosInitializeFileCache(), CcRosLookupVacb(), CcRosMarkDirtyVacb(), CcRosReleaseFileCache(), CcRosTraceCacheMap(), CcRosTrimCache(), CcRosUnmarkDirtyVacb(), ClasspReleaseQueue(), EthFilterDprIndicateReceiveComplete(), ExpTimerApcKernelRoutine(), ExTimerRundown(), CPortPinWaveCyclic::GeneratePositionEvents(), InterfacePciDevicePresent(), InterfacePciDevicePresentEx(), IntVideoPortResetDisplayParametersEx(), IServiceGroupDpc(), KeAcquireInterruptSpinLock(), KeIpiGenericCall(), KeStartProfile(), KeStopProfile(), KeSynchronizeExecution(), KiRetireDpcList(), KsCancelRoutine(), KsMoveIrpsOnCancelableQueue(), KsRemoveIrpFromCancelableQueue(), MiniDoRequest(), MiniportWorker(), MiniRequestComplete(), MiniReset(), MiniTimerDpcFunction(), NdisAcquireReadWriteLock(), NdisDprAcquireSpinLock(), NdisDprAllocatePacket(), NdisDprFreePacket(), NtCancelTimer(), NtSetTimer(), ProtocolReceive(), RxTimerDispatch(), ScsiPortDpcForIsr(), ScsiPortIoTimer(), ScsiPortStartIo(), SpiAllocateSrbStructures(), SpiMiniportTimerDpc(), SpiProcessCompletedRequest(), TcpipAcquireSpinLockAtDpcLevel(), USBPORT_CancelActiveTransferIrp(), USBPORT_CancelPendingTransferIrp(), USBPORT_ClosePipe(), USBPORT_DpcHandler(), USBPORT_EndpointWorker(), USBPORT_FlushCancelList(), USBPORT_FlushPendingTransfers(), USBPORT_GetEndpointState(), USBPORT_IsrDpc(), USBPORT_IsrDpcHandler(), USBPORT_ReopenPipe(), USBPORT_ResetPipe(), USBPORT_RestoreDevice(), USBPORT_WorkerThreadHandler(), USBSTOR_Cancel(), USBSTOR_TimerRoutine(), and VideoPortAcquireSpinLockAtDpcLevel().
KIRQL FASTCALL KeAcquireSpinLockForDpc | ( | IN PKSPIN_LOCK | SpinLock | ) |
Definition at line 398 of file spinlock.c.
VOID FASTCALL KefAcquireSpinLockAtDpcLevel | ( | IN PKSPIN_LOCK | SpinLock | ) |
Definition at line 237 of file spinlock.c.
VOID FASTCALL KefReleaseSpinLockFromDpcLevel | ( | IN PKSPIN_LOCK | SpinLock | ) |
Definition at line 259 of file spinlock.c.
VOID FASTCALL KeReleaseInStackQueuedSpinLockForDpc | ( | IN PKLOCK_QUEUE_HANDLE | LockHandle | ) |
Definition at line 432 of file spinlock.c.
VOID FASTCALL KeReleaseInStackQueuedSpinLockFromDpcLevel | ( | IN PKLOCK_QUEUE_HANDLE | LockHandle | ) |
Definition at line 369 of file spinlock.c.
Referenced by KiReleaseApcLockFromSynchLevel(), KiReleaseDeviceQueueLock(), and KiReleaseProcessLockFromSynchLevel().
Definition at line 165 of file spinlock.c.
Referenced by i8042DpcRoutineMouseTimeout(), i8042KbdDpcRoutine(), i8042MouDpcRoutine(), i8042PacketDpc(), i8042StartPacket(), InPortDpcForIsr(), KeConnectInterrupt(), KeDisconnectInterrupt(), KiInterruptDispatch2(), Mx::MxReleaseInterruptSpinLock(), PortReleaseSpinLock(), and StartProcedure().
VOID FASTCALL KeReleaseQueuedSpinLockFromDpcLevel | ( | IN PKSPIN_LOCK_QUEUE | LockHandle | ) |
Definition at line 120 of file spinlock.c.
Referenced by KeReleaseInStackQueuedSpinLockFromDpcLevel().
Definition at line 409 of file spinlock.c.
VOID NTAPI KeReleaseSpinLockFromDpcLevel | ( | IN PKSPIN_LOCK | SpinLock | ) |
Definition at line 215 of file spinlock.c.
Referenced by _Function_class_(), AcpiOsReleaseLock(), CcPerformReadAhead(), CcPurgeCacheSection(), CcRosCreateVacb(), CcRosDeleteFileCache(), CcRosFreeUnusedVacb(), CcRosInitializeFileCache(), CcRosLookupVacb(), CcRosMarkDirtyVacb(), CcRosReleaseFileCache(), CcRosTraceCacheMap(), CcRosTrimCache(), CcRosUnmarkDirtyVacb(), ClasspReleaseQueue(), EthFilterDprIndicateReceiveComplete(), ExpTimerApcKernelRoutine(), ExTimerRundown(), CPortPinWaveCyclic::GeneratePositionEvents(), InterfacePciDevicePresent(), InterfacePciDevicePresentEx(), IntVideoPortResetDisplayParametersEx(), IServiceGroupDpc(), KeIpiGenericCall(), KeReleaseInterruptSpinLock(), KeStartProfile(), KeStopProfile(), KeSynchronizeExecution(), KiRetireDpcList(), KsMoveIrpsOnCancelableQueue(), KsRemoveIrpFromCancelableQueue(), MiniDoRequest(), MiniportWorker(), MiniRequestComplete(), MiniReset(), MiniTimerDpcFunction(), NdisAcquireReadWriteLock(), NdisDprAllocatePacket(), NdisDprFreePacket(), NdisDprReleaseSpinLock(), NtCancelTimer(), NtSetTimer(), ProtocolReceive(), RxTimerDispatch(), ScsiPortDpcForIsr(), ScsiPortIoTimer(), ScsiPortStartIo(), SpiAllocateSrbStructures(), SpiGetNextRequestFromLun(), SpiMiniportTimerDpc(), SpiProcessCompletedRequest(), TcpipReleaseSpinLockFromDpcLevel(), USBPORT_CancelActiveTransferIrp(), USBPORT_CancelPendingTransferIrp(), USBPORT_ClosePipe(), USBPORT_DpcHandler(), USBPORT_EndpointWorker(), USBPORT_FlushCancelList(), USBPORT_FlushPendingTransfers(), USBPORT_GetEndpointState(), USBPORT_IsrDpc(), USBPORT_IsrDpcHandler(), USBPORT_ReopenPipe(), USBPORT_ResetPipe(), USBPORT_RestoreDevice(), USBPORT_WorkerThreadHandler(), USBSTOR_Cancel(), USBSTOR_TimerRoutine(), and VideoPortReleaseSpinLockFromDpcLevel().
BOOLEAN FASTCALL KeTestSpinLock | ( | IN PKSPIN_LOCK | SpinLock | ) |
Definition at line 442 of file spinlock.c.
Referenced by InbvAcquireLock(), IntVideoPortResetDisplayParametersEx(), and KdpAcquireLock().
BOOLEAN FASTCALL KeTryToAcquireSpinLockAtDpcLevel | ( | IN OUT PKSPIN_LOCK | SpinLock | ) |
Definition at line 303 of file spinlock.c.
Referenced by KdEnterDebugger(), KdpAcquireLock(), and KdPollBreakIn().
VOID FASTCALL KiAcquireSpinLock | ( | IN PKSPIN_LOCK | SpinLock | ) |
Definition at line 281 of file spinlock.c.
VOID FASTCALL KiReleaseSpinLock | ( | IN PKSPIN_LOCK | SpinLock | ) |
Definition at line 292 of file spinlock.c.