Typedefs | |
typedef apr_rmm_t | apr_rmm_t |
typedef apr_size_t | apr_rmm_off_t |
Functions | |
apr_status_t | apr_rmm_init (apr_rmm_t **rmm, apr_anylock_t *lock, void *membuf, apr_size_t memsize, apr_pool_t *cont) |
apr_status_t | apr_rmm_destroy (apr_rmm_t *rmm) |
apr_status_t | apr_rmm_attach (apr_rmm_t **rmm, apr_anylock_t *lock, void *membuf, apr_pool_t *cont) |
apr_status_t | apr_rmm_detach (apr_rmm_t *rmm) |
apr_rmm_off_t | apr_rmm_malloc (apr_rmm_t *rmm, apr_size_t reqsize) |
apr_rmm_off_t | apr_rmm_realloc (apr_rmm_t *rmm, void *entity, apr_size_t reqsize) |
apr_rmm_off_t | apr_rmm_calloc (apr_rmm_t *rmm, apr_size_t reqsize) |
apr_status_t | apr_rmm_free (apr_rmm_t *rmm, apr_rmm_off_t entity) |
void * | apr_rmm_addr_get (apr_rmm_t *rmm, apr_rmm_off_t entity) |
apr_rmm_off_t | apr_rmm_offset_get (apr_rmm_t *rmm, void *entity) |
apr_size_t | apr_rmm_overhead_get (int n) |
|
Fundemental allocation unit, within a spcific apr_rmm_off_t |
|
Structure to access Relocatable, Managed Memory |
|
Retrieve the physical address of a relocatable allocation of memory
|
|
Attach to a relocatable memory block already managed by the apr_rmm API.
|
|
Allocate memory from the block of relocatable memory and initialize it to zero.
|
|
Destroy a managed memory block.
|
|
Detach from the managed block of memory.
|
|
Free allocation returned by apr_rmm_malloc or apr_rmm_calloc.
|
|
Initialize a relocatable memory block to be managed by the apr_rmm API.
|
|
Allocate memory from the block of relocatable memory.
|
|
Compute the offset of a relocatable allocation of memory
|
|
Compute the required overallocation of memory needed to fit n allocs
|
|
Realloc memory from the block of relocatable memory.
|