ReactOS 0.4.15-dev-8145-ga541a46
mocklock.c File Reference
#include "precomp.h"
Include dependency graph for mocklock.c:

Go to the source code of this file.

Functions

KIRQL TcpipGetCurrentIrql ()
 
VOID TcpipInitializeSpinLock (PKSPIN_LOCK SpinLock)
 
VOID TcpipAcquireSpinLock (PKSPIN_LOCK SpinLock, PKIRQL Irql)
 
VOID TcpipAcquireSpinLockAtDpcLevel (PKSPIN_LOCK SpinLock)
 
VOID TcpipReleaseSpinLock (PKSPIN_LOCK SpinLock, KIRQL Irql)
 
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)
 

Variables

KIRQL KernelIrql = PASSIVE_LEVEL
 

Function Documentation

◆ TcpipAcquireFastMutex()

VOID TcpipAcquireFastMutex ( PFAST_MUTEX  Mutex)

Definition at line 43 of file mocklock.c.

43 {
44}

◆ TcpipAcquireSpinLock()

◆ TcpipAcquireSpinLockAtDpcLevel()

VOID TcpipAcquireSpinLockAtDpcLevel ( PKSPIN_LOCK  SpinLock)

Definition at line 24 of file mocklock.c.

24 {
26}
#define ASSERT(a)
Definition: mode.c:44

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

◆ TcpipGetCurrentIrql()

KIRQL TcpipGetCurrentIrql ( )

Definition at line 14 of file mocklock.c.

14{ return KernelIrql; }

◆ TcpipInitializeSpinLock()

VOID TcpipInitializeSpinLock ( PKSPIN_LOCK  SpinLock)

Definition at line 16 of file mocklock.c.

16 {
17}

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

◆ TcpipInterlockedInsertTailList()

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

Definition at line 37 of file mocklock.c.

39 {
40 InsertTailList( ListHead, Item );
41}
#define InsertTailList(ListHead, Entry)
_In_ WDFCOLLECTION _In_ WDFOBJECT Item

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

◆ TcpipReleaseFastMutex()

VOID TcpipReleaseFastMutex ( PFAST_MUTEX  Mutex)

Definition at line 46 of file mocklock.c.

46 {
47}

◆ TcpipReleaseSpinLock()

◆ TcpipReleaseSpinLockFromDpcLevel()

VOID TcpipReleaseSpinLockFromDpcLevel ( PKSPIN_LOCK  SpinLock)

Variable Documentation

◆ KernelIrql