Home
last modified time | relevance | path

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

/arch/parisc/kernel/
Dkprobes.c197 unsigned long flags, orig_ret_address = 0; in trampoline_probe_handler() local
222 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
224 if (orig_ret_address != trampoline_address) in trampoline_probe_handler()
233 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_probe_handler()
241 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
252 if (orig_ret_address != trampoline_address) in trampoline_probe_handler()
267 instruction_pointer_set(regs, orig_ret_address); in trampoline_probe_handler()
/arch/arm/probes/kprobes/
Dcore.c419 unsigned long flags, orig_ret_address = 0; in trampoline_handler() local
444 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_handler()
446 if (orig_ret_address != trampoline_address) in trampoline_handler()
455 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_handler()
463 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_handler()
474 if (orig_ret_address != trampoline_address) in trampoline_handler()
490 return (void *)orig_ret_address; in trampoline_handler()
/arch/arm64/kernel/probes/
Dkprobes.c457 unsigned long flags, orig_ret_address = 0; in trampoline_probe_handler() local
483 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
485 if (orig_ret_address != trampoline_address) in trampoline_probe_handler()
494 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_probe_handler()
502 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
513 if (orig_ret_address != trampoline_address) in trampoline_probe_handler()
528 return (void *)orig_ret_address; in trampoline_probe_handler()
/arch/s390/kernel/
Dkprobes.c371 unsigned long flags, orig_ret_address; in trampoline_probe_handler() local
392 orig_ret_address = 0; in trampoline_probe_handler()
400 orig_ret_address = (unsigned long) ri->ret_addr; in trampoline_probe_handler()
402 if (orig_ret_address != trampoline_address) in trampoline_probe_handler()
411 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_probe_handler()
419 orig_ret_address = (unsigned long) ri->ret_addr; in trampoline_probe_handler()
428 if (orig_ret_address != trampoline_address) in trampoline_probe_handler()
437 regs->psw.addr = orig_ret_address; in trampoline_probe_handler()
/arch/sparc/kernel/
Dkprobes.c471 unsigned long flags, orig_ret_address = 0; in trampoline_probe_handler() local
498 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
501 if (orig_ret_address != trampoline_address) in trampoline_probe_handler()
510 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_probe_handler()
511 regs->tpc = orig_ret_address; in trampoline_probe_handler()
512 regs->tnpc = orig_ret_address + 4; in trampoline_probe_handler()
/arch/powerpc/kernel/
Dkprobes.c403 unsigned long flags, orig_ret_address = 0; in trampoline_probe_handler() local
430 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
433 if (orig_ret_address != trampoline_address) in trampoline_probe_handler()
442 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_probe_handler()
459 regs->nip = orig_ret_address - 4; in trampoline_probe_handler()
460 regs->link = orig_ret_address; in trampoline_probe_handler()
/arch/sh/kernel/
Dkprobes.c308 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()
352 regs->pc = orig_ret_address; in trampoline_probe_handler()
360 return orig_ret_address; in trampoline_probe_handler()
/arch/arc/kernel/
Dkprobes.c402 unsigned long flags, orig_ret_address = 0; in trampoline_probe_handler() local
429 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
432 if (orig_ret_address != trampoline_address) { in trampoline_probe_handler()
442 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_probe_handler()
443 regs->ret = orig_ret_address; in trampoline_probe_handler()
/arch/mips/kernel/
Dkprobes.c494 unsigned long flags, orig_ret_address = 0; in trampoline_probe_handler() local
521 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
524 if (orig_ret_address != trampoline_address) in trampoline_probe_handler()
533 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_probe_handler()
534 instruction_pointer(regs) = orig_ret_address; in trampoline_probe_handler()
/arch/x86/kernel/kprobes/
Dcore.c768 unsigned long flags, orig_ret_address = 0; in trampoline_handler() local
826 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_handler()
831 if (orig_ret_address != trampoline_address) in trampoline_handler()
840 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_handler()
850 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_handler()
860 if (orig_ret_address != trampoline_address) in trampoline_handler()
877 return (void *)orig_ret_address; in trampoline_handler()
/arch/ia64/kernel/
Dkprobes.c412 unsigned long flags, orig_ret_address = 0; in trampoline_probe_handler() local
437 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
438 if (orig_ret_address != trampoline_address) in trampoline_probe_handler()
447 regs->cr_iip = orig_ret_address; in trampoline_probe_handler()
457 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
460 if (orig_ret_address != trampoline_address) in trampoline_probe_handler()
468 kretprobe_assert(ri, orig_ret_address, trampoline_address); in trampoline_probe_handler()