Searched refs:xsave_area (Results 1 – 8 of 8) sorted by relevance
27 ASSERT(v->arch.xsave_area); in fpu_xrstor()42 const typeof(v->arch.xsave_area->fpu_sse) *fpu_ctxt = v->arch.fpu_ctxt; in fpu_fxrstor()142 ASSERT(v->arch.xsave_area); in fpu_xsave()157 typeof(v->arch.xsave_area->fpu_sse) *fpu_ctxt = v->arch.fpu_ctxt; in fpu_fxsave()303 if ( v->arch.xsave_area ) in vcpu_init_fpu()304 v->arch.fpu_ctxt = &v->arch.xsave_area->fpu_sse; in vcpu_init_fpu()307 BUILD_BUG_ON(__alignof(v->arch.xsave_area->fpu_sse) < 16); in vcpu_init_fpu()308 v->arch.fpu_ctxt = _xzalloc(sizeof(v->arch.xsave_area->fpu_sse), in vcpu_init_fpu()309 __alignof(v->arch.xsave_area->fpu_sse)); in vcpu_init_fpu()312 typeof(v->arch.xsave_area->fpu_sse) *fpu_sse = v->arch.fpu_ctxt; in vcpu_init_fpu()[all …]
170 const struct xsave_struct *xsave = v->arch.xsave_area; in expand_xsave_states()235 struct xsave_struct *xsave = v->arch.xsave_area; in compress_xsave_states()291 struct xsave_struct *ptr = v->arch.xsave_area; in xsave()368 struct xsave_struct *ptr = v->arch.xsave_area; in xrstor()491 ASSERT(v->arch.xsave_area); in xsave_enabled()537 v->arch.xsave_area = save_area; in xstate_alloc_save_area()546 xfree(v->arch.xsave_area); in xstate_free_save_area()547 v->arch.xsave_area = NULL; in xstate_free_save_area()610 static typeof(current->arch.xsave_area->fpu_sse) __initdata ctxt; in xstate_init()748 = idle_vcpu[smp_processor_id()]->arch.xsave_area; in read_bndcfgu()[all …]
838 if ( v->arch.xsave_area ) in arch_set_info_guest()839 v->arch.xsave_area->xsave_hdr.xstate_bv = XSTATE_FP_SSE; in arch_set_info_guest()841 else if ( v->arch.xsave_area ) in arch_set_info_guest()843 v->arch.xsave_area->xsave_hdr.xstate_bv = 0; in arch_set_info_guest()844 v->arch.xsave_area->fpu_sse.mxcsr = MXCSR_DEFAULT; in arch_set_info_guest()848 typeof(v->arch.xsave_area->fpu_sse) *fpu_sse = v->arch.fpu_ctxt; in arch_set_info_guest()854 if ( v->arch.xsave_area ) in arch_set_info_guest()855 v->arch.xsave_area->xsave_hdr.xcomp_bv = 0; in arch_set_info_guest()
1153 void *xsave_area = xmalloc_bytes(xsave_size); in arch_do_domctl() local1155 if ( !xsave_area ) in arch_do_domctl()1162 expand_xsave_states(v, xsave_area, xsave_size); in arch_do_domctl()1164 if ( copy_to_guest_offset(evc->buffer, offset, xsave_area, in arch_do_domctl()1167 xfree(xsave_area); in arch_do_domctl()
138 return (v->arch.xsave_area->xsave_hdr.xcomp_bv & in xstate_all()144 xsave_area_compressed(const struct xsave_struct *xsave_area) in xsave_area_compressed() argument146 return xsave_area->xsave_hdr.xcomp_bv & XSTATE_COMPACTION_ENABLED; in xsave_area_compressed()
551 struct xsave_struct *xsave_area; member
973 struct xsave_struct *xsave_area; in hvm_load_cpu_ctxt() local1106 xsave_area = xsave_enabled(v) ? NULL : v->arch.xsave_area; in hvm_load_cpu_ctxt()1112 if ( xsave_area ) in hvm_load_cpu_ctxt()1113 xsave_area->xsave_hdr.xstate_bv = XSTATE_FP_SSE; in hvm_load_cpu_ctxt()1115 else if ( xsave_area ) in hvm_load_cpu_ctxt()1117 xsave_area->xsave_hdr.xstate_bv = 0; in hvm_load_cpu_ctxt()1118 xsave_area->fpu_sse.mxcsr = MXCSR_DEFAULT; in hvm_load_cpu_ctxt()1120 if ( xsave_area ) in hvm_load_cpu_ctxt()1121 xsave_area->xsave_hdr.xcomp_bv = 0; in hvm_load_cpu_ctxt()3887 if ( v->arch.xsave_area ) in hvm_vcpu_reset_state()[all …]
1884 const typeof(curr->arch.xsave_area->fpu_sse) *fpu_ctxt = in hvmemul_get_fpu()1929 typeof(curr->arch.xsave_area->fpu_sse) *fpu_ctxt = curr->arch.fpu_ctxt; in hvmemul_put_fpu()
Completed in 61 milliseconds