Home
last modified time | relevance | path

Searched refs:FreePoolHdr (Results 1 – 1 of 1) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DPool.c131 OUT FREE_POOL_HEADER **FreePoolHdr in InternalAllocPoolByIndex() argument
170 *FreePoolHdr = Hdr; in InternalAllocPoolByIndex()
184 IN FREE_POOL_HEADER *FreePoolHdr in InternalFreePoolByIndex() argument
190 ASSERT ((FreePoolHdr->Header.Size & (FreePoolHdr->Header.Size - 1)) == 0); in InternalFreePoolByIndex()
191 ASSERT (((UINTN)FreePoolHdr & (FreePoolHdr->Header.Size - 1)) == 0); in InternalFreePoolByIndex()
192 ASSERT (FreePoolHdr->Header.Size >= MIN_POOL_SIZE); in InternalFreePoolByIndex()
194 SmmPoolType = UefiMemoryTypeToSmmPoolType(FreePoolHdr->Header.Type); in InternalFreePoolByIndex()
196 PoolIndex = (UINTN) (HighBitSet32 ((UINT32)FreePoolHdr->Header.Size) - MIN_POOL_SHIFT); in InternalFreePoolByIndex()
197 FreePoolHdr->Header.Available = TRUE; in InternalFreePoolByIndex()
199 InsertHeadList (&mSmmPoolLists[SmmPoolType][PoolIndex], &FreePoolHdr->Link); in InternalFreePoolByIndex()
[all …]