Home
last modified time | relevance | path

Searched refs:fpr_val (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/arch/loongarch/kernel/
Dsignal.c127 u64 fpr_val; in copy_fpu_from_sigcontext() local
133 err |= __get_user(fpr_val, &regs[i]); in copy_fpu_from_sigcontext()
134 set_fpr64(&current->thread.fpu.fpr[i], 0, fpr_val); in copy_fpu_from_sigcontext()
166 u64 fpr_val; in copy_lsx_from_sigcontext() local
172 err |= __get_user(fpr_val, &regs[2*i]); in copy_lsx_from_sigcontext()
173 set_fpr64(&current->thread.fpu.fpr[i], 0, fpr_val); in copy_lsx_from_sigcontext()
174 err |= __get_user(fpr_val, &regs[2*i+1]); in copy_lsx_from_sigcontext()
175 set_fpr64(&current->thread.fpu.fpr[i], 1, fpr_val); in copy_lsx_from_sigcontext()
211 u64 fpr_val; in copy_lasx_from_sigcontext() local
217 err |= __get_user(fpr_val, &regs[4*i]); in copy_lasx_from_sigcontext()
[all …]
Dptrace.c130 u64 fpr_val; in gfpr_get_simd() local
132 BUILD_BUG_ON(sizeof(fpr_val) != sizeof(elf_fpreg_t)); in gfpr_get_simd()
134 fpr_val = get_fpr64(&target->thread.fpu.fpr[i], 0); in gfpr_get_simd()
135 r = membuf_write(to, &fpr_val, sizeof(elf_fpreg_t)); in gfpr_get_simd()
178 u64 fpr_val; in gfpr_set_simd() local
180 BUILD_BUG_ON(sizeof(fpr_val) != sizeof(elf_fpreg_t)); in gfpr_set_simd()
183 &fpr_val, i * sizeof(elf_fpreg_t), in gfpr_set_simd()
187 set_fpr64(&target->thread.fpu.fpr[i], 0, fpr_val); in gfpr_set_simd()
/linux-6.12.1/arch/mips/kernel/
Dptrace.c385 u64 fpr_val; in ptrace_setfpregs() local
396 __get_user(fpr_val, i + (__u64 __user *)data); in ptrace_setfpregs()
397 set_fpr64(&fregs[i], 0, fpr_val); in ptrace_setfpregs()
479 u64 fpr_val; in fpr_set_msa() local
482 BUILD_BUG_ON(sizeof(fpr_val) != sizeof(elf_fpreg_t)); in fpr_set_msa()
485 &fpr_val, i * sizeof(elf_fpreg_t), in fpr_set_msa()
489 set_fpr64(&target->thread.fpu.fpr[i], 0, fpr_val); in fpr_set_msa()
Dsignal.c98 u64 fpr_val; in copy_fp_from_sigcontext() local
101 err |= __get_user(fpr_val, &fpregs[i]); in copy_fp_from_sigcontext()
102 set_fpr64(&current->thread.fpu.fpr[i], 0, fpr_val); in copy_fp_from_sigcontext()