Searched refs:PoolIndex (Results 1 – 1 of 1) sorted by relevance
130 IN UINTN PoolIndex, in InternalAllocPoolByIndex() argument141 ASSERT (PoolIndex <= MAX_POOL_INDEX); in InternalAllocPoolByIndex()144 if (PoolIndex == MAX_POOL_INDEX) { in InternalAllocPoolByIndex()150 } else if (!IsListEmpty (&mSmmPoolLists[SmmPoolType][PoolIndex])) { in InternalAllocPoolByIndex()151 Hdr = BASE_CR (GetFirstNode (&mSmmPoolLists[SmmPoolType][PoolIndex]), FREE_POOL_HEADER, Link); in InternalAllocPoolByIndex()154 Status = InternalAllocPoolByIndex (PoolType, PoolIndex + 1, &Hdr); in InternalAllocPoolByIndex()159 InsertHeadList (&mSmmPoolLists[SmmPoolType][PoolIndex], &Hdr->Link); in InternalAllocPoolByIndex()165 Hdr->Header.Size = MIN_POOL_SIZE << PoolIndex; in InternalAllocPoolByIndex()187 UINTN PoolIndex; in InternalFreePoolByIndex() local196 PoolIndex = (UINTN) (HighBitSet32 ((UINT32)FreePoolHdr->Header.Size) - MIN_POOL_SHIFT); in InternalFreePoolByIndex()[all …]