167 ( !
pEntry->pobj->cExclusiveLock ) )
262 ULONG mAllocEntries = 0;
285 pEntry->FullUnique = objType | 8;
309 pEntry->FullUnique = objType | 8;
372 pEntry->pobj->hHmgr = DdHandle;
#define InterlockedIncrement
#define ERROR_NOT_ENOUGH_MEMORY
HANDLE FASTCALL DdHmgAlloc(ULONG objSize, CHAR objType, BOOLEAN objLock)
BOOL FASTCALL DdHmgDestroy(VOID)
VOID FASTCALL DdFreeObject(PVOID pObject)
BOOL FASTCALL DdHmgCreate(VOID)
PVOID FASTCALL DdHmgLock(HANDLE DdHandle, UCHAR ObjectType, BOOLEAN LockOwned)
PVOID FASTCALL DdAllocateObject(ULONG objSize, UCHAR objType, BOOLEAN objZeroMemory)
PDD_ENTRY gpentDdHmgrLast
BOOL FASTCALL VerifyObjectOwner(PDD_ENTRY pEntry)
HANDLE FASTCALL DdGetFreeHandle(UCHAR objType)
VOID FASTCALL DdHmgFree(HANDLE DdHandle)
#define check(expected, result)
#define DDHMG_HANDLE_LIMIT
PLARGE_INTEGER gpLockShortDelay
struct _DD_ENTRY * PDD_ENTRY
struct _DD_ENTRY DD_ENTRY
#define DDHMG_HTOI(DdHandle)
VOID WINAPI EngReleaseSemaphore(IN HSEMAPHORE hsem)
HSEMAPHORE WINAPI EngCreateSemaphore(VOID)
#define KeGetCurrentThread
#define memmove(s1, s2, n)
HANDLE NTAPI PsGetCurrentProcessId(VOID)
void * EngAllocMem(int zero, unsigned long size, int tag=0)
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_In_ WDFCOLLECTION _In_ ULONG Index
_Requires_lock_not_held_ hsem ENGAPI VOID APIENTRY EngDeleteSemaphore(_Inout_ __drv_freesMem(Mem) HSEMAPHORE hsem)
ENGAPI VOID APIENTRY EngAcquireSemaphore(_Inout_ HSEMAPHORE hsem)
ENGAPI VOID APIENTRY EngSetLastError(_In_ ULONG iError)
#define FL_NONPAGED_MEMORY