fp_regs 75 arch/arm64/include/asm/kvm_hyp.h void __fpsimd_save_state(struct user_fpsimd_state *fp_regs); fp_regs 76 arch/arm64/include/asm/kvm_hyp.h void __fpsimd_restore_state(struct user_fpsimd_state *fp_regs); fp_regs 58 arch/arm64/include/uapi/asm/kvm.h struct user_fpsimd_state fp_regs; fp_regs 89 arch/arm64/kvm/fpsimd.c fpsimd_bind_state_to_cpu(&vcpu->arch.ctxt.gp_regs.fp_regs, fp_regs 53 arch/arm64/kvm/guest.c return off >= KVM_REG_ARM_CORE_REG(fp_regs.vregs) && fp_regs 54 arch/arm64/kvm/guest.c off < KVM_REG_ARM_CORE_REG(fp_regs.fpsr); fp_regs 79 arch/arm64/kvm/guest.c case KVM_REG_ARM_CORE_REG(fp_regs.vregs[0]) ... fp_regs 80 arch/arm64/kvm/guest.c KVM_REG_ARM_CORE_REG(fp_regs.vregs[31]): fp_regs 84 arch/arm64/kvm/guest.c case KVM_REG_ARM_CORE_REG(fp_regs.fpsr): fp_regs 85 arch/arm64/kvm/guest.c case KVM_REG_ARM_CORE_REG(fp_regs.fpcr): fp_regs 379 arch/arm64/kvm/hyp/switch.c &vcpu->arch.ctxt.gp_regs.fp_regs.fpsr, fp_regs 383 arch/arm64/kvm/hyp/switch.c __fpsimd_restore_state(&vcpu->arch.ctxt.gp_regs.fp_regs); fp_regs 32 arch/powerpc/include/uapi/asm/sigcontext.h elf_fpregset_t fp_regs; fp_regs 144 arch/powerpc/kernel/signal_64.c err |= copy_fpr_to_user(&sc->fp_regs, tsk); fp_regs 270 arch/powerpc/kernel/signal_64.c err |= copy_ckfpr_to_user(&sc->fp_regs, tsk); fp_regs 272 arch/powerpc/kernel/signal_64.c err |= copy_fpr_to_user(&tm_sc->fp_regs, tsk); fp_regs 274 arch/powerpc/kernel/signal_64.c err |= copy_ckfpr_to_user(&tm_sc->fp_regs, tsk); fp_regs 394 arch/powerpc/kernel/signal_64.c err |= copy_fpr_from_user(tsk, &sc->fp_regs); fp_regs 527 arch/powerpc/kernel/signal_64.c err |= copy_fpr_from_user(tsk, &tm_sc->fp_regs); fp_regs 528 arch/powerpc/kernel/signal_64.c err |= copy_ckfpr_from_user(tsk, &sc->fp_regs); fp_regs 445 arch/s390/include/uapi/asm/ptrace.h s390_fp_regs fp_regs; fp_regs 27 arch/s390/kernel/compat_ptrace.h s390_fp_regs fp_regs; fp_regs 238 arch/s390/kernel/ptrace.c } else if (addr < (addr_t) &dummy->regs.fp_regs) { fp_regs 245 arch/s390/kernel/ptrace.c } else if (addr == (addr_t) &dummy->regs.fp_regs.fpc) { fp_regs 252 arch/s390/kernel/ptrace.c } else if (addr < (addr_t) (&dummy->regs.fp_regs + 1)) { fp_regs 257 arch/s390/kernel/ptrace.c offset = addr - (addr_t) &dummy->regs.fp_regs.fprs; fp_regs 380 arch/s390/kernel/ptrace.c } else if (addr < (addr_t) &dummy->regs.fp_regs) { fp_regs 387 arch/s390/kernel/ptrace.c } else if (addr == (addr_t) &dummy->regs.fp_regs.fpc) { fp_regs 396 arch/s390/kernel/ptrace.c } else if (addr < (addr_t) (&dummy->regs.fp_regs + 1)) { fp_regs 401 arch/s390/kernel/ptrace.c offset = addr - (addr_t) &dummy->regs.fp_regs.fprs; fp_regs 615 arch/s390/kernel/ptrace.c } else if (addr < (addr_t) &dummy32->regs.fp_regs) { fp_regs 622 arch/s390/kernel/ptrace.c } else if (addr == (addr_t) &dummy32->regs.fp_regs.fpc) { fp_regs 628 arch/s390/kernel/ptrace.c } else if (addr < (addr_t) (&dummy32->regs.fp_regs + 1)) { fp_regs 633 arch/s390/kernel/ptrace.c offset = addr - (addr_t) &dummy32->regs.fp_regs.fprs; fp_regs 738 arch/s390/kernel/ptrace.c } else if (addr < (addr_t) &dummy32->regs.fp_regs) { fp_regs 745 arch/s390/kernel/ptrace.c } else if (addr == (addr_t) &dummy32->regs.fp_regs.fpc) { fp_regs 753 arch/s390/kernel/ptrace.c } else if (addr < (addr_t) (&dummy32->regs.fp_regs + 1)) { fp_regs 758 arch/s390/kernel/ptrace.c offset = addr - (addr_t) &dummy32->regs.fp_regs.fprs; fp_regs 959 arch/s390/kernel/ptrace.c _s390_fp_regs fp_regs; fp_regs 964 arch/s390/kernel/ptrace.c fp_regs.fpc = target->thread.fpu.fpc; fp_regs 965 arch/s390/kernel/ptrace.c fpregs_store(&fp_regs, &target->thread.fpu); fp_regs 968 arch/s390/kernel/ptrace.c &fp_regs, 0, -1); fp_regs 67 arch/sh/include/asm/processor_32.h unsigned long fp_regs[16]; fp_regs 77 arch/sh/include/asm/processor_32.h unsigned long fp_regs[16]; fp_regs 66 arch/sh/include/asm/processor_64.h unsigned long fp_regs[64]; fp_regs 73 arch/sh/include/asm/processor_64.h unsigned long fp_regs[64]; fp_regs 33 arch/sh/include/asm/user.h unsigned long fp_regs[32]; fp_regs 38 arch/sh/include/asm/user.h unsigned long fp_regs[16]; fp_regs 393 arch/sh/kernel/cpu/sh2a/fpu.c fpu->fp_regs[n] = du; fp_regs 394 arch/sh/kernel/cpu/sh2a/fpu.c fpu->fp_regs[n+1] = dl; fp_regs 473 arch/sh/kernel/cpu/sh2a/fpu.c hx = tsk->thread.xstate->hardfpu.fp_regs[n]; fp_regs 474 arch/sh/kernel/cpu/sh2a/fpu.c hy = tsk->thread.xstate->hardfpu.fp_regs[m]; fp_regs 485 arch/sh/kernel/cpu/sh2a/fpu.c | tsk->thread.xstate->hardfpu.fp_regs[n+1]; fp_regs 487 arch/sh/kernel/cpu/sh2a/fpu.c | tsk->thread.xstate->hardfpu.fp_regs[m+1]; fp_regs 492 arch/sh/kernel/cpu/sh2a/fpu.c tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; fp_regs 493 arch/sh/kernel/cpu/sh2a/fpu.c tsk->thread.xstate->hardfpu.fp_regs[n+1] = llx & 0xffffffff; fp_regs 502 arch/sh/kernel/cpu/sh2a/fpu.c tsk->thread.xstate->hardfpu.fp_regs[n] = hx; fp_regs 516 arch/sh/kernel/cpu/sh2a/fpu.c hx = tsk->thread.xstate->hardfpu.fp_regs[n]; fp_regs 517 arch/sh/kernel/cpu/sh2a/fpu.c hy = tsk->thread.xstate->hardfpu.fp_regs[m]; fp_regs 528 arch/sh/kernel/cpu/sh2a/fpu.c | tsk->thread.xstate->hardfpu.fp_regs[n+1]; fp_regs 530 arch/sh/kernel/cpu/sh2a/fpu.c | tsk->thread.xstate->hardfpu.fp_regs[m+1]; fp_regs 535 arch/sh/kernel/cpu/sh2a/fpu.c tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; fp_regs 536 arch/sh/kernel/cpu/sh2a/fpu.c tsk->thread.xstate->hardfpu.fp_regs[n+1] = llx & 0xffffffff; fp_regs 545 arch/sh/kernel/cpu/sh2a/fpu.c tsk->thread.xstate->hardfpu.fp_regs[n] = hx; fp_regs 162 arch/sh/kernel/cpu/sh4/fpu.c fpu->fp_regs[n] = du; fp_regs 163 arch/sh/kernel/cpu/sh4/fpu.c fpu->fp_regs[n + 1] = dl; fp_regs 248 arch/sh/kernel/cpu/sh4/fpu.c hx = tsk->thread.xstate->hardfpu.fp_regs[n]; fp_regs 249 arch/sh/kernel/cpu/sh4/fpu.c hy = tsk->thread.xstate->hardfpu.fp_regs[m]; fp_regs 260 arch/sh/kernel/cpu/sh4/fpu.c | tsk->thread.xstate->hardfpu.fp_regs[n + 1]; fp_regs 262 arch/sh/kernel/cpu/sh4/fpu.c | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; fp_regs 264 arch/sh/kernel/cpu/sh4/fpu.c tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; fp_regs 265 arch/sh/kernel/cpu/sh4/fpu.c tsk->thread.xstate->hardfpu.fp_regs[n + 1] = llx & 0xffffffff; fp_regs 271 arch/sh/kernel/cpu/sh4/fpu.c tsk->thread.xstate->hardfpu.fp_regs[n] = hx; fp_regs 286 arch/sh/kernel/cpu/sh4/fpu.c hx = tsk->thread.xstate->hardfpu.fp_regs[n]; fp_regs 287 arch/sh/kernel/cpu/sh4/fpu.c hy = tsk->thread.xstate->hardfpu.fp_regs[m]; fp_regs 298 arch/sh/kernel/cpu/sh4/fpu.c | tsk->thread.xstate->hardfpu.fp_regs[n + 1]; fp_regs 300 arch/sh/kernel/cpu/sh4/fpu.c | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; fp_regs 305 arch/sh/kernel/cpu/sh4/fpu.c tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; fp_regs 306 arch/sh/kernel/cpu/sh4/fpu.c tsk->thread.xstate->hardfpu.fp_regs[n + 1] = llx & 0xffffffff; fp_regs 315 arch/sh/kernel/cpu/sh4/fpu.c tsk->thread.xstate->hardfpu.fp_regs[n] = hx; fp_regs 330 arch/sh/kernel/cpu/sh4/fpu.c hx = tsk->thread.xstate->hardfpu.fp_regs[n]; fp_regs 331 arch/sh/kernel/cpu/sh4/fpu.c hy = tsk->thread.xstate->hardfpu.fp_regs[m]; fp_regs 342 arch/sh/kernel/cpu/sh4/fpu.c | tsk->thread.xstate->hardfpu.fp_regs[n + 1]; fp_regs 344 arch/sh/kernel/cpu/sh4/fpu.c | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; fp_regs 348 arch/sh/kernel/cpu/sh4/fpu.c tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; fp_regs 349 arch/sh/kernel/cpu/sh4/fpu.c tsk->thread.xstate->hardfpu.fp_regs[n + 1] = llx & 0xffffffff; fp_regs 355 arch/sh/kernel/cpu/sh4/fpu.c tsk->thread.xstate->hardfpu.fp_regs[n] = hx; fp_regs 368 arch/sh/kernel/cpu/sh4/fpu.c hx = tsk->thread.xstate->hardfpu.fp_regs[m]; fp_regs 375 arch/sh/kernel/cpu/sh4/fpu.c llx = ((long long)tsk->thread.xstate->hardfpu.fp_regs[m] << 32) fp_regs 376 arch/sh/kernel/cpu/sh4/fpu.c | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; fp_regs 353 arch/sh/kernel/traps_64.c current->thread.xstate->hardfpu.fp_regs[destreg] = buflo; fp_regs 357 arch/sh/kernel/traps_64.c current->thread.xstate->hardfpu.fp_regs[destreg] = buflo; fp_regs 358 arch/sh/kernel/traps_64.c current->thread.xstate->hardfpu.fp_regs[destreg+1] = bufhi; fp_regs 361 arch/sh/kernel/traps_64.c current->thread.xstate->hardfpu.fp_regs[destreg] = bufhi; fp_regs 362 arch/sh/kernel/traps_64.c current->thread.xstate->hardfpu.fp_regs[destreg+1] = buflo; fp_regs 364 arch/sh/kernel/traps_64.c current->thread.xstate->hardfpu.fp_regs[destreg] = buflo; fp_regs 365 arch/sh/kernel/traps_64.c current->thread.xstate->hardfpu.fp_regs[destreg+1] = bufhi; fp_regs 420 arch/sh/kernel/traps_64.c buflo = current->thread.xstate->hardfpu.fp_regs[srcreg]; fp_regs 424 arch/sh/kernel/traps_64.c buflo = current->thread.xstate->hardfpu.fp_regs[srcreg]; fp_regs 425 arch/sh/kernel/traps_64.c bufhi = current->thread.xstate->hardfpu.fp_regs[srcreg+1]; fp_regs 428 arch/sh/kernel/traps_64.c bufhi = current->thread.xstate->hardfpu.fp_regs[srcreg]; fp_regs 429 arch/sh/kernel/traps_64.c buflo = current->thread.xstate->hardfpu.fp_regs[srcreg+1]; fp_regs 431 arch/sh/kernel/traps_64.c buflo = current->thread.xstate->hardfpu.fp_regs[srcreg]; fp_regs 432 arch/sh/kernel/traps_64.c bufhi = current->thread.xstate->hardfpu.fp_regs[srcreg+1]; fp_regs 36 arch/sh/math-emu/math.c #define FR ((unsigned long*)(fregs->fp_regs)) fp_regs 40 arch/sh/math-emu/math.c #define DR ((unsigned long long*)(fregs->fp_regs)) fp_regs 493 arch/sh/math-emu/math.c fpu->fp_regs[n] = du; fp_regs 494 arch/sh/math-emu/math.c fpu->fp_regs[n+1] = dl; fp_regs 585 arch/sh/math-emu/math.c fpu->fp_regs[i] = 0; fp_regs 12 arch/um/include/shared/registers.h extern int save_i387_registers(int pid, unsigned long *fp_regs); fp_regs 13 arch/um/include/shared/registers.h extern int restore_i387_registers(int pid, unsigned long *fp_regs); fp_regs 14 arch/um/include/shared/registers.h extern int save_fp_registers(int pid, unsigned long *fp_regs); fp_regs 15 arch/um/include/shared/registers.h extern int restore_fp_registers(int pid, unsigned long *fp_regs); fp_regs 16 arch/um/include/shared/registers.h extern int save_fpx_registers(int pid, unsigned long *fp_regs); fp_regs 17 arch/um/include/shared/registers.h extern int restore_fpx_registers(int pid, unsigned long *fp_regs); fp_regs 21 arch/um/include/shared/registers.h extern void get_safe_registers(unsigned long *regs, unsigned long *fp_regs); fp_regs 52 arch/um/os-Linux/registers.c void get_safe_registers(unsigned long *regs, unsigned long *fp_regs) fp_regs 56 arch/um/os-Linux/registers.c if (fp_regs) fp_regs 57 arch/um/os-Linux/registers.c memcpy(fp_regs, exec_fp_regs, sizeof(exec_fp_regs)); fp_regs 21 arch/x86/um/os-Linux/registers.c int save_i387_registers(int pid, unsigned long *fp_regs) fp_regs 23 arch/x86/um/os-Linux/registers.c if (ptrace(PTRACE_GETFPREGS, pid, 0, fp_regs) < 0) fp_regs 28 arch/x86/um/os-Linux/registers.c int save_fp_registers(int pid, unsigned long *fp_regs) fp_regs 34 arch/x86/um/os-Linux/registers.c iov.iov_base = fp_regs; fp_regs 41 arch/x86/um/os-Linux/registers.c return save_i387_registers(pid, fp_regs); fp_regs 44 arch/x86/um/os-Linux/registers.c int restore_i387_registers(int pid, unsigned long *fp_regs) fp_regs 46 arch/x86/um/os-Linux/registers.c if (ptrace(PTRACE_SETFPREGS, pid, 0, fp_regs) < 0) fp_regs 51 arch/x86/um/os-Linux/registers.c int restore_fp_registers(int pid, unsigned long *fp_regs) fp_regs 56 arch/x86/um/os-Linux/registers.c iov.iov_base = fp_regs; fp_regs 63 arch/x86/um/os-Linux/registers.c return restore_i387_registers(pid, fp_regs); fp_regs 68 arch/x86/um/os-Linux/registers.c int save_fpx_registers(int pid, unsigned long *fp_regs) fp_regs 70 arch/x86/um/os-Linux/registers.c if (ptrace(PTRACE_GETFPXREGS, pid, 0, fp_regs) < 0) fp_regs 75 arch/x86/um/os-Linux/registers.c int restore_fpx_registers(int pid, unsigned long *fp_regs) fp_regs 77 arch/x86/um/os-Linux/registers.c if (ptrace(PTRACE_SETFPXREGS, pid, 0, fp_regs) < 0) fp_regs 128 arch/x86/um/os-Linux/registers.c void * fp_regs; fp_regs 131 arch/x86/um/os-Linux/registers.c fp_regs = malloc(FP_SIZE * sizeof(unsigned long)); fp_regs 132 arch/x86/um/os-Linux/registers.c if(fp_regs == NULL) fp_regs 135 arch/x86/um/os-Linux/registers.c iov.iov_base = fp_regs; fp_regs 140 arch/x86/um/os-Linux/registers.c free(fp_regs); fp_regs 58 tools/arch/arm64/include/uapi/asm/kvm.h struct user_fpsimd_state fp_regs; fp_regs 445 tools/arch/s390/include/uapi/asm/ptrace.h s390_fp_regs fp_regs; fp_regs 48 tools/testing/selftests/powerpc/math/fpu_signal.c if (mc->fp_regs[i] != darray[i - 14]) { fp_regs 55 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-fpu.c fail = (ucp->uc_mcontext.fp_regs[FPR14 + i] != fps[i]); fp_regs 59 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-fpu.c FPR14 + i, ucp->uc_mcontext.fp_regs[FPR14 + i], fps[i]); fp_regs 65 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-fpu.c fail = (tm_ucp->uc_mcontext.fp_regs[FPR14 + i] != fps[NV_FPU_REGS + i]); fp_regs 69 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-fpu.c FPR14 + i, tm_ucp->uc_mcontext.fp_regs[FPR14 + i], fps[NV_FPU_REGS + i]); fp_regs 106 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vsx.c memcpy(vsx, &ucp->uc_mcontext.fp_regs[FPR20 + i], 8); fp_regs 130 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vsx.c memcpy(vsx_tm, &tm_ucp->uc_mcontext.fp_regs[FPR20 + i], 8);