ReactOS 0.4.16-dev-297-gc569aee
mocklock.c
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS TCP/IP protocol driver
4 * FILE: tcpip/lock.c
5 * PURPOSE: Locking and unlocking
6 * PROGRAMMERS: Art Yerkes
7 * REVISIONS:
8 */
9
10#include "precomp.h"
11
13
15
17}
18
22}
23
26}
27
31}
32
35}
36
40 InsertTailList( ListHead, Item );
41}
42
44}
45
47}
Definition: Mutex.h:16
_Out_ PKIRQL Irql
Definition: csq.h:179
#define InsertTailList(ListHead, Entry)
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
UCHAR KIRQL
Definition: env_spec_w32.h:591
KSPIN_LOCK * PKSPIN_LOCK
Definition: env_spec_w32.h:73
KIRQL * PKIRQL
Definition: env_spec_w32.h:592
#define DISPATCH_LEVEL
Definition: env_spec_w32.h:696
VOID TcpipAcquireSpinLockAtDpcLevel(PKSPIN_LOCK SpinLock)
Definition: mocklock.c:24
VOID TcpipReleaseSpinLockFromDpcLevel(PKSPIN_LOCK SpinLock)
Definition: mocklock.c:33
VOID TcpipReleaseSpinLock(PKSPIN_LOCK SpinLock, KIRQL Irql)
Definition: mocklock.c:28
KIRQL KernelIrql
Definition: mocklock.c:12
KIRQL TcpipGetCurrentIrql()
Definition: mocklock.c:14
VOID TcpipAcquireFastMutex(PFAST_MUTEX Mutex)
Definition: mocklock.c:43
VOID TcpipInterlockedInsertTailList(PLIST_ENTRY ListHead, PLIST_ENTRY Item, PKSPIN_LOCK Lock)
Definition: mocklock.c:37
VOID TcpipReleaseFastMutex(PFAST_MUTEX Mutex)
Definition: mocklock.c:46
VOID TcpipInitializeSpinLock(PKSPIN_LOCK SpinLock)
Definition: mocklock.c:16
VOID TcpipAcquireSpinLock(PKSPIN_LOCK SpinLock, PKIRQL Irql)
Definition: mocklock.c:19
#define ASSERT(a)
Definition: mode.c:44
Definition: typedefs.h:120
_In_ WDFCOLLECTION _In_ WDFOBJECT Item
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFSPINLOCK * SpinLock
Definition: wdfsync.h:228
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWAITLOCK * Lock
Definition: wdfsync.h:127
* PFAST_MUTEX
Definition: extypes.h:17