Searched refs:ArenaBlock (Results 1 – 1 of 1) sorted by relevance
42 struct ArenaBlock struct45 ArenaBlock* pNext = nullptr; argument47 static_assert(sizeof(ArenaBlock) <= ARENA_BLOCK_ALIGN,53 ArenaBlock* AllocateAligned(size_t size, size_t align) in AllocateAligned()55 SWR_ASSUME_ASSERT(size >= sizeof(ArenaBlock)); in AllocateAligned()57 ArenaBlock* p = new (AlignedMalloc(size, align)) ArenaBlock(); in AllocateAligned()62 void Free(ArenaBlock* pMem) in Free()76 ArenaBlock* AllocateAligned(size_t size, size_t align) in AllocateAligned()78 SWR_ASSUME_ASSERT(size >= sizeof(ArenaBlock)); in AllocateAligned()86 ArenaBlock* pPrevBlock = &m_cachedBlocks[bucket]; in AllocateAligned()[all …]