Searched refs:chunk_hooks (Results 1 – 8 of 8) sorted by relevance
/external/jemalloc/src/ |
D | chunk.c | 53 chunk_hooks_t *chunk_hooks, extent_tree_t *chunks_szsnad, 63 return (arena->chunk_hooks); in chunk_hooks_get_locked() 69 chunk_hooks_t chunk_hooks; in chunk_hooks_get() local 72 chunk_hooks = chunk_hooks_get_locked(arena); in chunk_hooks_get() 75 return (chunk_hooks); in chunk_hooks_get() 79 chunk_hooks_set(tsdn_t *tsdn, arena_t *arena, const chunk_hooks_t *chunk_hooks) in chunk_hooks_set() argument 84 old_chunk_hooks = arena->chunk_hooks; in chunk_hooks_set() 97 u.n = &arena->chunk_hooks.n; \ in chunk_hooks_set() 98 atomic_write_p(u.v, chunk_hooks->n); \ in chunk_hooks_set() 115 chunk_hooks_t *chunk_hooks, bool locked) in chunk_hooks_assure_initialized_impl() argument [all …]
|
D | arena.c | 440 if (flag_decommitted != 0 && arena->chunk_hooks.commit(chunk, chunksize, in arena_run_split_large_helper() 528 if (flag_decommitted != 0 && arena->chunk_hooks.commit(chunk, chunksize, in arena_run_split_small() 588 chunk_hooks_t *chunk_hooks, bool *zero, bool *commit) in arena_chunk_alloc_internal_hard() argument 595 chunk = (arena_chunk_t *)chunk_alloc_wrapper(tsdn, arena, chunk_hooks, in arena_chunk_alloc_internal_hard() 599 if (chunk_hooks->commit(chunk, chunksize, 0, map_bias << in arena_chunk_alloc_internal_hard() 601 chunk_dalloc_wrapper(tsdn, arena, chunk_hooks, in arena_chunk_alloc_internal_hard() 610 chunk_hooks->decommit(chunk, chunksize, 0, map_bias << in arena_chunk_alloc_internal_hard() 613 chunk_dalloc_wrapper(tsdn, arena, chunk_hooks, (void *)chunk, in arena_chunk_alloc_internal_hard() 627 chunk_hooks_t chunk_hooks = CHUNK_HOOKS_INITIALIZER; in arena_chunk_alloc_internal() local 630 chunk = chunk_alloc_cache(tsdn, arena, &chunk_hooks, NULL, chunksize, in arena_chunk_alloc_internal() [all …]
|
D | huge.c | 158 chunk_hooks_t chunk_hooks = CHUNK_HOOKS_INITIALIZER; in huge_ralloc_no_move_similar() local 182 &chunk_hooks, ptr, CHUNK_CEILING(oldsize), usize, in huge_ralloc_no_move_similar() 220 chunk_hooks_t chunk_hooks; in huge_ralloc_no_move_shrink() local 227 chunk_hooks = chunk_hooks_get(tsdn, arena); in huge_ralloc_no_move_shrink() 233 if (cdiff != 0 && chunk_hooks.split(ptr, CHUNK_CEILING(oldsize), in huge_ralloc_no_move_shrink() 245 &chunk_hooks, CHUNK_ADDR2BASE((uintptr_t)ptr + in huge_ralloc_no_move_shrink()
|
D | chunk_dss.c | 161 chunk_hooks_t chunk_hooks = in chunk_alloc_dss() local 164 &chunk_hooks, cpad, cpad_size, in chunk_alloc_dss()
|
/external/jemalloc/include/jemalloc/internal/ |
D | chunk.h | 57 const chunk_hooks_t *chunk_hooks); 64 chunk_hooks_t *chunk_hooks, void *new_addr, size_t size, size_t alignment, 67 chunk_hooks_t *chunk_hooks, void *new_addr, size_t size, size_t alignment, 70 chunk_hooks_t *chunk_hooks, void *chunk, size_t size, size_t sn, 73 chunk_hooks_t *chunk_hooks, void *chunk, size_t size, size_t sn, 76 chunk_hooks_t *chunk_hooks, void *chunk, size_t size, size_t offset,
|
D | arena.h | 492 chunk_hooks_t chunk_hooks; member
|
/external/jemalloc_new/ |
D | ChangeLog | 320 + arena.<i>.chunk_hooks 656 visible to custom functions set via the "arena.<i>.chunk_hooks" mallctl. 717 via the "arena.<i>.chunk_hooks" mallctl.
|
/external/jemalloc/ |
D | ChangeLog | 282 visible to custom functions set via the "arena.<i>.chunk_hooks" mallctl. 343 via the "arena.<i>.chunk_hooks" mallctl.
|