Lines Matching refs:old_hooks
107 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()
173 assert_ptr_ne(old_hooks->purge_forced, extent_purge_forced_hook, in test_manual_hook_body()
175 assert_ptr_ne(old_hooks->split, extent_split_hook, in test_manual_hook_body()
177 assert_ptr_ne(old_hooks->merge, extent_merge_hook, in test_manual_hook_body()
186 (void *)&old_hooks, new_size), 0, "Unexpected extent_hooks error"); in test_manual_hook_body()
187 assert_d_eq(mallctlbymib(hooks_mib, hooks_miblen, (void *)&old_hooks, in test_manual_hook_body()
189 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()