template <typename T, typename Allocator>
class ObjectCache
Defined at line 713 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
Specialization of ObjectCache for the per-CPU slab cache variant. Operations
serialize on per-CPU object cache locks.
Public Methods
void ObjectCache<T, Option::PerCpu, Allocator> ()
ObjectCache is default constructible in the empty state.
Defined at line 721 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
void ObjectCache<T, Option::PerCpu, Allocator> (const ObjectCache<T, Option::PerCpu, Allocator> & )
ObjectCache is not copiable.
Defined at line 724 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
ObjectCache<T, Option::PerCpu, Allocator> & operator= (const ObjectCache<T, Option::PerCpu, Allocator> & )
Defined at line 725 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
void ObjectCache<T, Option::PerCpu, Allocator> (ObjectCache<T, Option::PerCpu, Allocator> && )
ObjectCache is movable.
Defined at line 728 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
ObjectCache<T, Option::PerCpu, Allocator> & operator= (ObjectCache<T, Option::PerCpu, Allocator> && )
Defined at line 729 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
template <typename... Args>
zx::result<ObjectCache<T, Option::PerCpu, Allocator>> Create (size_t reserve_slabs, Args &&... args)
Defined at line 736 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
template <typename... Args>
zx::result<PtrType> Allocate (Args &&... args)
Defined at line 761 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
size_t slab_count ()
Defined at line 771 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h