/linux-6.1.9/arch/sh/math-emu/ |
D | math.c | 26 #define FPUL (fregs->fpul) 27 #define FPSCR (fregs->fpscr) 36 #define FR ((unsigned long*)(fregs->fp_regs)) 40 #define DR ((unsigned long long*)(fregs->fp_regs)) 79 fcmp_gt(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fcmp_gt() argument 90 fcmp_eq(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fcmp_eq() argument 106 fadd(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fadd() argument 113 fsub(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fsub() argument 120 fmul(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fmul() argument 127 fdiv(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fdiv() argument [all …]
|
/linux-6.1.9/arch/x86/include/asm/ |
D | ftrace.h | 56 arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs() argument 59 if (!fregs->regs.cs) in arch_ftrace_get_regs() 61 return &fregs->regs; in arch_ftrace_get_regs() 64 #define ftrace_instruction_pointer_set(fregs, _ip) \ argument 65 do { (fregs)->regs.ip = (_ip); } while (0) 70 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | ftrace.h | 34 static __always_inline struct pt_regs *arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs() argument 37 return fregs->regs.msr ? &fregs->regs : NULL; in arch_ftrace_get_regs() 40 static __always_inline void ftrace_instruction_pointer_set(struct ftrace_regs *fregs, in ftrace_instruction_pointer_set() argument 43 regs_set_return_ip(&fregs->regs, ip); in ftrace_instruction_pointer_set() 50 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
/linux-6.1.9/arch/mips/kernel/ |
D | ptrace32.c | 95 union fpureg *fregs; in compat_arch_ptrace() local 102 fregs = get_fpu_regs(child); in compat_arch_ptrace() 109 tmp = get_fpr32(&fregs[(addr & ~1) - FPR_BASE], in compat_arch_ptrace() 113 tmp = get_fpr64(&fregs[addr - FPR_BASE], 0); in compat_arch_ptrace() 211 union fpureg *fregs = get_fpu_regs(child); in compat_arch_ptrace() local 225 set_fpr32(&fregs[(addr & ~1) - FPR_BASE], in compat_arch_ptrace() 229 set_fpr64(&fregs[addr - FPR_BASE], 0, data); in compat_arch_ptrace()
|
D | ptrace.c | 360 union fpureg *fregs = get_fpu_regs(child); in ptrace_getfpregs() local 362 __put_user(get_fpr64(&fregs[i], 0), in ptrace_getfpregs() 377 union fpureg *fregs; in ptrace_setfpregs() local 386 fregs = get_fpu_regs(child); in ptrace_setfpregs() 390 set_fpr64(&fregs[i], 0, fpr_val); in ptrace_setfpregs() 1103 union fpureg *fregs; in arch_ptrace() local 1110 fregs = get_fpu_regs(child); in arch_ptrace() 1119 tmp = get_fpr32(&fregs[(addr & ~1) - FPR_BASE], in arch_ptrace() 1124 tmp = get_fpr64(&fregs[addr - FPR_BASE], 0); in arch_ptrace() 1207 union fpureg *fregs = get_fpu_regs(child); in arch_ptrace() local [all …]
|
/linux-6.1.9/arch/s390/include/asm/ |
D | ftrace.h | 48 static __always_inline struct pt_regs *arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs() argument 50 struct pt_regs *regs = &fregs->regs; in arch_ftrace_get_regs() 57 static __always_inline void ftrace_instruction_pointer_set(struct ftrace_regs *fregs, in ftrace_instruction_pointer_set() argument 60 fregs->regs.psw.addr = ip; in ftrace_instruction_pointer_set()
|
/linux-6.1.9/arch/parisc/kernel/ |
D | ftrace.c | 59 struct ftrace_regs *fregs) in ftrace_function_trampoline() argument 63 ftrace_func(self_addr, parent, function_trace_op, fregs); in ftrace_function_trampoline() 202 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler() argument 213 regs = ftrace_get_regs(fregs); in kprobe_ftrace_handler()
|
/linux-6.1.9/kernel/trace/ |
D | fprobe.c | 23 struct ftrace_ops *ops, struct ftrace_regs *fregs) in fprobe_handler() argument 41 fp->entry_handler(fp, ip, ftrace_get_regs(fregs)); in fprobe_handler() 51 rethook_hook(rh, ftrace_get_regs(fregs), true); in fprobe_handler() 60 struct ftrace_ops *ops, struct ftrace_regs *fregs) in fprobe_kprobe_handler() argument 69 fprobe_handler(ip, parent_ip, ops, fregs); in fprobe_kprobe_handler()
|
D | trace_selftest.c | 110 struct ftrace_regs *fregs) in trace_selftest_test_probe1_func() argument 119 struct ftrace_regs *fregs) in trace_selftest_test_probe2_func() argument 128 struct ftrace_regs *fregs) in trace_selftest_test_probe3_func() argument 137 struct ftrace_regs *fregs) in trace_selftest_test_global_func() argument 146 struct ftrace_regs *fregs) in trace_selftest_test_dyn_func() argument 451 struct ftrace_regs *fregs) in trace_selftest_test_recursion_func() argument 466 struct ftrace_regs *fregs) in trace_selftest_test_recursion_safe_func() argument 585 struct ftrace_regs *fregs) in trace_selftest_test_regs_func() argument 587 struct pt_regs *regs = ftrace_get_regs(fregs); in trace_selftest_test_regs_func()
|
D | trace_functions.c | 26 struct ftrace_ops *op, struct ftrace_regs *fregs); 29 struct ftrace_ops *op, struct ftrace_regs *fregs); 32 struct ftrace_ops *op, struct ftrace_regs *fregs); 36 struct ftrace_regs *fregs); 173 struct ftrace_ops *op, struct ftrace_regs *fregs) in function_trace_call() argument 218 struct ftrace_ops *op, struct ftrace_regs *fregs) in function_stack_trace_call() argument 282 struct ftrace_regs *fregs) in function_no_repeats_trace_call() argument 328 struct ftrace_regs *fregs) in function_stack_no_repeats_trace_call() argument
|
D | trace_stack.c | 293 struct ftrace_ops *op, struct ftrace_regs *fregs) in stack_trace_call() argument
|
/linux-6.1.9/include/linux/ |
D | ftrace.h | 57 struct ftrace_ops *op, struct ftrace_regs *fregs); 110 #define arch_ftrace_get_regs(fregs) (&(fregs)->regs) argument 118 #define ftrace_instruction_pointer_set(fregs, ip) do { } while (0) argument 121 static __always_inline struct pt_regs *ftrace_get_regs(struct ftrace_regs *fregs) in ftrace_get_regs() argument 123 if (!fregs) in ftrace_get_regs() 126 return arch_ftrace_get_regs(fregs); in ftrace_get_regs() 130 struct ftrace_ops *op, struct ftrace_regs *fregs); 339 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | kprobes-ftrace.c | 17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler() argument 28 regs = ftrace_get_regs(fregs); in kprobe_ftrace_handler()
|
/linux-6.1.9/arch/x86/kernel/kprobes/ |
D | ftrace.c | 17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler() argument 19 struct pt_regs *regs = ftrace_get_regs(fregs); in kprobe_ftrace_handler()
|
/linux-6.1.9/arch/riscv/kernel/probes/ |
D | ftrace.c | 7 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler() argument 22 regs = ftrace_get_regs(fregs); in kprobe_ftrace_handler()
|
/linux-6.1.9/arch/csky/kernel/probes/ |
D | ftrace.c | 7 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler() argument 19 regs = ftrace_get_regs(fregs); in kprobe_ftrace_handler()
|
/linux-6.1.9/arch/sparc/math-emu/ |
D | math_32.c | 133 static int do_one_mathemu(u32 insn, unsigned long *fsr, unsigned long *fregs); 275 static int do_one_mathemu(u32 insn, unsigned long *pfsr, unsigned long *fregs) in do_one_mathemu() argument 369 rs1 = (argp)&fregs[freg]; in do_one_mathemu() 390 rs2 = (argp)&fregs[freg]; in do_one_mathemu() 419 rd = (void *)&fregs[freg]; in do_one_mathemu()
|
/linux-6.1.9/arch/arm64/kernel/ |
D | ftrace.c | 284 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func() argument 291 struct pt_regs *regs = arch_ftrace_get_regs(fregs); in ftrace_graph_func()
|
/linux-6.1.9/kernel/livepatch/ |
D | patch.c | 43 struct ftrace_regs *fregs) in klp_ftrace_handler() argument 121 ftrace_instruction_pointer_set(fregs, (unsigned long)func->new_func); in klp_ftrace_handler()
|
/linux-6.1.9/arch/arm64/include/asm/ |
D | ftrace.h | 90 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
/linux-6.1.9/arch/s390/kernel/ |
D | ftrace.c | 312 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler() argument 323 regs = ftrace_get_regs(fregs); in kprobe_ftrace_handler()
|
/linux-6.1.9/arch/s390/lib/ |
D | test_unwind.c | 271 struct ftrace_regs *fregs) in test_unwind_ftrace_handler() argument 273 struct unwindme *u = (struct unwindme *)fregs->regs.gprs[2]; in test_unwind_ftrace_handler() 275 u->ret = test_unwind(NULL, (u->flags & UWM_REGS) ? &fregs->regs : NULL, in test_unwind_ftrace_handler()
|
/linux-6.1.9/arch/powerpc/kernel/trace/ |
D | ftrace.c | 825 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func() argument 827 fregs->regs.link = __prepare_ftrace_return(parent_ip, ip, fregs->regs.gpr[1]); in ftrace_graph_func()
|
/linux-6.1.9/arch/x86/kernel/ |
D | ftrace.c | 657 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func() argument 659 struct pt_regs *regs = &fregs->regs; in ftrace_graph_func()
|
/linux-6.1.9/fs/pstore/ |
D | ftrace.c | 29 struct ftrace_regs *fregs) in pstore_ftrace_call() argument
|