Searched refs:rmm (Results 1 - 3 of 3) sorted by relevance
/freebsd-10.2-release/contrib/apr-util/misc/ |
H A D | apr_rmm.c | 25 * be empty). The base pointer, rmm->base, points at the beginning of 29 * "offset from rmm->base". 42 * i.e. rmm->base is *not* a valid address for a block, since the 76 static apr_rmm_off_t find_block_by_offset(apr_rmm_t *rmm, apr_rmm_off_t next, argument 82 struct rmm_block_t *blk = (rmm_block_t*)((char*)rmm->base + next); 97 static apr_rmm_off_t find_block_of_size(apr_rmm_t *rmm, apr_size_t size) argument 99 apr_rmm_off_t next = rmm->base->firstfree; 104 struct rmm_block_t *blk = (rmm_block_t*)((char*)rmm->base + next); 112 * never grow our rmm, we are SOL when we hit the wall. 124 struct rmm_block_t *blk = (rmm_block_t*)((char*)rmm 143 move_block(apr_rmm_t *rmm, apr_rmm_off_t this, int free) argument 434 apr_rmm_addr_get(apr_rmm_t *rmm, apr_rmm_off_t entity) argument [all...] |
/freebsd-10.2-release/contrib/apr-util/include/ |
H A D | apr_rmm.h | 47 * @param rmm The relocatable memory block 56 APU_DECLARE(apr_status_t) apr_rmm_init(apr_rmm_t **rmm, apr_anylock_t *lock, 62 * @param rmm The relocatable memory block to destroy 64 APU_DECLARE(apr_status_t) apr_rmm_destroy(apr_rmm_t *rmm); variable 68 * @param rmm The relocatable memory block 73 APU_DECLARE(apr_status_t) apr_rmm_attach(apr_rmm_t **rmm, apr_anylock_t *lock, 78 * @param rmm The relocatable memory block to detach from 80 APU_DECLARE(apr_status_t) apr_rmm_detach(apr_rmm_t *rmm); variable 84 * @param rmm The relocatable memory block 87 APU_DECLARE(apr_rmm_off_t) apr_rmm_malloc(apr_rmm_t *rmm, apr_size_ [all...] |
/freebsd-10.2-release/contrib/apr-util/test/ |
H A D | testrmm.c | 38 apr_rmm_t *rmm; local 47 /* We're going to want 10 blocks of data from our target rmm. */ 55 rv = apr_rmm_init(&rmm, NULL, apr_shm_baseaddr_get(shm), size, pool); 65 off[i] = apr_rmm_malloc(rmm, fragsize); 69 off2 = apr_rmm_malloc(rmm, FRAG_SIZE * FRAG_COUNT); 74 char *c = apr_rmm_addr_get(rmm, off[i]); 84 char **c = apr_rmm_addr_get(rmm, off[i]); 93 char **c = apr_rmm_addr_get(rmm, off[i]); 102 rv = apr_rmm_free(rmm, off[i]); 107 off[0] = apr_rmm_calloc(rmm, SHARED_SIZ [all...] |
Completed in 132 milliseconds