#include <kmt_test.h>
#include "ExXList.h"
Go to the source code of this file.
◆ CheckSListHeader
#define CheckSListHeader |
( |
|
ListHead, |
|
|
|
ExpectedPointer, |
|
|
|
ExpectedDepth |
|
) |
| |
Value:do \
{ \
ok_eq_pointer((ListHead)->Next.Next, ExpectedPointer); \
\
ok_eq_uint((ListHead)->
Depth, ExpectedDepth); \
ok_eq_uint((ListHead)->Sequence, ExpectedSequence); \
} while (0)
BOOLEAN KmtAreInterruptsEnabled(VOID)
FORCEINLINE USHORT ExQueryDepthSList(_In_ PSLIST_HEADER SListHead)
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION _In_ ULONG _In_ SIZE_T _In_ ULONG _In_ USHORT Depth
Definition at line 17 of file ExSequencedList.c.
◆ CheckXListHeader
◆ FlushXList
◆ ok_free_xlist
◆ PopXList
◆ PushXList
◆ PXLIST_ENTRY
◆ PXLIST_HEADER
◆ TestXListFunctional [1/2]
#define TestXListFunctional TestSListFunctional |
◆ TestXListFunctional [2/2]
#define TestXListFunctional TestSListFunctionalExports |
◆ ExInterlockedPopEntrySList()
◆ ExInterlockedPushEntrySList()
◆ START_TEST()
START_TEST |
( |
ExSequencedList |
| ) |
|
Definition at line 44 of file ExSequencedList.c.
45{
46#ifndef _M_AMD64
49 USHORT ExpectedSequence = 0;
55
57#ifdef _M_IX86
59#endif
60
61
66
71 TestSListFunctional(ListHead,
Entries, pSpinLock);
72
77 TestSListFunctionalExports(ListHead,
Entries, pSpinLock);
78
81#endif
82}
#define CheckSListHeader(ListHead, ExpectedPointer, ExpectedDepth)
static const ENTRY Entries[]
#define ExAllocatePoolWithTag(hernya, size, tag)
#define KeRaiseIrql(irql, oldIrql)
#define KeLowerIrql(oldIrql)
#define KeInitializeSpinLock(sl)
#define RtlFillMemory(Dest, Length, Fill)
#define ExFreePoolWithTag(_P, _T)
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFSPINLOCK * SpinLock
#define ExInitializeSListHead
FORCEINLINE VOID InitializeSListHead(_Out_ PSLIST_HEADER SListHead)