Searched refs:fpr_val (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/arch/loongarch/kernel/ |
D | ptrace.c | 125 u64 fpr_val; in gfpr_get_simd() local 127 BUILD_BUG_ON(sizeof(fpr_val) != sizeof(elf_fpreg_t)); in gfpr_get_simd() 129 fpr_val = get_fpr64(&target->thread.fpu.fpr[i], 0); in gfpr_get_simd() 130 r = membuf_write(to, &fpr_val, sizeof(elf_fpreg_t)); in gfpr_get_simd() 171 u64 fpr_val; in gfpr_set_simd() local 173 BUILD_BUG_ON(sizeof(fpr_val) != sizeof(elf_fpreg_t)); in gfpr_set_simd() 176 &fpr_val, i * sizeof(elf_fpreg_t), in gfpr_set_simd() 180 set_fpr64(&target->thread.fpu.fpr[i], 0, fpr_val); in gfpr_set_simd()
|
D | signal.c | 103 u64 fpr_val; in copy_fpu_from_sigcontext() local 109 err |= __get_user(fpr_val, ®s[i]); in copy_fpu_from_sigcontext() 110 set_fpr64(¤t->thread.fpu.fpr[i], 0, fpr_val); in copy_fpu_from_sigcontext()
|
/linux-6.1.9/arch/mips/kernel/ |
D | ptrace.c | 378 u64 fpr_val; in ptrace_setfpregs() local 389 __get_user(fpr_val, i + (__u64 __user *)data); in ptrace_setfpregs() 390 set_fpr64(&fregs[i], 0, fpr_val); in ptrace_setfpregs() 472 u64 fpr_val; in fpr_set_msa() local 475 BUILD_BUG_ON(sizeof(fpr_val) != sizeof(elf_fpreg_t)); in fpr_set_msa() 478 &fpr_val, i * sizeof(elf_fpreg_t), in fpr_set_msa() 482 set_fpr64(&target->thread.fpu.fpr[i], 0, fpr_val); in fpr_set_msa()
|
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()
|