Searched refs:SlabSize (Results 1 – 2 of 2) sorted by relevance
15 template<size_t InlineDataSize = (16 * sizeof(void*)), size_t SlabSize = 4096>45 if (size > SlabSize) in Allocate()49 Slab* newSlab = (Slab*)malloc(SlabSize); in Allocate()54 newSlab->total = SlabSize - sizeof(Slab); in Allocate()
166 size_t SlabSize(size_t tailSpace) const in SlabSize() function182 return fParent->ConstructSlab(slab, pages, SlabSize(tailSpace) in _ConstructSlab()252 return BaseCacheStrategy<Backend>::SlabSize(sizeof(Slab)); in _SlabSize()434 return BaseCacheStrategy<Backend>::SlabSize(0); in _SlabSize()