ReactOS 0.4.16-dev-297-gc569aee
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:16
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}
#define KeAcquireSpinLockAtDpcLevel(SpinLock)
Definition: ke.h:125

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}
#define KeInitializeSpinLock(sl)
Definition: env_spec_w32.h:604

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 {
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_ WDFCOLLECTION _In_ WDFOBJECT Item
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWAITLOCK * Lock
Definition: wdfsync.h:127

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

◆ TcpipReleaseSpinLock()

◆ TcpipReleaseSpinLockFromDpcLevel()

VOID TcpipReleaseSpinLockFromDpcLevel ( PKSPIN_LOCK  SpinLock)

Definition at line 30 of file lock.c.

30 {
32}
#define KeReleaseSpinLockFromDpcLevel(SpinLock)
Definition: ke.h:135

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