![]() |
MOS Source Code
|
#include <slab.hpp>
Public Attributes | |
as_linked_list | |
spinlock_t | lock = SPINLOCK_INIT |
ptr_t | first_free = 0 |
size_t | ent_size = 0 |
size_t | nobjs = 0 |
mos::string_view | name = "<unnamed>" |
mos::string_view | type_name = "<T>" |
spinlock_t lock = SPINLOCK_INIT |
Definition at line 54 of file slab.hpp.
Referenced by kmemcache_alloc(), kmemcache_free(), and slab_init_one().
ptr_t first_free = 0 |
Definition at line 55 of file slab.hpp.
Referenced by kmemcache_alloc(), kmemcache_free(), slab_allocate_mem(), and slab_init_one().
size_t ent_size = 0 |
Definition at line 56 of file slab.hpp.
Referenced by kmemcache_alloc(), Slab< T >::size(), Slab< T >::Slab(), slab_allocate_mem(), slab_for(), slab_init_one(), slab_realloc(), and slab_register().
size_t nobjs = 0 |
Definition at line 57 of file slab.hpp.
Referenced by kmemcache_alloc(), kmemcache_free(), and slab_init_one().
mos::string_view name = "<unnamed>" |
Definition at line 58 of file slab.hpp.
Referenced by kmemcache_alloc(), kmemcache_free(), Slab< T >::Slab(), slab_allocate_mem(), slab_init_one(), and slab_register().
mos::string_view type_name = "<T>" |
Definition at line 59 of file slab.hpp.
Referenced by Slab< T >::Slab(), and slab_init_one().