/linux-4.4.14/tools/perf/util/ |
D | thread-stack.c | 75 u64 ret_addr; member 149 static int thread_stack__push(struct thread_stack *ts, u64 ret_addr) in thread_stack__push() argument 161 ts->stack[ts->cnt++].ret_addr = ret_addr; in thread_stack__push() 166 static void thread_stack__pop(struct thread_stack *ts, u64 ret_addr) in thread_stack__pop() argument 180 if (ts->stack[--i].ret_addr == ret_addr) { in thread_stack__pop() 284 u64 ret_addr; in thread_stack__event() local 288 ret_addr = from_ip + insn_len; in thread_stack__event() 289 if (ret_addr == to_ip) in thread_stack__event() 291 return thread_stack__push(thread->ts, ret_addr); in thread_stack__event() 335 chain->ips[i] = thread->ts->stack[thread->ts->cnt - i].ret_addr; in thread_stack__sample() [all …]
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | ftrace.h | 36 unsigned long *endstack, *fp, *ret_addr; in return_address() local 53 ret_addr = (unsigned long *)*(fp + 1); in return_address() 55 ret_addr = NULL; in return_address() 57 return ret_addr; in return_address()
|
/linux-4.4.14/arch/x86/kernel/ |
D | dumpstack.c | 48 unsigned long ret_addr; in print_ftrace_graph_addr() local 61 ret_addr = task->ret_stack[index].ret; in print_ftrace_graph_addr() 63 ops->address(data, ret_addr, 1); in print_ftrace_graph_addr() 130 unsigned long *ret_addr = &frame->return_address; in print_context_stack_bp() local 132 while (valid_stack_ptr(tinfo, ret_addr, sizeof(*ret_addr), end)) { in print_context_stack_bp() 133 unsigned long addr = *ret_addr; in print_context_stack_bp() 140 ret_addr = &frame->return_address; in print_context_stack_bp()
|
D | stacktrace.c | 88 unsigned long ret_addr; member 120 frame.ret_addr = 0; in __save_stack_trace_user() 125 if (frame.ret_addr) { in __save_stack_trace_user() 127 frame.ret_addr; in __save_stack_trace_user()
|
/linux-4.4.14/arch/blackfin/kernel/ |
D | dumpstack.c | 41 unsigned int i, j, ret_addr, frame_no = 0; in show_stack() local 118 ret_addr = 0; in show_stack() 130 ret_addr = is_bfin_call(ins_addr); in show_stack() 134 else if (ret_addr) in show_stack()
|
/linux-4.4.14/arch/sh/kernel/ |
D | dumpstack.c | 60 unsigned long ret_addr; in print_ftrace_graph_addr() local 70 ret_addr = task->ret_stack[index].ret; in print_ftrace_graph_addr() 72 ops->address(data, ret_addr, 1); in print_ftrace_graph_addr()
|
D | kprobes.c | 209 ri->ret_addr = (kprobe_opcode_t *) regs->pr; in arch_prepare_kretprobe() 344 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
|
/linux-4.4.14/arch/powerpc/boot/ |
D | devtree.c | 238 u64 ret_addr, ret_size; in dt_xlate() local 303 ret_addr = ((u64)last_addr[2] << 32) | last_addr[3]; in dt_xlate() 306 (ret_addr >= 0x100000000ULL || ret_size > 0x100000000ULL || in dt_xlate() 307 ret_addr + ret_size > 0x100000000ULL)) in dt_xlate() 310 *addr = ret_addr; in dt_xlate()
|
/linux-4.4.14/arch/x86/mm/ |
D | ioremap.c | 94 void __iomem *ret_addr; in __ioremap_caller() local 190 ret_addr = (void __iomem *) (vaddr + offset); in __ioremap_caller() 191 mmiotrace_ioremap(unaligned_phys_addr, unaligned_size, ret_addr); in __ioremap_caller() 200 return ret_addr; in __ioremap_caller()
|
/linux-4.4.14/arch/s390/kernel/ |
D | kprobes.c | 272 ri->ret_addr = (kprobe_opcode_t *) regs->gprs[14]; in arch_prepare_kretprobe() 426 orig_ret_address = (unsigned long) ri->ret_addr; in trampoline_probe_handler() 439 correct_ret_addr = ri->ret_addr; in trampoline_probe_handler() 445 orig_ret_address = (unsigned long) ri->ret_addr; in trampoline_probe_handler() 448 ri->ret_addr = correct_ret_addr; in trampoline_probe_handler()
|
/linux-4.4.14/arch/x86/kernel/kprobes/ |
D | core.c | 516 ri->ret_addr = (kprobe_opcode_t *) *sara; in arch_prepare_kretprobe() 750 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_handler() 763 correct_ret_addr = ri->ret_addr; in trampoline_handler() 769 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_handler() 773 ri->ret_addr = correct_ret_addr; in trampoline_handler()
|
/linux-4.4.14/arch/tile/kernel/ |
D | kprobes.c | 436 ri->ret_addr = (kprobe_opcode_t *) regs->lr; in arch_prepare_kretprobe() 478 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | kprobes.c | 137 ri->ret_addr = (kprobe_opcode_t *)regs->link; in arch_prepare_kretprobe() 324 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
|
/linux-4.4.14/arch/arc/kernel/ |
D | kprobes.c | 431 ri->ret_addr = (kprobe_opcode_t *) regs->blink; in arch_prepare_kretprobe() 470 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | kprobes.c | 505 ri->ret_addr = (kprobe_opcode_t *)(regs->u_regs[UREG_RETPC] + 8); in arch_prepare_kretprobe() 548 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
|
/linux-4.4.14/arch/mips/kernel/ |
D | kprobes.c | 590 ri->ret_addr = (kprobe_opcode_t *) regs->regs[31]; in arch_prepare_kretprobe() 632 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler()
|
/linux-4.4.14/arch/arm/probes/kprobes/ |
D | core.c | 465 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_handler() 491 ri->ret_addr = (kprobe_opcode_t *)regs->ARM_lr; in arch_prepare_kretprobe()
|
/linux-4.4.14/arch/ia64/kernel/ |
D | kprobes.c | 452 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler() 472 orig_ret_address = (unsigned long)ri->ret_addr; in trampoline_probe_handler() 505 ri->ret_addr = (kprobe_opcode_t *)regs->b0; in arch_prepare_kretprobe()
|
/linux-4.4.14/drivers/media/platform/exynos-gsc/ |
D | gsc-core.c | 322 static int get_plane_info(struct gsc_frame *frm, u32 addr, u32 *index, u32 *ret_addr) in get_plane_info() argument 326 *ret_addr = frm->addr.y; in get_plane_info() 329 *ret_addr = frm->addr.cb; in get_plane_info() 332 *ret_addr = frm->addr.cr; in get_plane_info()
|
/linux-4.4.14/include/linux/ |
D | kprobes.h | 198 kprobe_opcode_t *ret_addr; member
|
/linux-4.4.14/drivers/scsi/aic94xx/ |
D | aic94xx_seq.c | 695 u16 ret_addr[] = { in asd_init_lseq_mdp() local 711 ret_addr[i]); in asd_init_lseq_mdp() 724 ret_addr[5]); in asd_init_lseq_mdp()
|
/linux-4.4.14/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-decoder.c | 99 uint64_t ret_addr; member 908 decoder->ret_addr = intel_pt_pop(&decoder->stack); in intel_pt_walk_insn() 1067 if (!decoder->ret_addr) { in intel_pt_walk_tnt() 1084 decoder->ip = decoder->ret_addr; in intel_pt_walk_tnt()
|
/linux-4.4.14/drivers/infiniband/ulp/ipoib/ |
D | ipoib_main.c | 241 __be32 ret_addr; in ipoib_is_dev_match_addr_rcu() local 249 ret_addr = inet_confirm_addr(net, in_dev, 0, in ipoib_is_dev_match_addr_rcu() 253 if (ret_addr) in ipoib_is_dev_match_addr_rcu()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | pcie.c | 1709 u32 ret_addr; in brcmf_pcie_buscore_prep_addr() local 1711 ret_addr = addr & (BRCMF_PCIE_BAR0_REG_SIZE - 1); in brcmf_pcie_buscore_prep_addr() 1715 return ret_addr; in brcmf_pcie_buscore_prep_addr()
|
/linux-4.4.14/kernel/trace/ |
D | trace_kprobe.c | 984 entry->ret_ip = (unsigned long)ri->ret_addr; in __kretprobe_trace_func() 1184 entry->ret_ip = (unsigned long)ri->ret_addr; in kretprobe_perf_func()
|
/linux-4.4.14/Documentation/ |
D | kprobes.txt | 437 - ret_addr: the return address
|