Next:
16.1 Introduction
Up:
Part IV: Component Libraries
Previous:
15.2 Functions
16 List-based Memory Manager:
liboskit_lmm.a
16.1 Introduction
16.2 Memory regions
16.2.1 Region flags
16.2.2 Allocation priority
16.3 Example use
16.4 Restrictions and guarantees
16.5 Sanity checking
16.6 API reference
16.6.1
lmm_init
: initialize an LMM pool
16.6.2
lmm_add_region
: register a memory region in an LMM pool
16.6.3
lmm_add_free
: add a block of free memory to an LMM pool
16.6.4
lmm_remove_free
: remove a block of memory from an LMM pool
16.6.5
lmm_alloc
: allocate memory
16.6.6
lmm_alloc_aligned
: allocate memory with a specific alignment
16.6.7
lmm_alloc_gen
: allocate memory with general constraints
16.6.8
lmm_alloc_page
: allocate a page of memory
16.6.9
lmm_free
: free previously-allocated memory
16.6.10
lmm_free_page
: free a page allocated with lmm_alloc_page
16.6.11
lmm_avail
: find the amount of free memory in an LMM pool
16.6.12
lmm_find_free
: scan a memory pool for free blocks
16.6.13
lmm_dump
: display the free memory list in an LMM pool
Utah Flux Research Group