Home
last modified time | relevance | path

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

/external/jemalloc_new/test/include/test/
Dextent_hooks.h28 static extent_hooks_t *default_hooks; variable
97 ret = default_hooks->alloc(default_hooks, new_addr, size, alignment, in extent_alloc_hook()
119 err = default_hooks->dalloc(default_hooks, addr, size, committed, 0); in extent_dalloc_hook()
138 default_hooks->destroy(default_hooks, addr, size, committed, 0); in extent_destroy_hook()
158 err = default_hooks->commit(default_hooks, addr, size, offset, length, in extent_commit_hook()
180 err = default_hooks->decommit(default_hooks, addr, size, offset, length, in extent_decommit_hook()
202 err = default_hooks->purge_lazy == NULL || in extent_purge_lazy_hook()
203 default_hooks->purge_lazy(default_hooks, addr, size, offset, length, in extent_purge_lazy_hook()
225 err = default_hooks->purge_forced == NULL || in extent_purge_forced_hook()
226 default_hooks->purge_forced(default_hooks, addr, size, offset, in extent_purge_forced_hook()
[all …]
/external/jemalloc_new/test/integration/
Dextent.c189 assert_ptr_eq(old_hooks, default_hooks, "Unexpected extent_hooks error"); in test_manual_hook_body()
190 assert_ptr_eq(old_hooks->alloc, default_hooks->alloc, in test_manual_hook_body()
192 assert_ptr_eq(old_hooks->dalloc, default_hooks->dalloc, in test_manual_hook_body()
194 assert_ptr_eq(old_hooks->commit, default_hooks->commit, in test_manual_hook_body()
196 assert_ptr_eq(old_hooks->decommit, default_hooks->decommit, in test_manual_hook_body()
198 assert_ptr_eq(old_hooks->purge_lazy, default_hooks->purge_lazy, in test_manual_hook_body()
200 assert_ptr_eq(old_hooks->purge_forced, default_hooks->purge_forced, in test_manual_hook_body()
202 assert_ptr_eq(old_hooks->split, default_hooks->split, in test_manual_hook_body()
204 assert_ptr_eq(old_hooks->merge, default_hooks->merge, in test_manual_hook_body()