/arch/parisc/kernel/ |
D | kprobes.c | 197 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/ |
D | core.c | 419 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/ |
D | kprobes.c | 457 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/ |
D | kprobes.c | 371 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/ |
D | kprobes.c | 471 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/ |
D | kprobes.c | 403 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/ |
D | kprobes.c | 308 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/ |
D | kprobes.c | 402 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/ |
D | kprobes.c | 494 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/ |
D | core.c | 768 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/ |
D | kprobes.c | 412 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()
|