Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/kernel/
Duprobes.c184 arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, struct pt_regs *regs) in arch_uretprobe_hijack_return_addr() argument
191 regs->link = trampoline_vaddr; in arch_uretprobe_hijack_return_addr()
/Linux-v5.4/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-v5.4/arch/mips/kernel/
Duprobes.c197 unsigned long trampoline_vaddr, struct pt_regs *regs) in arch_uretprobe_hijack_return_addr() argument
204 regs->regs[31] = trampoline_vaddr; in arch_uretprobe_hijack_return_addr()
/Linux-v5.4/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-v5.4/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-v5.4/arch/x86/kernel/
Duprobes.c1060 arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, struct pt_regs *regs) in arch_uretprobe_hijack_return_addr() argument
1069 if (orig_ret_vaddr == trampoline_vaddr) in arch_uretprobe_hijack_return_addr()
1072 nleft = copy_to_user((void __user *)regs->sp, &trampoline_vaddr, rasize); in arch_uretprobe_hijack_return_addr()
/Linux-v5.4/kernel/events/
Duprobes.c1839 unsigned long trampoline_vaddr = -1; in get_trampoline_vaddr() local
1844 trampoline_vaddr = area->vaddr; in get_trampoline_vaddr()
1846 return trampoline_vaddr; in get_trampoline_vaddr()
1866 unsigned long orig_ret_vaddr, trampoline_vaddr; in prepare_uretprobe() local
1887 trampoline_vaddr = get_trampoline_vaddr(); in prepare_uretprobe()
1888 orig_ret_vaddr = arch_uretprobe_hijack_return_addr(trampoline_vaddr, regs); in prepare_uretprobe()
1893 chained = (orig_ret_vaddr == trampoline_vaddr); in prepare_uretprobe()
/Linux-v5.4/include/linux/
Duprobes.h136 extern unsigned long arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, struct pt_re…