/linux-6.6.21/drivers/misc/lkdtm/ |
D | cfi.c | 76 unsigned long * volatile *ret_addr = (unsigned long **)__builtin_frame_address(0) + 1; in set_return_addr_unchecked() local 79 if (no_pac_addr(*ret_addr) == expected) in set_return_addr_unchecked() 80 *ret_addr = (addr); in set_return_addr_unchecked() 84 *ret_addr, addr); in set_return_addr_unchecked() 91 unsigned long * volatile *ret_addr = (unsigned long **)__builtin_frame_address(0) + 1; in set_return_addr() local 94 if (no_pac_addr(*ret_addr) == expected) in set_return_addr() 95 *ret_addr = (addr); in set_return_addr() 99 *ret_addr, addr); in set_return_addr()
|
/linux-6.6.21/arch/x86/kernel/ |
D | stacktrace.c | 84 unsigned long ret_addr; member 99 __get_user(frame->ret_addr, &fp->ret_addr)) in copy_stack_frame() 118 frame.ret_addr = 0; in arch_stack_walk_user() 123 if (!frame.ret_addr) in arch_stack_walk_user() 125 if (!consume_entry(cookie, frame.ret_addr)) in arch_stack_walk_user()
|
D | rethook.c | 121 rh->ret_addr = stack[0]; in arch_rethook_prepare()
|
/linux-6.6.21/tools/perf/util/ |
D | thread-stack.c | 54 u64 ret_addr; member 238 static int thread_stack__push(struct thread_stack *ts, u64 ret_addr, in thread_stack__push() argument 252 ts->stack[ts->cnt++].ret_addr = ret_addr; in thread_stack__push() 257 static void thread_stack__pop(struct thread_stack *ts, u64 ret_addr) in thread_stack__pop() argument 271 if (ts->stack[--i].ret_addr == ret_addr) { in thread_stack__pop() 447 u64 ret_addr; in thread_stack__event() local 451 ret_addr = from_ip + insn_len; in thread_stack__event() 452 if (ret_addr == to_ip) in thread_stack__event() 454 return thread_stack__push(ts, ret_addr, in thread_stack__event() 546 ip = ts->stack[ts->cnt - j].ret_addr; in thread_stack__sample() [all …]
|
/linux-6.6.21/arch/sh/kernel/ |
D | dumpstack.c | 61 unsigned long ret_addr; in print_ftrace_graph_addr() local 73 ret_addr = ret_stack->ret; in print_ftrace_graph_addr() 75 ops->address(data, ret_addr, 1); in print_ftrace_graph_addr()
|
/linux-6.6.21/fs/nfsd/ |
D | nfsd.h | 425 size_t ret_addr, ret_port; in nfsd4_set_netaddr() local 441 ret_addr = rpc_ntop(addr, netaddr->addr, sizeof(netaddr->addr)); in nfsd4_set_netaddr() 442 ret_port = snprintf(netaddr->addr + ret_addr, in nfsd4_set_netaddr() 443 RPCBIND_MAXUADDRLEN + 1 - ret_addr, in nfsd4_set_netaddr() 445 WARN_ON(ret_port >= RPCBIND_MAXUADDRLEN + 1 - ret_addr); in nfsd4_set_netaddr() 446 netaddr->addr_len = ret_addr + ret_port; in nfsd4_set_netaddr()
|
/linux-6.6.21/arch/powerpc/boot/ |
D | devtree.c | 243 u64 ret_addr, ret_size; in dt_xlate() local 306 ret_addr = ((u64)be32_to_cpu(last_addr[2]) << 32) | be32_to_cpu(last_addr[3]); in dt_xlate() 308 (ret_addr >= 0x100000000ULL || ret_size > 0x100000000ULL || in dt_xlate() 309 ret_addr + ret_size > 0x100000000ULL)) in dt_xlate() 312 *addr = ret_addr; in dt_xlate()
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | rethook.c | 20 rhn->ret_addr = regs->regs[1]; in arch_rethook_prepare()
|
/linux-6.6.21/arch/riscv/kernel/probes/ |
D | rethook.c | 20 rhn->ret_addr = regs->ra; in arch_rethook_prepare()
|
/linux-6.6.21/arch/s390/kernel/ |
D | rethook.c | 8 rh->ret_addr = regs->gprs[14]; in arch_rethook_prepare()
|
/linux-6.6.21/include/linux/ |
D | kprobes.h | 174 kprobe_opcode_t *ret_addr; 210 return ri->node.ret_addr; in get_kretprobe_retaddr() 256 return (unsigned long)ri->ret_addr; in get_kretprobe_retaddr()
|
D | rethook.h | 62 unsigned long ret_addr; member
|
/linux-6.6.21/kernel/trace/ |
D | rethook.c | 228 if (rh->ret_addr != (unsigned long)arch_rethook_trampoline) { in __rethook_find_ret_addr() 230 return rh->ret_addr; in __rethook_find_ret_addr()
|
/linux-6.6.21/arch/x86/mm/ |
D | ioremap.c | 196 void __iomem *ret_addr; in __ioremap_caller() local 304 ret_addr = (void __iomem *) (vaddr + offset); in __ioremap_caller() 305 mmiotrace_ioremap(unaligned_phys_addr, unaligned_size, ret_addr); in __ioremap_caller() 314 return ret_addr; in __ioremap_caller()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | switch_to.h | 41 unsigned long ret_addr; member
|
/linux-6.6.21/drivers/edac/ |
D | amd64_edac.c | 1110 u64 ret_addr; member 1133 ctx.ret_addr = norm_addr; in umc_normaddr_to_sysaddr() 1147 ctx.ret_addr -= hi_addr_offset; in umc_normaddr_to_sysaddr() 1277 temp_addr_y = ctx.ret_addr & GENMASK_ULL(intlv_addr_bit - 1, 0); in umc_normaddr_to_sysaddr() 1279 temp_addr_x = (ctx.ret_addr & GENMASK_ULL(63, intlv_addr_bit)) << num_intlv_bits; in umc_normaddr_to_sysaddr() 1280 ctx.ret_addr = temp_addr_x | temp_addr_i | temp_addr_y; in umc_normaddr_to_sysaddr() 1284 ctx.ret_addr += dram_base_addr; in umc_normaddr_to_sysaddr() 1292 if (ctx.ret_addr >= dram_hole_base) in umc_normaddr_to_sysaddr() 1293 ctx.ret_addr += (BIT_ULL(32) - dram_hole_base); in umc_normaddr_to_sysaddr() 1298 hashed_bit = (ctx.ret_addr >> 12) ^ in umc_normaddr_to_sysaddr() [all …]
|
/linux-6.6.21/arch/parisc/kernel/ |
D | kprobes.c | 211 ri->ret_addr = (kprobe_opcode_t *)regs->gr[2]; in arch_prepare_kretprobe()
|
/linux-6.6.21/drivers/media/platform/samsung/exynos-gsc/ |
D | gsc-core.c | 321 static int get_plane_info(struct gsc_frame *frm, u32 addr, u32 *index, u32 *ret_addr) in get_plane_info() argument 325 *ret_addr = frm->addr.y; in get_plane_info() 328 *ret_addr = frm->addr.cb; in get_plane_info() 331 *ret_addr = frm->addr.cr; in get_plane_info()
|
/linux-6.6.21/arch/arc/kernel/ |
D | kprobes.c | 375 ri->ret_addr = (kprobe_opcode_t *) regs->blink; in arch_prepare_kretprobe()
|
/linux-6.6.21/arch/arm64/kernel/probes/ |
D | kprobes.c | 407 ri->ret_addr = (kprobe_opcode_t *)regs->regs[30]; in arch_prepare_kretprobe()
|
/linux-6.6.21/arch/csky/kernel/probes/ |
D | kprobes.c | 399 ri->ret_addr = (kprobe_opcode_t *)regs->lr; in arch_prepare_kretprobe()
|
/linux-6.6.21/arch/sparc/kernel/ |
D | kprobes.c | 438 ri->ret_addr = (kprobe_opcode_t *)(regs->u_regs[UREG_RETPC] + 8); in arch_prepare_kretprobe()
|
/linux-6.6.21/arch/arm/probes/kprobes/ |
D | core.c | 423 ri->ret_addr = (kprobe_opcode_t *)regs->ARM_lr; in arch_prepare_kretprobe()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | process.c | 2286 unsigned long ret_addr; in show_stack() local 2315 ret_addr = ftrace_graph_ret_addr(current, in show_stack() 2317 if (ret_addr != ip) in show_stack() 2318 pr_cont(" (%pS)", (void *)ret_addr); in show_stack()
|
/linux-6.6.21/arch/mips/kernel/ |
D | kprobes.c | 484 ri->ret_addr = (kprobe_opcode_t *) regs->regs[31]; in arch_prepare_kretprobe()
|