/linux-4.1.27/arch/x86/kernel/ |
D | xsave.c | 52 xstate_bv = tsk->thread.fpu.state->xsave.xsave_hdr.xstate_bv; in __sanitize_i387_state() 142 struct xsave_struct *xsave = &tsk->thread.fpu.state->xsave; in save_fsave_header() local 149 __put_user(xsave->i387.swd, &fp->status) || in save_fsave_header() 240 struct xsave_struct *xsave = ¤t->thread.fpu.state->xsave; in save_xstate_sig() local 264 if (__copy_to_user(buf_fx, xsave, xstate_size)) in save_xstate_sig() 283 struct xsave_struct *xsave = &tsk->thread.fpu.state->xsave; in sanitize_restored_xstate() local 284 struct xsave_hdr_struct *xsave_hdr = &xsave->xsave_hdr; in sanitize_restored_xstate() 305 xsave->i387.mxcsr &= mxcsr_feature_mask; in sanitize_restored_xstate() 396 if (__copy_from_user(&fpu->state->xsave, buf_fx, state_size) || in __restore_xstate_sig() 716 void *get_xsave_addr(struct xsave_struct *xsave, int xstate) in get_xsave_addr() argument [all …]
|
D | i387.c | 350 target->thread.fpu.state->xsave.xsave_hdr.xstate_bv |= XSTATE_FPSSE; in xfpregs_set() 359 struct xsave_struct *xsave; in xstateregs_get() local 369 xsave = &target->thread.fpu.state->xsave; in xstateregs_get() 376 memcpy(&xsave->i387.sw_reserved, in xstateregs_get() 381 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, xsave, 0, -1); in xstateregs_get() 389 struct xsave_struct *xsave; in xstateregs_set() local 399 xsave = &target->thread.fpu.state->xsave; in xstateregs_set() 401 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, xsave, 0, -1); in xstateregs_set() 405 xsave->i387.mxcsr &= mxcsr_feature_mask; in xstateregs_set() 406 xsave->xsave_hdr.xstate_bv &= pcntxt_mask; in xstateregs_set() [all …]
|
D | Makefile | 47 obj-y += i387.o xsave.o
|
D | traps.c | 400 xsave_buf = &(tsk->thread.fpu.state->xsave); in do_bounds()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | fpu-internal.h | 278 if (!(fpu->state->xsave.xsave_hdr.xstate_bv & XSTATE_FP)) in fpu_save_init() 311 return fpu_xrstor_checking(&fpu->state->xsave); in fpu_restore_checking() 535 xsave_state_booting(&tsk->thread.fpu.state->xsave, -1); in __save_fpu() 537 xsave_state(&tsk->thread.fpu.state->xsave, -1); in __save_fpu() 599 memset(&dst->thread.fpu.state->xsave, 0, xstate_size); in fpu_copy()
|
D | xsave.h | 193 xsave_state(&fpu->state->xsave, -1); in fpu_xsave() 254 void *get_xsave_addr(struct xsave_struct *xsave, int xstate);
|
D | processor.h | 429 struct xsave_struct xsave; member
|
/linux-4.1.27/include/video/ |
D | newport.h | 161 npireg_t xsave; /* copy of xstart integer value for BLOCk addressing MODE */ member 311 unsigned int xsave; member
|
/linux-4.1.27/arch/x86/kvm/ |
D | x86.c | 3196 struct xsave_struct *xsave = &vcpu->arch.guest_fpu.state->xsave; in fill_xsave() local 3197 u64 xstate_bv = xsave->xsave_hdr.xstate_bv; in fill_xsave() 3204 memcpy(dest, xsave, XSAVE_HDR_OFFSET); in fill_xsave() 3217 void *src = get_xsave_addr(xsave, feature); in fill_xsave() 3232 struct xsave_struct *xsave = &vcpu->arch.guest_fpu.state->xsave; in load_xsave() local 3240 memcpy(xsave, src, XSAVE_HDR_OFFSET); in load_xsave() 3243 xsave->xsave_hdr.xstate_bv = xstate_bv; in load_xsave() 3245 xsave->xsave_hdr.xcomp_bv = host_xcr0 | XSTATE_COMPACTION_ENABLED; in load_xsave() 3255 void *dest = get_xsave_addr(xsave, feature); in load_xsave() 3368 struct kvm_xsave *xsave; in kvm_arch_vcpu_ioctl() member [all …]
|
/linux-4.1.27/arch/x86/mm/ |
D | mpx.c | 344 bndcsr = get_xsave_addr(&tsk->thread.fpu.state->xsave, XSTATE_BNDCSR); in task_get_bounds_dir()
|
/linux-4.1.27/Documentation/x86/ |
D | intel_mpx.txt | 49 instead of reading it each time because the 'xsave' operation needed
|
/linux-4.1.27/Documentation/ |
D | kernel-parameters.txt | 2368 and restore using xsave. The kernel will fallback to 2373 xsave to save the states. By using this parameter, 2375 xsave doesn't support modified optimization while 2380 form of xsave area. The kernel will fall back to use 2382 in standard form of xsave area. By using this 2383 parameter, xsave area per process might occupy more
|
/linux-4.1.27/Documentation/virtual/kvm/ |
D | api.txt | 1103 This ioctl would copy current vcpu's xsave struct to the userspace. 1118 This ioctl would copy userspace's xsave struct to the kernel.
|