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

Data Fields

ak_ca_segment main_root
 
ak_ca_segment empty_root
 
ak_free_list_node free_root
 
ak_u32 nempty
 
ak_u32 release
 
ak_u32 RELEASE_RATE
 
ak_u32 MAX_SEGMENTS_TO_FREE
 
ak_sz MIN_SIZE_TO_SPLIT
 
ak_spinlock LOCKED
 

Detailed Description

The root for a coalescing allocator.

Definition at line 1821 of file malloc.c.

Field Documentation

ak_ca_segment ak_ca_root::empty_root

root of empty segments

Definition at line 1824 of file malloc.c.

ak_free_list_node ak_ca_root::free_root

root of the free list

Definition at line 1826 of file malloc.c.

ak_spinlock ak_ca_root::LOCKED

lock for this allocator if locks are enabled

Definition at line 1836 of file malloc.c.

ak_ca_segment ak_ca_root::main_root

root of non empty segments

Definition at line 1823 of file malloc.c.

ak_u32 ak_ca_root::MAX_SEGMENTS_TO_FREE

number of segments to free when release is done

Definition at line 1832 of file malloc.c.

ak_sz ak_ca_root::MIN_SIZE_TO_SPLIT

minimum size of split node to decide whether to split a free list node

Definition at line 1833 of file malloc.c.

ak_u32 ak_ca_root::nempty

number of empty segments

Definition at line 1828 of file malloc.c.

ak_u32 ak_ca_root::release

number of segments freed since last release

Definition at line 1829 of file malloc.c.

ak_u32 ak_ca_root::RELEASE_RATE

release rate for this root

Definition at line 1831 of file malloc.c.


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