akmalloc
 All Data Structures Files Functions Variables Typedefs Macros Pages
Data Fields
ak_malloc_state Struct Reference

Data Fields

ak_sz init
 
ak_slab_root slabs [16]
 
ak_ca_root ca [8]
 
ak_ca_segment map_root
 
ak_spinlock MAP_LOCK
 

Detailed Description

Private malloc like allocator

Definition at line 2535 of file malloc.c.

Field Documentation

ak_ca_root ak_malloc_state::ca[8]

coalescing allocators of different size ranges

Definition at line 2539 of file malloc.c.

ak_sz ak_malloc_state::init

whether initialized

Definition at line 2537 of file malloc.c.

ak_spinlock ak_malloc_state::MAP_LOCK

lock for mmap-ed regions if locks are enabled

Definition at line 2542 of file malloc.c.

ak_ca_segment ak_malloc_state::map_root

root of list of mmap-ed segments

Definition at line 2540 of file malloc.c.

ak_slab_root ak_malloc_state::slabs[16]

slabs of different sizes

Definition at line 2538 of file malloc.c.


The documentation for this struct was generated from the following file: