struct DefaultAllocator
Defined at line 139 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
void CountObjectAllocation ()
Defined at line 26 of file ../../zircon/kernel/lib/object_cache/object_cache.cc
void CountObjectFree ()
Defined at line 28 of file ../../zircon/kernel/lib/object_cache/object_cache.cc
void CountSlabAllocation ()
Defined at line 27 of file ../../zircon/kernel/lib/object_cache/object_cache.cc
void CountSlabFree ()
Defined at line 29 of file ../../zircon/kernel/lib/object_cache/object_cache.cc
zx::result<void *> Allocate ()
Defined at line 142 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
void Release (void * slab)
Defined at line 154 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h