Home
last modified time | relevance | path

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

/openbmc/linux/kernel/trace/
H A Drethook.c23 struct rethook_node *rhn; in rethook_flush_task() local
28 rhn = container_of(node, struct rethook_node, llist); in rethook_flush_task()
31 rethook_recycle(rhn); in rethook_flush_task()
39 struct rethook_node *rhn; in rethook_free_rcu() local
45 rhn = container_of(node, struct rethook_node, freelist); in rethook_free_rcu()
47 kfree(rhn); in rethook_free_rcu()
257 struct rethook_node *rhn = NULL; in rethook_find_ret_addr() local
270 rhn = container_of(*cur, struct rethook_node, llist); in rethook_find_ret_addr()
271 } while (rhn->frame != frame); in rethook_find_ret_addr()
295 struct rethook_node *rhn; in rethook_trampoline_handler() local
[all …]
/openbmc/linux/arch/loongarch/kernel/
H A 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()
H A Drethook.h6 void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount);
/openbmc/linux/arch/riscv/kernel/probes/
H 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()
H A Drethook.h6 void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount);
/openbmc/linux/kernel/
H A Dkprobes.c2134 struct rethook_node *rhn; in pre_handler_kretprobe() local
2136 rhn = rethook_try_get(rp->rh); in pre_handler_kretprobe()
2137 if (!rhn) { in pre_handler_kretprobe()
2142 ri = container_of(rhn, struct kretprobe_instance, node); in pre_handler_kretprobe()
2145 rethook_recycle(rhn); in pre_handler_kretprobe()
2147 rethook_hook(rhn, regs, kprobe_ftrace(p)); in pre_handler_kretprobe()