Home
last modified time | relevance | path

Searched refs:SlabSize (Results 1 – 2 of 2) sorted by relevance

/haiku/headers/private/kernel/util/
H A DBumpAllocator.h15 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()
/haiku/src/tests/system/kernel/slab/
H A DSlab.h166 size_t SlabSize(size_t tailSpace) const in SlabSize() function
182 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()