Next:
22.1 Introduction
Up:
Part IV: Component Libraries
Previous:
21.1.5 dlerror: Return an
22 List-based Memory Manager:
liboskit_lmm.a
22.1 Introduction
22.2 Memory regions
22.2.1 Region flags
22.2.2 Allocation priority
22.3 Example use
22.4 Restrictions and guarantees
22.5 Sanity checking
22.6 API reference
22.6.1
lmm_init
: initialize an LMM pool
22.6.2
lmm_add_region
: register a memory region in an LMM pool
22.6.3
lmm_add_free
: add a block of free memory to an LMM pool
22.6.4
lmm_remove_free
: remove a block of memory from an LMM pool
22.6.5
lmm_alloc
: allocate memory
22.6.6
lmm_alloc_aligned
: allocate memory with a specific alignment
22.6.7
lmm_alloc_gen
: allocate memory with general constraints
22.6.8
lmm_alloc_page
: allocate a page of memory
22.6.9
lmm_free
: free previously-allocated memory
22.6.10
lmm_free_page
: free a page allocated with lmm_alloc_page
22.6.11
lmm_avail
: find the amount of free memory in an LMM pool
22.6.12
lmm_find_free
: scan a memory pool for free blocks
22.6.13
lmm_dump
: display the free memory list in an LMM pool
22.6.14
lmm_stats
: display statistics for an LMM pool
Utah Flux Research Group