Home
last modified time | relevance | path

Searched refs:fregs (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.1.9/arch/sh/math-emu/
Dmath.c26 #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/
Dftrace.h56 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/
Dftrace.h34 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/
Dptrace32.c95 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()
Dptrace.c360 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/
Dftrace.h48 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/
Dftrace.c59 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/
Dfprobe.c23 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()
Dtrace_selftest.c110 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()
Dtrace_functions.c26 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
Dtrace_stack.c293 struct ftrace_ops *op, struct ftrace_regs *fregs) in stack_trace_call() argument
/linux-6.1.9/include/linux/
Dftrace.h57 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/
Dkprobes-ftrace.c17 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/
Dftrace.c17 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/
Dftrace.c7 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/
Dftrace.c7 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/
Dmath_32.c133 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/
Dftrace.c284 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/
Dpatch.c43 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/
Dftrace.h90 struct ftrace_ops *op, struct ftrace_regs *fregs);
/linux-6.1.9/arch/s390/kernel/
Dftrace.c312 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/
Dtest_unwind.c271 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/
Dftrace.c825 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/
Dftrace.c657 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/
Dftrace.c29 struct ftrace_regs *fregs) in pstore_ftrace_call() argument

12