Searched refs:ret_addr (Results 1 - 24 of 24) sorted by relevance

/linux-4.1.27/arch/blackfin/include/asm/
H A Dftrace.h36 unsigned long *endstack, *fp, *ret_addr; return_address() local
53 ret_addr = (unsigned long *)*(fp + 1); return_address()
55 ret_addr = NULL; return_address()
57 return ret_addr; return_address()
/linux-4.1.27/tools/perf/util/
H A Dthread-stack.c67 * @ret_addr: return address
75 u64 ret_addr; member in struct:thread_stack_entry
149 static int thread_stack__push(struct thread_stack *ts, u64 ret_addr) thread_stack__push() argument
161 ts->stack[ts->cnt++].ret_addr = ret_addr; thread_stack__push()
166 static void thread_stack__pop(struct thread_stack *ts, u64 ret_addr) thread_stack__pop() argument
180 if (ts->stack[--i].ret_addr == ret_addr) { thread_stack__pop()
276 u64 ret_addr; thread_stack__event() local
280 ret_addr = from_ip + insn_len; thread_stack__event()
281 if (ret_addr == to_ip) thread_stack__event()
283 return thread_stack__push(thread->ts, ret_addr); thread_stack__event()
327 chain->ips[i] = thread->ts->stack[thread->ts->cnt - i].ret_addr; thread_stack__sample()
461 static int thread_stack__push_cp(struct thread_stack *ts, u64 ret_addr, thread_stack__push_cp() argument
475 tse->ret_addr = ret_addr; thread_stack__push_cp()
486 u64 ret_addr, u64 timestamp, u64 ref, thread_stack__pop_cp()
502 if (ts->stack[ts->cnt - 1].ret_addr == ret_addr) { thread_stack__pop_cp()
509 if (ts->stack[i].ret_addr != ret_addr) thread_stack__pop_cp()
646 u64 ret_addr; thread_stack__trace_end() local
657 ret_addr = sample->ip + sample->insn_len; thread_stack__trace_end()
659 return thread_stack__push_cp(ts, ret_addr, sample->time, ref, cp, thread_stack__trace_end()
712 u64 ret_addr; thread_stack__process() local
717 ret_addr = sample->ip + sample->insn_len; thread_stack__process()
718 if (ret_addr == sample->addr) thread_stack__process()
726 err = thread_stack__push_cp(ts, ret_addr, sample->time, ref, thread_stack__process()
485 thread_stack__pop_cp(struct thread *thread, struct thread_stack *ts, u64 ret_addr, u64 timestamp, u64 ref, struct symbol *sym) thread_stack__pop_cp() argument
/linux-4.1.27/arch/x86/kernel/
H A Dstacktrace.c88 unsigned long ret_addr; member in struct:stack_frame_user
120 frame.ret_addr = 0; __save_stack_trace_user()
125 if (frame.ret_addr) { __save_stack_trace_user()
127 frame.ret_addr; __save_stack_trace_user()
H A Ddumpstack.c48 unsigned long ret_addr; print_ftrace_graph_addr() local
61 ret_addr = task->ret_stack[index].ret; print_ftrace_graph_addr()
63 ops->address(data, ret_addr, 1); print_ftrace_graph_addr()
130 unsigned long *ret_addr = &frame->return_address; print_context_stack_bp() local
132 while (valid_stack_ptr(tinfo, ret_addr, sizeof(*ret_addr), end)) { print_context_stack_bp()
133 unsigned long addr = *ret_addr; print_context_stack_bp()
140 ret_addr = &frame->return_address; print_context_stack_bp()
/linux-4.1.27/arch/sh/kernel/
H A Ddumpstack.c60 unsigned long ret_addr; print_ftrace_graph_addr() local
70 ret_addr = task->ret_stack[index].ret; print_ftrace_graph_addr()
72 ops->address(data, ret_addr, 1); print_ftrace_graph_addr()
H A Dkprobes.c209 ri->ret_addr = (kprobe_opcode_t *) regs->pr; arch_prepare_kretprobe()
329 * function, the first instance's ret_addr will point to the trampoline_probe_handler()
344 orig_ret_address = (unsigned long)ri->ret_addr; hlist_for_each_entry_safe()
/linux-4.1.27/arch/blackfin/kernel/
H A Ddumpstack.c41 unsigned int i, j, ret_addr, frame_no = 0; show_stack() local
118 ret_addr = 0; show_stack()
130 ret_addr = is_bfin_call(ins_addr); show_stack()
134 else if (ret_addr) show_stack()
/linux-4.1.27/arch/powerpc/boot/
H A Ddevtree.c238 u64 ret_addr, ret_size; dt_xlate() local
303 ret_addr = ((u64)last_addr[2] << 32) | last_addr[3]; dt_xlate()
306 (ret_addr >= 0x100000000ULL || ret_size > 0x100000000ULL || dt_xlate()
307 ret_addr + ret_size > 0x100000000ULL)) dt_xlate()
310 *addr = ret_addr; dt_xlate()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dcommonring.c242 void *ret_addr; brcmf_commonring_get_read_ptr() local
254 ret_addr = commonring->buf_addr + brcmf_commonring_get_read_ptr()
261 brcmf_dma_invalidate_cache(ret_addr, *n_ items * commonring->item_len); brcmf_commonring_get_read_ptr()
263 return ret_addr; brcmf_commonring_get_read_ptr()
H A Dpcie.c1513 u32 ret_addr; brcmf_pcie_buscore_prep_addr() local
1515 ret_addr = addr & (BRCMF_PCIE_BAR0_REG_SIZE - 1); brcmf_pcie_buscore_prep_addr()
1519 return ret_addr; brcmf_pcie_buscore_prep_addr()
/linux-4.1.27/arch/s390/kernel/
H A Dkprobes.c272 ri->ret_addr = (kprobe_opcode_t *) regs->gprs[14]; arch_prepare_kretprobe()
413 * function, the first instance's ret_addr will point to the trampoline_probe_handler()
426 orig_ret_address = (unsigned long) ri->ret_addr; hlist_for_each_entry_safe()
439 correct_ret_addr = ri->ret_addr; hlist_for_each_entry_safe()
445 orig_ret_address = (unsigned long) ri->ret_addr; hlist_for_each_entry_safe()
448 ri->ret_addr = correct_ret_addr; hlist_for_each_entry_safe()
/linux-4.1.27/arch/x86/mm/
H A Dioremap.c93 void __iomem *ret_addr; __ioremap_caller() local
194 ret_addr = (void __iomem *) (vaddr + offset); __ioremap_caller()
195 mmiotrace_ioremap(unaligned_phys_addr, unaligned_size, ret_addr); __ioremap_caller()
204 return ret_addr; __ioremap_caller()
/linux-4.1.27/arch/sparc/kernel/
H A Dkprobes.c499 * value kept in ri->ret_addr so we don't need to keep adjusting it
505 ri->ret_addr = (kprobe_opcode_t *)(regs->u_regs[UREG_RETPC] + 8); arch_prepare_kretprobe()
536 * function, the first instance's ret_addr will point to the trampoline_probe_handler()
548 orig_ret_address = (unsigned long)ri->ret_addr; hlist_for_each_entry_safe()
/linux-4.1.27/arch/tile/kernel/
H A Dkprobes.c436 ri->ret_addr = (kprobe_opcode_t *) regs->lr; arch_prepare_kretprobe()
466 * function, the first instance's ret_addr will point to the trampoline_probe_handler()
478 orig_ret_address = (unsigned long)ri->ret_addr; hlist_for_each_entry_safe()
/linux-4.1.27/arch/powerpc/kernel/
H A Dkprobes.c137 ri->ret_addr = (kprobe_opcode_t *)regs->link; arch_prepare_kretprobe()
312 * function, the first instance's ret_addr will point to the trampoline_probe_handler()
324 orig_ret_address = (unsigned long)ri->ret_addr; hlist_for_each_entry_safe()
/linux-4.1.27/arch/arc/kernel/
H A Dkprobes.c431 ri->ret_addr = (kprobe_opcode_t *) regs->blink; arch_prepare_kretprobe()
458 * function, the first instance's ret_addr will point to the trampoline_probe_handler()
470 orig_ret_address = (unsigned long)ri->ret_addr; hlist_for_each_entry_safe()
/linux-4.1.27/arch/x86/kernel/kprobes/
H A Dcore.c516 ri->ret_addr = (kprobe_opcode_t *) *sara; arch_prepare_kretprobe()
741 * function, the (chronologically) first instance's ret_addr trampoline_handler()
750 orig_ret_address = (unsigned long)ri->ret_addr; hlist_for_each_entry_safe()
763 correct_ret_addr = ri->ret_addr; hlist_for_each_entry_safe()
769 orig_ret_address = (unsigned long)ri->ret_addr; hlist_for_each_entry_safe()
773 ri->ret_addr = correct_ret_addr; hlist_for_each_entry_safe()
/linux-4.1.27/arch/mips/kernel/
H A Dkprobes.c590 ri->ret_addr = (kprobe_opcode_t *) regs->regs[31]; arch_prepare_kretprobe()
620 * function, the first instance's ret_addr will point to the trampoline_probe_handler()
632 orig_ret_address = (unsigned long)ri->ret_addr; hlist_for_each_entry_safe()
/linux-4.1.27/arch/arm/probes/kprobes/
H A Dcore.c449 * function, the first instance's ret_addr will point to the trampoline_handler()
465 orig_ret_address = (unsigned long)ri->ret_addr; hlist_for_each_entry_safe()
491 ri->ret_addr = (kprobe_opcode_t *)regs->ARM_lr; arch_prepare_kretprobe()
/linux-4.1.27/drivers/media/platform/exynos-gsc/
H A Dgsc-core.c322 static int get_plane_info(struct gsc_frame *frm, u32 addr, u32 *index, u32 *ret_addr) get_plane_info() argument
326 *ret_addr = frm->addr.y; get_plane_info()
329 *ret_addr = frm->addr.cb; get_plane_info()
332 *ret_addr = frm->addr.cr; get_plane_info()
/linux-4.1.27/arch/ia64/kernel/
H A Dkprobes.c443 * function, the first instance's ret_addr will point to the trampoline_probe_handler()
452 orig_ret_address = (unsigned long)ri->ret_addr; hlist_for_each_entry_safe()
472 orig_ret_address = (unsigned long)ri->ret_addr; hlist_for_each_entry_safe()
505 ri->ret_addr = (kprobe_opcode_t *)regs->b0; arch_prepare_kretprobe()
/linux-4.1.27/drivers/scsi/aic94xx/
H A Daic94xx_seq.c695 u16 ret_addr[] = { asd_init_lseq_mdp() local
711 ret_addr[i]); asd_init_lseq_mdp()
724 ret_addr[5]); asd_init_lseq_mdp()
/linux-4.1.27/include/linux/
H A Dkprobes.h198 kprobe_opcode_t *ret_addr; member in struct:kretprobe_instance
/linux-4.1.27/kernel/trace/
H A Dtrace_kprobe.c996 entry->ret_ip = (unsigned long)ri->ret_addr; __kretprobe_trace_func()
1196 entry->ret_ip = (unsigned long)ri->ret_addr; kretprobe_perf_func()

Completed in 716 milliseconds