8 namespace BSSmallBlockAllocatorUtil
43 static_assert(
sizeof(
Pool) == 0x48);
70 static_assert(
sizeof(
Pool) == 0x48);
92 std::size_t
Size(
const void* a_block)
const override;
Definition BSSmallBlockAllocator.h:61
std::uint16_t pad1266
Definition BSSmallBlockAllocator.h:112
MegaBlockPage * megaBlockCurrAlloc
Definition BSSmallBlockAllocator.h:108
char * allocBase
Definition BSSmallBlockAllocator.h:104
void * TryAllocateImpl(std::size_t a_size, std::uint32_t a_alignment) override
std::size_t Size(const void *a_block) const override
std::uint32_t addressSpaceSize
Definition BSSmallBlockAllocator.h:102
void DeallocateAlignImpl(void *&a_freeBlock) override
static constexpr auto RTTI
Definition BSSmallBlockAllocator.h:63
~BSSmallBlockAllocator() override
std::uint32_t totalFreeBlockPages
Definition BSSmallBlockAllocator.h:109
std::uint32_t pad1234
Definition BSSmallBlockAllocator.h:103
bool ContainsBlockImpl(const void *a_block) const override
void GetMemoryStats(MemoryStats *a_stats) override
BSCriticalSection lock
Definition BSSmallBlockAllocator.h:101
std::uint8_t pad1265
Definition BSSmallBlockAllocator.h:111
bool allowDecommits
Definition BSSmallBlockAllocator.h:110
static constexpr auto VTABLE
Definition BSSmallBlockAllocator.h:64
char * blockPageCommit
Definition BSSmallBlockAllocator.h:106
void * AllocateAlignImpl(std::size_t a_size, std::uint32_t a_alignment) override
Pool pools[64]
Definition BSSmallBlockAllocator.h:100
MegaBlockPage * megaBlockPageList
Definition BSSmallBlockAllocator.h:107
char * blockPageCommitMin
Definition BSSmallBlockAllocator.h:105
Definition IMemoryStore.h:8
Definition AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_BSSmallBlockAllocator
Definition Offsets_VTABLE.h:9849
constexpr REL::ID RTTI_BSSmallBlockAllocator(static_cast< std::uint64_t >(690291))
Definition BSSmallBlockAllocator.h:19
BlockPage * right
Definition BSSmallBlockAllocator.h:23
BlockPage * left
Definition BSSmallBlockAllocator.h:22
std::uint32_t pad1C
Definition BSSmallBlockAllocator.h:27
FreeBlock * blocks
Definition BSSmallBlockAllocator.h:24
std::uint16_t totalElem
Definition BSSmallBlockAllocator.h:25
std::uint16_t freeElem
Definition BSSmallBlockAllocator.h:26
Definition BSSmallBlockAllocator.h:11
FreeBlock * next
Definition BSSmallBlockAllocator.h:14
Definition BSSmallBlockAllocator.h:32
BSCriticalSection lock
Definition BSSmallBlockAllocator.h:41
std::uint32_t totalBytes
Definition BSSmallBlockAllocator.h:39
std::uint32_t totalFreeBlocks
Definition BSSmallBlockAllocator.h:37
std::uint32_t elementSize
Definition BSSmallBlockAllocator.h:40
BlockPage * currAlloc
Definition BSSmallBlockAllocator.h:36
BlockPage * pageList
Definition BSSmallBlockAllocator.h:35
std::uint32_t totalAllocatedBlocks
Definition BSSmallBlockAllocator.h:38
Definition BSSmallBlockAllocator.h:73
MegaBlockPage * left
Definition BSSmallBlockAllocator.h:78
BSSmallBlockAllocatorUtil::BlockPage * freeBlockPages
Definition BSSmallBlockAllocator.h:80
bool decommitted
Definition BSSmallBlockAllocator.h:83
char mem[sizeof(BlockPageInternal[255]) *256]
Definition BSSmallBlockAllocator.h:76
std::uint16_t numFreeBlockPages
Definition BSSmallBlockAllocator.h:81
std::uint16_t pad1FFFFE
Definition BSSmallBlockAllocator.h:85
MegaBlockPage * right
Definition BSSmallBlockAllocator.h:79
std::uint8_t pad1FFFFD
Definition BSSmallBlockAllocator.h:84
std::uint16_t nextBlockPageAlloc
Definition BSSmallBlockAllocator.h:82
BlockPageInternal blockPages[255]
Definition BSSmallBlockAllocator.h:77
Definition BSSmallBlockAllocator.h:67
Definition BSSmallBlockAllocator.h:47
std::uint16_t freeElem
Definition BSSmallBlockAllocator.h:54
std::uint16_t totalElem
Definition BSSmallBlockAllocator.h:53
BlockPageInternal * left
Definition BSSmallBlockAllocator.h:50
BSSmallBlockAllocatorUtil::FreeBlock * blocks
Definition BSSmallBlockAllocator.h:52
BlockPageInternal * right
Definition BSSmallBlockAllocator.h:51
std::uint16_t elemSize
Definition BSSmallBlockAllocator.h:55
std::uint16_t check
Definition BSSmallBlockAllocator.h:56
Definition IMemoryStoreBase.h:6