Searched refs:chunk_hooks (Results 1 – 7 of 7) sorted by relevance
/external/jemalloc/src/ |
D | chunk.c | 52 static void chunk_record(arena_t *arena, chunk_hooks_t *chunk_hooks, 62 return (arena->chunk_hooks); in chunk_hooks_get_locked() 68 chunk_hooks_t chunk_hooks; in chunk_hooks_get() local 71 chunk_hooks = chunk_hooks_get_locked(arena); in chunk_hooks_get() 74 return (chunk_hooks); in chunk_hooks_get() 78 chunk_hooks_set(arena_t *arena, const chunk_hooks_t *chunk_hooks) in chunk_hooks_set() argument 83 old_chunk_hooks = arena->chunk_hooks; in chunk_hooks_set() 96 u.n = &arena->chunk_hooks.n; \ in chunk_hooks_set() 97 atomic_write_p(u.v, chunk_hooks->n); \ in chunk_hooks_set() 113 chunk_hooks_assure_initialized_impl(arena_t *arena, chunk_hooks_t *chunk_hooks, in chunk_hooks_assure_initialized_impl() argument [all …]
|
D | arena.c | 461 if (flag_decommitted != 0 && arena->chunk_hooks.commit(chunk, chunksize, in arena_run_split_large_helper() 549 if (flag_decommitted != 0 && arena->chunk_hooks.commit(chunk, chunksize, in arena_run_split_small() 607 arena_chunk_alloc_internal_hard(arena_t *arena, chunk_hooks_t *chunk_hooks, in arena_chunk_alloc_internal_hard() argument 614 chunk = (arena_chunk_t *)chunk_alloc_wrapper(arena, chunk_hooks, NULL, in arena_chunk_alloc_internal_hard() 618 if (chunk_hooks->commit(chunk, chunksize, 0, map_bias << in arena_chunk_alloc_internal_hard() 620 chunk_dalloc_wrapper(arena, chunk_hooks, (void *)chunk, in arena_chunk_alloc_internal_hard() 628 chunk_hooks->decommit(chunk, chunksize, 0, map_bias << in arena_chunk_alloc_internal_hard() 631 chunk_dalloc_wrapper(arena, chunk_hooks, (void *)chunk, in arena_chunk_alloc_internal_hard() 644 chunk_hooks_t chunk_hooks = CHUNK_HOOKS_INITIALIZER; in arena_chunk_alloc_internal() local 646 chunk = chunk_alloc_cache(arena, &chunk_hooks, NULL, chunksize, in arena_chunk_alloc_internal() [all …]
|
D | huge.c | 142 chunk_hooks_t chunk_hooks = CHUNK_HOOKS_INITIALIZER; in huge_ralloc_no_move_similar() local 164 post_zeroed = !chunk_purge_wrapper(arena, &chunk_hooks, in huge_ralloc_no_move_similar() 199 chunk_hooks_t chunk_hooks; in huge_ralloc_no_move_shrink() local 206 chunk_hooks = chunk_hooks_get(arena); in huge_ralloc_no_move_shrink() 212 if (cdiff != 0 && chunk_hooks.split(ptr, CHUNK_CEILING(oldsize), in huge_ralloc_no_move_shrink() 223 post_zeroed = !chunk_purge_wrapper(arena, &chunk_hooks, in huge_ralloc_no_move_shrink()
|
D | chunk_dss.c | 135 chunk_hooks_t chunk_hooks = in chunk_alloc_dss() local 138 &chunk_hooks, cpad, cpad_size, in chunk_alloc_dss()
|
/external/jemalloc/include/jemalloc/internal/ |
D | chunk.h | 57 const chunk_hooks_t *chunk_hooks); 62 void *chunk_alloc_cache(arena_t *arena, chunk_hooks_t *chunk_hooks, 65 void *chunk_alloc_wrapper(arena_t *arena, chunk_hooks_t *chunk_hooks, 67 void chunk_dalloc_cache(arena_t *arena, chunk_hooks_t *chunk_hooks, 69 void chunk_dalloc_wrapper(arena_t *arena, chunk_hooks_t *chunk_hooks, 71 bool chunk_purge_wrapper(arena_t *arena, chunk_hooks_t *chunk_hooks,
|
D | arena.h | 460 chunk_hooks_t chunk_hooks; member
|
/external/jemalloc/ |
D | ChangeLog | 147 visible to custom functions set via the "arena.<i>.chunk_hooks" mallctl. 208 via the "arena.<i>.chunk_hooks" mallctl.
|