template <typename T, typename Allocator>
class ObjectCache
Defined at line 219 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
Specialization of ObjectCache for the single slab cache variant. Operations
serialize on the main object cache lock, regardless of CPU.
Public Methods
template <typename... Args>
void ObjectCache<T, Option::Single, Allocator> (size_t reserve_slabs, Args &&... args)
Defined at line 237 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
void ~ObjectCache<T, Option::Single, Allocator> ()
Defined at line 243 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
void ObjectCache<T, Option::Single, Allocator> (const ObjectCache<T, Option::Single, Allocator> & )
ObjectCache is not copiable.
Defined at line 289 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
ObjectCache<T, Option::Single, Allocator> & operator= (const ObjectCache<T, Option::Single, Allocator> & )
Defined at line 290 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
void ObjectCache<T, Option::Single, Allocator> (ObjectCache<T, Option::Single, Allocator> && other)
ObjectCache is not movable.
Defined at line 293 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
ObjectCache<T, Option::Single, Allocator> & operator= (ObjectCache<T, Option::Single, Allocator> && other)
Defined at line 294 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
template <typename... Args>
zx::result<PtrType> Allocate (Args &&... args)
Defined at line 303 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
size_t slab_count ()
Defined at line 326 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
size_t objects_per_slab ()
Defined at line 331 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
size_t slab_control_size ()
Defined at line 332 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
size_t entry_size ()
Defined at line 333 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
Allocator & allocator ()
Defined at line 335 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
const Allocator & allocator ()
Defined at line 336 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h
Friends
template <typename, typename>
class Deletable
template <typenametypename>
class Deleter