ReactOS  0.4.14-dev-337-gf981a68
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 }
KIRQL KernelIrql
Definition: mocklock.c:12
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
#define DISPATCH_LEVEL
Definition: env_spec_w32.h:696

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

◆ TcpipGetCurrentIrql()

KIRQL TcpipGetCurrentIrql ( )

Definition at line 14 of file mocklock.c.

14 { return KernelIrql; }
KIRQL KernelIrql
Definition: mocklock.c:12

◆ 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)

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)

Definition at line 33 of file mocklock.c.

33  {
35 }
KIRQL KernelIrql
Definition: mocklock.c:12
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
#define DISPATCH_LEVEL
Definition: env_spec_w32.h:696

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

Variable Documentation

◆ KernelIrql