struct DefaultAllocator
Defined at line 147 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
The default allocator for the object cache. Allocates page sized slabs from
the PMM. This may be replaced by a higher-order page allocator without loss
of generality. This allocator is globally stateful, allowing orphan slabs.
Public Members
static const size_t kSlabSize
Public Methods
zx::result<void *> Allocate ()
Defined at line 150 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
void Release (void * slab)
Defined at line 162 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
void CountObjectAllocation ()
Defined at line 168 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
void CountObjectFree ()
Defined at line 169 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
void CountSlabAllocation ()
Defined at line 170 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
void CountSlabFree ()
Defined at line 171 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h