UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMallocBinned::FPoolInfo Struct Reference

Public Member Functions

void SetAllocationSizes (uint32 InBytes, UPTRINT InOsBytes, uint32 InTableIndex, uint32 SmallAllocLimt)
 
uint32 GetBytes () const
 
UPTRINT GetOsBytes (uint32 InPageSize, uint32 SmallAllocLimt) const
 
void Link (FPoolInfo *&Before)
 
void Unlink ()
 

Public Attributes

uint16 Taken
 
uint16 TableIndex
 
uint32 AllocSize
 
FFreeMemFirstMem
 
FPoolInfoNext
 
FPoolInfo ** PrevLink
 

Member Function Documentation

◆ GetBytes()

uint32 FMallocBinned::FPoolInfo::GetBytes ( ) const
inline

◆ GetOsBytes()

UPTRINT FMallocBinned::FPoolInfo::GetOsBytes ( uint32  InPageSize,
uint32  SmallAllocLimt 
) const
inline

◆ Link()

void FMallocBinned::FPoolInfo::Link ( FPoolInfo *&  Before)
inline

◆ SetAllocationSizes()

void FMallocBinned::FPoolInfo::SetAllocationSizes ( uint32  InBytes,
UPTRINT  InOsBytes,
uint32  InTableIndex,
uint32  SmallAllocLimt 
)
inline

◆ Unlink()

void FMallocBinned::FPoolInfo::Unlink ( )
inline

Member Data Documentation

◆ AllocSize

uint32 FMallocBinned::FPoolInfo::AllocSize

Number of bytes allocated

◆ FirstMem

FFreeMem* FMallocBinned::FPoolInfo::FirstMem

Pointer to first free memory in this pool or the OS Allocation Size in bytes if this allocation is not binned

◆ Next

FPoolInfo* FMallocBinned::FPoolInfo::Next

◆ PrevLink

FPoolInfo** FMallocBinned::FPoolInfo::PrevLink

◆ TableIndex

uint16 FMallocBinned::FPoolInfo::TableIndex

Index of pool. Index into MemSizeToPoolTable[]. Valid when < MAX_POOLED_ALLOCATION_SIZE, MAX_POOLED_ALLOCATION_SIZE is OsTable. When AllocSize is 0, this is the number of pages to step back to find the base address of an allocation. See FindPoolInfoInternal()

◆ Taken

uint16 FMallocBinned::FPoolInfo::Taken

Number of allocated elements in this pool, when counts down to zero can free the entire pool.


The documentation for this struct was generated from the following file: