Home
last modified time | relevance | path

Searched refs:trampoline_vaddr (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.6/arch/powerpc/kernel/
Duprobes.c198 arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, struct pt_regs *regs) in arch_uretprobe_hijack_return_addr() argument
205 regs->link = trampoline_vaddr; in arch_uretprobe_hijack_return_addr()
/Linux-v6.6/arch/csky/kernel/probes/
Duprobes.c126 arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, in arch_uretprobe_hijack_return_addr() argument
133 regs->lr = trampoline_vaddr; in arch_uretprobe_hijack_return_addr()
/Linux-v6.6/arch/loongarch/kernel/
Duprobes.c98 unsigned long arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, in arch_uretprobe_hijack_return_addr() argument
103 regs->regs[1] = trampoline_vaddr; in arch_uretprobe_hijack_return_addr()
/Linux-v6.6/arch/arm64/kernel/probes/
Duprobes.c150 arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, in arch_uretprobe_hijack_return_addr() argument
157 procedure_link_pointer_set(regs, trampoline_vaddr); in arch_uretprobe_hijack_return_addr()
/Linux-v6.6/arch/mips/kernel/
Duprobes.c199 unsigned long trampoline_vaddr, struct pt_regs *regs) in arch_uretprobe_hijack_return_addr() argument
206 regs->regs[31] = trampoline_vaddr; in arch_uretprobe_hijack_return_addr()
/Linux-v6.6/arch/riscv/kernel/probes/
Duprobes.c124 arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, in arch_uretprobe_hijack_return_addr() argument
131 regs->ra = trampoline_vaddr; in arch_uretprobe_hijack_return_addr()
/Linux-v6.6/arch/arm/probes/uprobes/
Dcore.c61 arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, in arch_uretprobe_hijack_return_addr() argument
68 regs->ARM_lr = trampoline_vaddr; in arch_uretprobe_hijack_return_addr()
/Linux-v6.6/arch/sparc/kernel/
Duprobes.c310 arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, in arch_uretprobe_hijack_return_addr() argument
315 regs->u_regs[UREG_I7] = trampoline_vaddr-8; in arch_uretprobe_hijack_return_addr()
/Linux-v6.6/arch/x86/kernel/
Duprobes.c1066 arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, struct pt_regs *regs) in arch_uretprobe_hijack_return_addr() argument
1075 if (orig_ret_vaddr == trampoline_vaddr) in arch_uretprobe_hijack_return_addr()
1078 nleft = copy_to_user((void __user *)regs->sp, &trampoline_vaddr, rasize); in arch_uretprobe_hijack_return_addr()
/Linux-v6.6/kernel/events/
Duprobes.c1833 unsigned long trampoline_vaddr = -1; in get_trampoline_vaddr() local
1838 trampoline_vaddr = area->vaddr; in get_trampoline_vaddr()
1840 return trampoline_vaddr; in get_trampoline_vaddr()
1860 unsigned long orig_ret_vaddr, trampoline_vaddr; in prepare_uretprobe() local
1881 trampoline_vaddr = get_trampoline_vaddr(); in prepare_uretprobe()
1882 orig_ret_vaddr = arch_uretprobe_hijack_return_addr(trampoline_vaddr, regs); in prepare_uretprobe()
1887 chained = (orig_ret_vaddr == trampoline_vaddr); in prepare_uretprobe()
/Linux-v6.6/include/linux/
Duprobes.h136 extern unsigned long arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, struct pt_re…