ReactOS
0.4.15-dev-4570-g4f8bbd1
|
#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.
_IRQL_requires_min_ | ( | DISPATCH_LEVEL | ) |
Definition at line 97 of file spinlock.c.
VOID NTAPI _KeInitializeSpinLock | ( | IN PKSPIN_LOCK | SpinLock | ) |
Definition at line 186 of file spinlock.c.
VOID FASTCALL KeAcquireInStackQueuedSpinLockAtDpcLevel | ( | IN PKSPIN_LOCK | SpinLock, |
IN PKLOCK_QUEUE_HANDLE | LockHandle | ||
) |
Definition at line 363 of file spinlock.c.
Referenced by KeAcquireInStackQueuedSpinLockForDpc(), KiAcquireApcLockAtSynchLevel(), and KiAcquireDeviceQueueLock().
VOID FASTCALL KeAcquireInStackQueuedSpinLockForDpc | ( | IN PKSPIN_LOCK | SpinLock, |
IN PKLOCK_QUEUE_HANDLE | LockHandle | ||
) |
Definition at line 446 of file spinlock.c.
KIRQL NTAPI KeAcquireInterruptSpinLock | ( | IN PKINTERRUPT | Interrupt | ) |
Definition at line 154 of file spinlock.c.
Referenced by i8042DpcRoutineMouseTimeout(), i8042KbdDpcRoutine(), i8042MouDpcRoutine(), i8042PacketDpc(), i8042StartPacket(), InPortDpcForIsr(), Mx::MxAcquireInterruptSpinLock(), PortAcquireSpinLock(), and StartProcedure().
VOID NTAPI KeAcquireSpinLockAtDpcLevel | ( | IN PKSPIN_LOCK | SpinLock | ) |
Definition at line 198 of file spinlock.c.
Referenced by _Function_class_(), AcpiOsAcquireLock(), CancelQueued(), CcPerformReadAhead(), CcPurgeCacheSection(), CcRosCreateVacb(), CcRosDeleteFileCache(), CcRosFreeUnusedVacb(), CcRosInitializeFileCache(), CcRosLookupVacb(), CcRosMarkDirtyVacb(), CcRosReleaseFileCache(), CcRosTraceCacheMap(), CcRosUnmarkDirtyVacb(), ClasspReleaseQueue(), EthFilterDprIndicateReceiveComplete(), ExpTimerApcKernelRoutine(), ExTimerRundown(), CPortPinWaveCyclic::GeneratePositionEvents(), HalpPCISynchronizeType1(), HalpPCISynchronizeType2(), InterfacePciDevicePresent(), InterfacePciDevicePresentEx(), IntVideoPortResetDisplayParametersEx(), IServiceGroupDpc(), KdbpSymFindModule(), KdbSymProcessSymbols(), 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 424 of file spinlock.c.
VOID FASTCALL KefAcquireSpinLockAtDpcLevel | ( | IN PKSPIN_LOCK | SpinLock | ) |
Definition at line 243 of file spinlock.c.
VOID FASTCALL KefReleaseSpinLockFromDpcLevel | ( | IN PKSPIN_LOCK | SpinLock | ) |
Definition at line 265 of file spinlock.c.
VOID FASTCALL KeReleaseInStackQueuedSpinLockForDpc | ( | IN PKLOCK_QUEUE_HANDLE | LockHandle | ) |
Definition at line 461 of file spinlock.c.
VOID FASTCALL KeReleaseInStackQueuedSpinLockFromDpcLevel | ( | IN PKLOCK_QUEUE_HANDLE | LockHandle | ) |
Definition at line 395 of file spinlock.c.
Referenced by KeReleaseInStackQueuedSpinLockForDpc(), KiReleaseApcLockFromSynchLevel(), KiReleaseDeviceQueueLock(), and KiReleaseProcessLockFromSynchLevel().
Definition at line 171 of file spinlock.c.
Referenced by i8042DpcRoutineMouseTimeout(), i8042KbdDpcRoutine(), i8042MouDpcRoutine(), i8042PacketDpc(), i8042StartPacket(), InPortDpcForIsr(), Mx::MxReleaseInterruptSpinLock(), PortReleaseSpinLock(), and StartProcedure().
Definition at line 435 of file spinlock.c.
VOID NTAPI KeReleaseSpinLockFromDpcLevel | ( | IN PKSPIN_LOCK | SpinLock | ) |
Definition at line 221 of file spinlock.c.
Referenced by _Function_class_(), AcpiOsReleaseLock(), CcPerformReadAhead(), CcPurgeCacheSection(), CcRosCreateVacb(), CcRosDeleteFileCache(), CcRosFreeUnusedVacb(), CcRosInitializeFileCache(), CcRosLookupVacb(), CcRosMarkDirtyVacb(), CcRosReleaseFileCache(), CcRosTraceCacheMap(), CcRosUnmarkDirtyVacb(), ClasspReleaseQueue(), EthFilterDprIndicateReceiveComplete(), ExpTimerApcKernelRoutine(), ExTimerRundown(), CPortPinWaveCyclic::GeneratePositionEvents(), InterfacePciDevicePresent(), InterfacePciDevicePresentEx(), IntVideoPortResetDisplayParametersEx(), IServiceGroupDpc(), KdbpSymFindModule(), KdbSymProcessSymbols(), 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 475 of file spinlock.c.
Referenced by InbvAcquireLock(), IntVideoPortResetDisplayParametersEx(), and KdpAcquireLock().
BOOLEAN FASTCALL KeTryToAcquireSpinLockAtDpcLevel | ( | IN OUT PKSPIN_LOCK | SpinLock | ) |
Definition at line 309 of file spinlock.c.
Referenced by KdEnterDebugger(), KdpAcquireLock(), KdPollBreakIn(), KeTryToAcquireQueuedSpinLock(), and KeTryToAcquireQueuedSpinLockRaiseToSynch().
VOID FASTCALL KiAcquireSpinLock | ( | IN PKSPIN_LOCK | SpinLock | ) |
Definition at line 287 of file spinlock.c.
Referenced by InbvAcquireLock(), KdpPortLock(), KeInsertQueueDpc(), and KeRemoveQueueDpc().
VOID FASTCALL KiReleaseSpinLock | ( | IN PKSPIN_LOCK | SpinLock | ) |
Definition at line 298 of file spinlock.c.
Referenced by InbvReleaseLock(), KdpPortUnlock(), KdpReleaseLock(), KeInsertQueueDpc(), and KeRemoveQueueDpc().