Searched refs:fpr_val (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/loongarch/kernel/ |
H A D | signal.c | 126 u64 fpr_val; in copy_fpu_from_sigcontext() local 132 err |= __get_user(fpr_val, ®s[i]); in copy_fpu_from_sigcontext() 133 set_fpr64(¤t->thread.fpu.fpr[i], 0, fpr_val); in copy_fpu_from_sigcontext() 165 u64 fpr_val; in copy_lsx_from_sigcontext() local 171 err |= __get_user(fpr_val, ®s[2*i]); in copy_lsx_from_sigcontext() 173 err |= __get_user(fpr_val, ®s[2*i+1]); in copy_lsx_from_sigcontext() 210 u64 fpr_val; in copy_lasx_from_sigcontext() local 216 err |= __get_user(fpr_val, ®s[4*i]); in copy_lasx_from_sigcontext() 218 err |= __get_user(fpr_val, ®s[4*i+1]); in copy_lasx_from_sigcontext() 220 err |= __get_user(fpr_val, ®s[4*i+2]); in copy_lasx_from_sigcontext() [all …]
|
H A D | ptrace.c | 130 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()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | ptrace.c | 385 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()
|
H A D | signal.c | 97 u64 fpr_val; in copy_fp_from_sigcontext() local 100 err |= __get_user(fpr_val, &fpregs[i]); in copy_fp_from_sigcontext() 101 set_fpr64(¤t->thread.fpu.fpr[i], 0, fpr_val); in copy_fp_from_sigcontext()
|