Home
last modified time | relevance | path

Searched refs:xfeatures (Results 1 – 11 of 11) sorted by relevance

/linux/arch/x86/kernel/fpu/
A Dxstate.c650 for_each_extended_xfeature(i, xfeatures) { in xstate_calculate_size()
855 u64 xfeatures; in fpu__init_system_xstate() local
926 xfeatures = fpu_kernel_cfg.max_features; in fpu__init_system_xstate()
1144 header.xfeatures = xsave->header.xfeatures; in __copy_xstate_to_uabi_buf()
1149 header.xfeatures &= XFEATURE_MASK_FP; in __copy_xstate_to_uabi_buf()
1286 if (hdr.xfeatures & mask) { in copy_uabi_to_xstate()
1307 if (hdr.xfeatures & mask) { in copy_uabi_to_xstate()
1327 xsave->header.xfeatures |= hdr.xfeatures; in copy_uabi_to_xstate()
1469 mask &= ~fpstate->xfeatures; in xstate_op_valid()
1565 newfps->xfeatures = curfps->xfeatures | xfeatures; in fpstate_realloc()
[all …]
A Dsignal.c62 fx_sw->xfeatures = XFEATURE_MASK_FPSSE; in check_xstate_in_sigframe()
110 sw_bytes->xfeatures = fpstate->user_xfeatures; in save_sw_bytes()
122 u32 xfeatures; in save_xstate_epilog() local
139 err |= __get_user(xfeatures, (__u32 __user *)&x->header.xfeatures); in save_xstate_epilog()
152 xfeatures |= XFEATURE_MASK_FPSSE; in save_xstate_epilog()
154 err |= __put_user(xfeatures, (__u32 __user *)&x->header.xfeatures); in save_xstate_epilog()
353 user_xfeatures = fx_sw_user.xfeatures; in __fpu_restore_sig()
417 fpregs->xsave.header.xfeatures |= XFEATURE_MASK_FPSSE; in __fpu_restore_sig()
436 fpregs->xsave.header.xfeatures &= mask; in __fpu_restore_sig()
A Dcore.c124 if (fpu->fpstate->regs.xsave.header.xfeatures & XFEATURE_MASK_AVX512) in save_fpregs_to_fpstate()
293 ustate->xsave.header.xfeatures = XFEATURE_MASK_FPSSE; in fpu_copy_guest_fpstate_to_uabi()
307 if (ustate->xsave.header.xfeatures & ~XFEATURE_MASK_FPSSE) in fpu_copy_uabi_to_guest_fpstate()
315 if (ustate->xsave.header.xfeatures & ~xcr0) in fpu_copy_uabi_to_guest_fpstate()
323 if (kstate->regs.xsave.header.xfeatures & XFEATURE_MASK_PKRU) { in fpu_copy_uabi_to_guest_fpstate()
329 xstate_init_xcomp_bv(&kstate->regs.xsave, kstate->xfeatures); in fpu_copy_uabi_to_guest_fpstate()
425 xstate_init_xcomp_bv(&fpstate->regs.xsave, fpstate->xfeatures); in fpstate_init_user()
438 fpstate->xfeatures = fpu_kernel_cfg.default_features; in __fpstate_reset()
A Dregset.c125 fpu->fpstate->regs.xsave.header.xfeatures |= XFEATURE_MASK_FPSSE; in xfpregs_set()
382 fpu->fpstate->regs.xsave.header.xfeatures |= XFEATURE_MASK_FP; in fpregs_set()
A Dinit.c217 init_fpstate.xfeatures = fpu_kernel_cfg.max_features; in fpu__init_init_fpstate()
A Dxstate.h164 u64 mask = fpstate->xfeatures; in os_xsave()
/linux/arch/x86/include/asm/trace/
A Dfpu.h17 __field(u64, xfeatures)
25 __entry->xfeatures = fpu->fpstate->regs.xsave.header.xfeatures;
32 __entry->xfeatures,
/linux/tools/testing/selftests/x86/
A Dcorrupt_xstate_header.c61 uint64_t *xfeatures = (uint64_t *)(fpstate + 512); in sigusr1() local
65 *(xfeatures + 2) = 0xfffffff; in sigusr1()
/linux/arch/x86/include/asm/fpu/
A Dtypes.h301 u64 xfeatures; member
352 u64 xfeatures; member
/linux/arch/x86/include/asm/
A Duser.h19 __u64 xfeatures; member
/linux/arch/x86/include/uapi/asm/
A Dsigcontext.h60 __u64 xfeatures; member
175 __u64 xfeatures; member

Completed in 33 milliseconds