Lines Matching refs:GlobalMemoryList

17 PSAC_MEMORY_LIST GlobalMemoryList;  variable
29 GlobalMemoryList = ExAllocatePoolWithTagPriority(NonPagedPool, in InitializeMemoryManagement()
33 if (GlobalMemoryList) in InitializeMemoryManagement()
39 GlobalMemoryList->Signature = GLOBAL_MEMORY_SIGNATURE; in InitializeMemoryManagement()
40 GlobalMemoryList->LocalDescriptor = (PSAC_MEMORY_ENTRY)(GlobalMemoryList + 1); in InitializeMemoryManagement()
41 GlobalMemoryList->Size = SAC_MEMORY_LIST_SIZE - sizeof(SAC_MEMORY_LIST); in InitializeMemoryManagement()
42 GlobalMemoryList->Next = NULL; in InitializeMemoryManagement()
45 Entry = GlobalMemoryList->LocalDescriptor; in InitializeMemoryManagement()
48 Entry->Size = GlobalMemoryList->Size - sizeof(SAC_MEMORY_ENTRY); in InitializeMemoryManagement()
70 while (GlobalMemoryList) in FreeMemoryManagement()
72 ASSERT(GlobalMemoryList->Signature == GLOBAL_MEMORY_SIGNATURE); in FreeMemoryManagement()
76 Next = GlobalMemoryList->Next; in FreeMemoryManagement()
77 ExFreePoolWithTag(GlobalMemoryList, 0); in FreeMemoryManagement()
81 GlobalMemoryList = Next; in FreeMemoryManagement()
116 GlobalDescriptor = GlobalMemoryList; in MyAllocatePool()
120 ASSERT(GlobalMemoryList->Signature == GLOBAL_MEMORY_SIGNATURE); in MyAllocatePool()
171 NewDescriptor->Next = GlobalMemoryList; in MyAllocatePool()
173 GlobalMemoryList = NewDescriptor; in MyAllocatePool()
179 GlobalMemoryList->Size - sizeof(SAC_MEMORY_ENTRY); in MyAllocatePool()
254 GlobalDescriptor = GlobalMemoryList; in MyFreePool()
260 ASSERT(GlobalMemoryList->Signature == GLOBAL_MEMORY_SIGNATURE); in MyFreePool()