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, "Increase BLOCK_ALIGN size");52 ArenaBlock* AllocateAligned(size_t size, size_t align) in AllocateAligned()54 SWR_ASSUME_ASSERT(size >= sizeof(ArenaBlock)); in AllocateAligned()56 ArenaBlock* p = new (AlignedMalloc(size, align)) ArenaBlock(); in AllocateAligned()61 void Free(ArenaBlock* pMem) in Free()75 ArenaBlock* AllocateAligned(size_t size, size_t align) in AllocateAligned()77 SWR_ASSUME_ASSERT(size >= sizeof(ArenaBlock)); in AllocateAligned()85 ArenaBlock* pPrevBlock = &m_cachedBlocks[bucket]; in AllocateAligned()[all …]