Slab allocator
Definition at line 1340 of file malloc.c.
ak_u32 ak_slab_root::_unused |
ak_slab ak_slab_root::empty_root |
root of the empty slab list
Definition at line 1351 of file malloc.c.
ak_slab ak_slab_root::full_root |
root of the full slab list
Definition at line 1350 of file malloc.c.
ak_spinlock ak_slab_root::LOCKED |
lock for this allocator if locks are enabled
Definition at line 1355 of file malloc.c.
ak_u32 ak_slab_root::MAX_PAGES_TO_FREE |
number of pages to free when release happens
Definition at line 1354 of file malloc.c.
ak_u32 ak_slab_root::navail |
max number of available bits for the slab size sz
Definition at line 1344 of file malloc.c.
ak_u32 ak_slab_root::nempty |
number of empty pages
Definition at line 1345 of file malloc.c.
ak_u32 ak_slab_root::npages |
number of pages to obtain from the OS
Definition at line 1343 of file malloc.c.
ak_slab ak_slab_root::partial_root |
root of the partially filled slab list
Definition at line 1349 of file malloc.c.
ak_u32 ak_slab_root::release |
number of accumulated free empty pages since last release
Definition at line 1346 of file malloc.c.
ak_u32 ak_slab_root::RELEASE_RATE |
number of pages moved to empty before a release
Definition at line 1353 of file malloc.c.
the size of elements in this slab
Definition at line 1342 of file malloc.c.
The documentation for this struct was generated from the following file: