| /linux/arch/m68k/kernel/ |
| H A D | signal.c | 335 unsigned char fpstate[FPCONTEXT_SIZE]; in rt_restore_fpu_state() local 352 if (__get_user(*(long *)fpstate, (long __user *)&uc->uc_fpstate)) in rt_restore_fpu_state() 354 if (CPU_IS_060 ? fpstate[2] : fpstate[0]) { in rt_restore_fpu_state() 356 context_size = fpstate[1]; in rt_restore_fpu_state() 359 (fpstate[0] != fpu_version)) in rt_restore_fpu_state() 374 if (!(fpstate[3] == 0x00 || in rt_restore_fpu_state() 375 fpstate[3] == 0x60 || in rt_restore_fpu_state() 376 fpstate[3] == 0xe0)) in rt_restore_fpu_state() 379 if (!(fpstate[3] == 0x00 || in rt_restore_fpu_state() 380 fpstate[3] == 0x05 || in rt_restore_fpu_state() [all …]
|
| H A D | process.c | 185 asm volatile ("fsave %0" : : "m" (p->thread.fpstate[0]) : "memory"); in copy_thread() 187 if (!CPU_IS_060 ? p->thread.fpstate[0] : p->thread.fpstate[2]) { in copy_thread() 210 asm volatile ("frestore %0" : : "m" (p->thread.fpstate[0])); in copy_thread()
|
| H A D | asm-offsets.c | 40 DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fpstate)); in main()
|
| /linux/arch/x86/include/asm/fpu/ |
| H A D | types.h | 377 struct fpstate { struct 499 struct fpstate *fpstate; member 507 struct fpstate *__task_fpstate; 531 struct fpstate __fpstate; 561 struct fpstate *fpstate; member
|
| H A D | signal.h | 36 extern void restore_fpregs_from_fpstate(struct fpstate *fpstate, u64 mask);
|
| /linux/arch/x86/um/ |
| H A D | signal.c | 24 struct _fpstate_64 fpstate; member 85 from_fp64 = ((void __user *)sc.fpstate) + in copy_sc_from_user() 88 from_fp64 = (void __user *)sc.fpstate; in copy_sc_from_user() 101 (void __user *)sc.fpstate); in copy_sc_from_user() 158 sc.fpstate = (unsigned long)to_fp; in copy_sc_to_user() 172 __put_user(X86_FXSR_MAGIC, &to_fp->fpstate.magic); in copy_sc_to_user() 193 if (host_fp_size <= sizeof(to_fp64->fpstate)) in copy_sc_to_user() 200 &to_fp64->fpstate.sw_reserved.extended_size); in copy_sc_to_user() 203 &to_fp64->fpstate.sw_reserved.extended_size); in copy_sc_to_user() 205 __put_user(host_fp_size, &to_fp64->fpstate.sw_reserved.xstate_size); in copy_sc_to_user() [all …]
|
| /linux/arch/x86/include/uapi/asm/ |
| H A D | sigcontext.h | 193 struct _fpstate fpstate; member 230 __u32 fpstate; /* Zero when no FPU/extended context */ member 273 __u64 fpstate; /* Zero when no FPU/extended context */ member 320 struct _fpstate __user *fpstate; member 380 struct _fpstate __user *fpstate; /* Zero when no FPU context */ member
|
| /linux/tools/testing/selftests/x86/ |
| H A D | corrupt_xstate_header.c | 36 uint8_t *fpstate = (uint8_t *)uc->uc_mcontext.fpregs; in sigusr1() local 37 uint64_t *xfeatures = (uint64_t *)(fpstate + 512); in sigusr1()
|
| /linux/arch/x86/include/asm/trace/ |
| H A D | fpu.h | 25 __entry->xfeatures = fpu->fpstate->regs.xsave.header.xfeatures; 26 __entry->xcomp_bv = fpu->fpstate->regs.xsave.header.xcomp_bv;
|
| /linux/arch/x86/include/asm/ |
| H A D | sighandling.h | 20 void __user **fpstate);
|
| /linux/arch/x86/kernel/ |
| H A D | signal_64.c | 95 return fpu__restore_sig((void __user *)sc.fpstate, 0); in restore_sigcontext() 99 __unsafe_setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate, in __unsafe_setup_sigcontext() argument 128 unsafe_put_user(fpstate, (unsigned long __user *)&sc->fpstate, Efault); in __unsafe_setup_sigcontext()
|
| /linux/arch/arm/nwfpe/ |
| H A D | fpa11.h | 13 #define GET_FPA11() ((FPA11 *)(¤t_thread_info()->fpstate))
|
| H A D | fpmodule.c | 53 nwfpe_init_fpa(&thread->fpstate); in nwfpe_notify()
|
| /linux/arch/arm/kernel/ |
| H A D | asm-offsets.c | 55 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main() 67 DEFINE(TI_IWMMXT_STATE, offsetof(struct thread_info, fpstate.iwmmxt)); in main()
|
| H A D | process.c | 226 memset(&thread->fpstate, 0, sizeof(union fp_state)); in flush_thread()
|
| /linux/arch/arm/include/asm/ |
| H A D | thread_info.h | 71 union fp_state fpstate __attribute__((aligned(8))); member
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | vmx.c | 5386 return vcpu->arch.guest_fpu.fpstate->xfd && in is_xfd_nm_fault()
|