ReactOS  0.4.14-dev-55-g2da92ac
lock.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

KIRQL TcpipGetCurrentIrql (VOID)
 
VOID TcpipInitializeSpinLock (PKSPIN_LOCK SpinLock)
 
VOID TcpipAcquireSpinLock (PKSPIN_LOCK SpinLock, PKIRQL Irql)
 
VOID TcpipReleaseSpinLock (PKSPIN_LOCK SpinLock, KIRQL Irql)
 
VOID TcpipAcquireSpinLockAtDpcLevel (PKSPIN_LOCK SpinLock)
 
VOID TcpipReleaseSpinLockFromDpcLevel (PKSPIN_LOCK SpinLock)
 
VOID TcpipInterlockedInsertTailList (PLIST_ENTRY ListHead, PLIST_ENTRY Item, PKSPIN_LOCK Lock)
 
VOID TcpipAcquireFastMutex (PFAST_MUTEX Mutex)
 
VOID TcpipReleaseFastMutex (PFAST_MUTEX Mutex)
 

Function Documentation

◆ TcpipAcquireFastMutex()

VOID TcpipAcquireFastMutex ( PFAST_MUTEX  Mutex)

Definition at line 40 of file lock.c.

40  {
42 }
Definition: Mutex.h:15
VOID FASTCALL ExAcquireFastMutex(IN PFAST_MUTEX FastMutex)
Definition: fmutex.c:23

◆ TcpipAcquireSpinLock()

◆ TcpipAcquireSpinLockAtDpcLevel()

VOID TcpipAcquireSpinLockAtDpcLevel ( PKSPIN_LOCK  SpinLock)

Definition at line 22 of file lock.c.

22  {
24 }
VOID NTAPI KeAcquireSpinLockAtDpcLevel(IN PKSPIN_LOCK SpinLock)
Definition: spinlock.c:192
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK SpinLock
Definition: iofuncs.h:798

Referenced by IPDatagramReassemblyTimeout(), NBDestroyNeighborsForInterface(), and NBTimeout().

◆ TcpipGetCurrentIrql()

KIRQL TcpipGetCurrentIrql ( VOID  )

◆ TcpipInitializeSpinLock()

VOID TcpipInitializeSpinLock ( PKSPIN_LOCK  SpinLock)

Definition at line 14 of file lock.c.

14  {
16 }
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK SpinLock
Definition: iofuncs.h:798
FORCEINLINE VOID KeInitializeSpinLock(_Out_ PKSPIN_LOCK SpinLock)
Definition: kefuncs.h:251

Referenced by IPCreateInterface(), IPStartup(), NBStartup(), ProcessFragment(), and RouterStartup().

◆ TcpipInterlockedInsertTailList()

VOID TcpipInterlockedInsertTailList ( PLIST_ENTRY  ListHead,
PLIST_ENTRY  Item,
PKSPIN_LOCK  Lock 
)

Definition at line 34 of file lock.c.

36  {
37  ExInterlockedInsertTailList( ListHead, Item, Lock );
38 }
PLIST_ENTRY NTAPI ExInterlockedInsertTailList(IN OUT PLIST_ENTRY ListHead, IN OUT PLIST_ENTRY ListEntry, IN OUT PKSPIN_LOCK Lock)
Definition: interlocked.c:140
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment IN PNDIS_RW_LOCK Lock
Definition: CrNtStubs.h:75

Referenced by IPRegisterInterface(), ProcessFragment(), and RouterAddRoute().

◆ TcpipReleaseFastMutex()

VOID TcpipReleaseFastMutex ( PFAST_MUTEX  Mutex)

Definition at line 44 of file lock.c.

44  {
46 }
VOID FASTCALL ExReleaseFastMutex(IN PFAST_MUTEX FastMutex)
Definition: fmutex.c:31
Definition: Mutex.h:15

◆ TcpipReleaseSpinLock()

◆ TcpipReleaseSpinLockFromDpcLevel()

VOID TcpipReleaseSpinLockFromDpcLevel ( PKSPIN_LOCK  SpinLock)

Definition at line 30 of file lock.c.

30  {
32 }
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK SpinLock
Definition: iofuncs.h:798
VOID NTAPI KeReleaseSpinLockFromDpcLevel(IN PKSPIN_LOCK SpinLock)
Definition: spinlock.c:215

Referenced by IPDatagramReassemblyTimeout(), NBDestroyNeighborsForInterface(), and NBTimeout().