Home
last modified time | relevance | path

Searched refs:rhn (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/kernel/trace/
A Drethook.c23 struct rethook_node *rhn; in rethook_flush_task() local
31 rethook_recycle(rhn); in rethook_flush_task()
39 struct rethook_node *rhn; in rethook_free_rcu() local
47 kfree(rhn); in rethook_free_rcu()
239 struct rethook_node *rhn = NULL; in rethook_find_ret_addr() local
253 } while (rhn->frame != frame); in rethook_find_ret_addr()
277 struct rethook_node *rhn; in rethook_trampoline_handler() local
300 if (WARN_ON_ONCE(rhn->frame != frame)) in rethook_trampoline_handler()
302 handler = READ_ONCE(rhn->rethook->handler); in rethook_trampoline_handler()
304 handler(rhn, rhn->rethook->data, regs); in rethook_trampoline_handler()
[all …]
/linux-6.3-rc2/arch/riscv/kernel/probes/
A Drethook.c18 void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount) in arch_rethook_prepare() argument
20 rhn->ret_addr = regs->ra; in arch_rethook_prepare()
21 rhn->frame = regs->s0; in arch_rethook_prepare()
A Drethook.h6 void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount);
/linux-6.3-rc2/kernel/
A Dkprobes.c2110 struct rethook_node *rhn; in pre_handler_kretprobe() local
2112 rhn = rethook_try_get(rp->rh); in pre_handler_kretprobe()
2113 if (!rhn) { in pre_handler_kretprobe()
2118 ri = container_of(rhn, struct kretprobe_instance, node); in pre_handler_kretprobe()
2121 rethook_recycle(rhn); in pre_handler_kretprobe()
2123 rethook_hook(rhn, regs, kprobe_ftrace(p)); in pre_handler_kretprobe()

Completed in 11 milliseconds