Next:
15.1 Introduction
Up:
Part IV: Component Libraries
Previous:
14.2 Functions
15 List-based Memory Manager:
liboskit_lmm.a
15.1 Introduction
15.2 Memory regions
15.2.1 Region flags
15.2.2 Allocation priority
15.3 Example use
15.4 Restrictions and guarantees
15.5 Sanity checking
15.6 API reference
15.6.1
lmm_init
: initialize an LMM pool
15.6.2
lmm_add_region
: register a memory region in an LMM pool
15.6.3
lmm_add_free
: add a block of free memory to an LMM pool
15.6.4
lmm_remove_free
: remove a block of memory from an LMM pool
15.6.5
lmm_alloc
: allocate memory
15.6.6
lmm_alloc_aligned
: allocate memory with a specific alignment
15.6.7
lmm_alloc_gen
: allocate memory with general constraints
15.6.8
lmm_alloc_page
: allocate a page of memory
15.6.9
lmm_free
: free previously-allocated memory
15.6.10
lmm_free_page
: free a page allocated with lmm_alloc_page
15.6.11
lmm_avail
: find the amount of free memory in an LMM pool
15.6.12
lmm_find_free
: scan a memory pool for free blocks
15.6.13
lmm_dump
: display the free memory list in an LMM pool
University of Utah Flux Research Group