Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/trace/
Drethook.c22 struct rethook_node *rhn; in rethook_flush_task() local
27 rhn = container_of(node, struct rethook_node, llist); in rethook_flush_task()
30 rethook_recycle(rhn); in rethook_flush_task()
247 struct rethook_node *rhn = NULL; in rethook_find_ret_addr() local
260 rhn = container_of(*cur, struct rethook_node, llist); in rethook_find_ret_addr()
261 } while (rhn->frame != frame); in rethook_find_ret_addr()
285 struct rethook_node *rhn; in rethook_trampoline_handler() local
307 rhn = container_of(first, struct rethook_node, llist); in rethook_trampoline_handler()
308 if (WARN_ON_ONCE(rhn->frame != frame)) in rethook_trampoline_handler()
310 handler = rethook_get_handler(rhn->rethook); in rethook_trampoline_handler()
[all …]
/linux-6.12.1/arch/loongarch/kernel/
Drethook.c17 void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount) in arch_rethook_prepare() argument
19 rhn->frame = 0; in arch_rethook_prepare()
20 rhn->ret_addr = regs->regs[1]; in arch_rethook_prepare()
Drethook.h6 void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount);
/linux-6.12.1/arch/riscv/kernel/probes/
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()
Drethook.h6 void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount);
/linux-6.12.1/kernel/
Dkprobes.c2135 struct rethook_node *rhn; in pre_handler_kretprobe() local
2137 rhn = rethook_try_get(rp->rh); in pre_handler_kretprobe()
2138 if (!rhn) { in pre_handler_kretprobe()
2143 ri = container_of(rhn, struct kretprobe_instance, node); in pre_handler_kretprobe()
2146 rethook_recycle(rhn); in pre_handler_kretprobe()
2148 rethook_hook(rhn, regs, kprobe_ftrace(p)); in pre_handler_kretprobe()