Lines Matching refs:handler
68 WRITE_ONCE(rh->handler, NULL); in rethook_free()
82 struct rethook *rethook_alloc(void *data, rethook_handler_t handler) in rethook_alloc() argument
86 if (!rh || !handler) { in rethook_alloc()
92 rh->handler = handler; in rethook_alloc()
134 if (likely(READ_ONCE(node->rethook->handler))) in rethook_recycle()
150 rethook_handler_t handler = READ_ONCE(rh->handler); in rethook_try_get() local
156 if (unlikely(!handler)) in rethook_try_get()
276 rethook_handler_t handler; in rethook_trampoline_handler() local
302 handler = READ_ONCE(rhn->rethook->handler); in rethook_trampoline_handler()
303 if (handler) in rethook_trampoline_handler()
304 handler(rhn, rhn->rethook->data, regs); in rethook_trampoline_handler()