Home
last modified time | relevance | path

Searched refs:old_hooks (Results 1 – 2 of 2) sorted by relevance

/external/jemalloc_new/test/integration/
Dextent.c107 extent_hooks_t *new_hooks, *old_hooks; in test_manual_hook_auto_arena() local
127 assert_d_eq(mallctlbymib(hooks_mib, hooks_miblen, (void *)&old_hooks, in test_manual_hook_auto_arena()
131 if (old_hooks != &hooks) { in test_manual_hook_auto_arena()
144 extent_hooks_t *new_hooks, *old_hooks; in test_manual_hook_body() local
160 assert_d_eq(mallctlbymib(hooks_mib, hooks_miblen, (void *)&old_hooks, in test_manual_hook_body()
163 assert_ptr_ne(old_hooks->alloc, extent_alloc_hook, in test_manual_hook_body()
165 assert_ptr_ne(old_hooks->dalloc, extent_dalloc_hook, in test_manual_hook_body()
167 assert_ptr_ne(old_hooks->commit, extent_commit_hook, in test_manual_hook_body()
169 assert_ptr_ne(old_hooks->decommit, extent_decommit_hook, in test_manual_hook_body()
171 assert_ptr_ne(old_hooks->purge_lazy, extent_purge_lazy_hook, in test_manual_hook_body()
[all …]
/external/jemalloc/test/integration/
Dchunk.c8 static chunk_hooks_t old_hooks; variable
36 return (old_hooks.alloc(new_addr, size, alignment, zero, commit, in chunk_alloc()
49 return (old_hooks.dalloc(chunk, size, committed, arena_ind)); in chunk_dalloc()
61 err = old_hooks.commit(chunk, size, offset, length, arena_ind); in chunk_commit()
77 err = old_hooks.decommit(chunk, size, offset, length, arena_ind); in chunk_decommit()
91 return (old_hooks.purge(chunk, size, offset, length, arena_ind)); in chunk_purge()
103 return (old_hooks.split(chunk, size, size_a, size_b, committed, in chunk_split()
116 return (old_hooks.merge(chunk_a, size_a, chunk_b, size_b, in chunk_merge()
151 assert_d_eq(mallctlbymib(hooks_mib, hooks_miblen, (void *)&old_hooks, in TEST_BEGIN()
154 orig_hooks = old_hooks; in TEST_BEGIN()
[all …]