MOS Source Code
|
#include <slab.h>
Public Attributes | |
as_linked_list | |
spinlock_t | lock |
ptr_t | first_free |
size_t | ent_size |
const char * | name |
size_t | nobjs |
spinlock_t lock |
Definition at line 47 of file slab.h.
Referenced by kmemcache_alloc(), kmemcache_free(), and slab_init_one().
ptr_t first_free |
Definition at line 48 of file slab.h.
Referenced by kmemcache_alloc(), kmemcache_free(), slab_allocate_mem(), and slab_init_one().
size_t ent_size |
Definition at line 49 of file slab.h.
Referenced by kmemcache_alloc(), slab_allocate_mem(), slab_for(), slab_init_one(), and slab_realloc().
const char* name |
Definition at line 50 of file slab.h.
Referenced by kmemcache_alloc(), kmemcache_free(), slab_allocate_mem(), and slab_init_one().
size_t nobjs |
Definition at line 51 of file slab.h.
Referenced by kmemcache_alloc(), kmemcache_free(), and slab_init_one().