Lines Matching full:hook
3 #include "jemalloc/internal/hook.h"
77 char *hook = (char *)opaque; in hook_remove() local
78 assert(hooks_begin <= hook && hook < hooks_end in hook_remove()
79 && (hook - hooks_begin) % sizeof(seq_hooks_t) == 0); in hook_remove()
110 * - Right now, we turn on reentrancy during things like extent hook in hook_reentrantp()
114 * - If a hook allocates, we may want it to be relatively fast (after in hook_reentrantp()
158 hooks_internal_t hook; in hook_invoke_alloc() local
159 FOR_EACH_HOOK_BEGIN(&hook) in hook_invoke_alloc()
160 hook_alloc h = hook.hooks.alloc_hook; in hook_invoke_alloc()
162 h(hook.hooks.extra, type, result, result_raw, args_raw); in hook_invoke_alloc()
172 hooks_internal_t hook; in hook_invoke_dalloc() local
173 FOR_EACH_HOOK_BEGIN(&hook) in hook_invoke_dalloc()
174 hook_dalloc h = hook.hooks.dalloc_hook; in hook_invoke_dalloc()
176 h(hook.hooks.extra, type, address, args_raw); in hook_invoke_dalloc()
186 hooks_internal_t hook; in hook_invoke_expand() local
187 FOR_EACH_HOOK_BEGIN(&hook) in hook_invoke_expand()
188 hook_expand h = hook.hooks.expand_hook; in hook_invoke_expand()
190 h(hook.hooks.extra, type, address, old_usize, new_usize, in hook_invoke_expand()