Home
last modified time | relevance | path

Searched refs:orig_ret_address (Results 1 – 7 of 7) sorted by relevance

/arch/sparc/kernel/
Dkprobes.c511 unsigned long flags, orig_ret_address = 0; in trampoline_probe_handler() local
538 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
541 if (orig_ret_address != trampoline_address) in trampoline_probe_handler()
550 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_probe_handler()
551 regs->tpc = orig_ret_address; in trampoline_probe_handler()
552 regs->tnpc = orig_ret_address + 4; in trampoline_probe_handler()
/arch/arm/kernel/
Dkprobes.c296 unsigned long flags, orig_ret_address = 0; in trampoline_handler() local
327 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_handler()
330 if (orig_ret_address != trampoline_address) in trampoline_handler()
339 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_handler()
347 return (void *)orig_ret_address; in trampoline_handler()
/arch/sh/kernel/
Dkprobes.c306 unsigned long flags, orig_ret_address = 0; in trampoline_probe_handler() local
336 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
339 if (orig_ret_address != trampoline_address) in trampoline_probe_handler()
348 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_probe_handler()
350 regs->pc = orig_ret_address; in trampoline_probe_handler()
360 return orig_ret_address; in trampoline_probe_handler()
/arch/powerpc/kernel/
Dkprobes.c311 unsigned long flags, orig_ret_address = 0; in trampoline_probe_handler() local
338 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
341 if (orig_ret_address != trampoline_address) in trampoline_probe_handler()
350 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_probe_handler()
351 regs->nip = orig_ret_address; in trampoline_probe_handler()
/arch/s390/kernel/
Dkprobes.c376 unsigned long flags, orig_ret_address = 0; in trampoline_probe_handler() local
403 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
406 if (orig_ret_address != trampoline_address) { in trampoline_probe_handler()
415 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_probe_handler()
416 regs->psw.addr = orig_ret_address | PSW_ADDR_AMODE; in trampoline_probe_handler()
/arch/ia64/kernel/
Dkprobes.c427 unsigned long flags, orig_ret_address = 0; in trampoline_probe_handler() local
452 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
453 if (orig_ret_address != trampoline_address) in trampoline_probe_handler()
462 regs->cr_iip = orig_ret_address; in trampoline_probe_handler()
472 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
475 if (orig_ret_address != trampoline_address) in trampoline_probe_handler()
484 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_probe_handler()
/arch/x86/kernel/
Dkprobes.c684 unsigned long flags, orig_ret_address = 0; in trampoline_handler() local
723 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_handler()
726 if (orig_ret_address != trampoline_address) in trampoline_handler()
735 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_handler()
743 return (void *)orig_ret_address; in trampoline_handler()