Searched refs:xstate_sizes (Results 1 – 2 of 2) sorted by relevance
93 static unsigned int xstate_sizes[XFEATURE_MAX] __ro_after_init = variable196 offs += xstate_sizes[i]; in xfeature_get_offset()263 xstate_sizes[XFEATURE_FP] = offsetof(struct fxregs_state, in setup_xstate_cache()266 xstate_offsets[XFEATURE_SSE] = xstate_sizes[XFEATURE_FP]; in setup_xstate_cache()267 xstate_sizes[XFEATURE_SSE] = sizeof_field(struct fxregs_state, in setup_xstate_cache()273 xstate_sizes[xfeature] = eax; in setup_xstate_cache()331 i, xstate_sizes[i]); in print_xstate_offset_size()607 return offset + xstate_sizes[topmost]; in xstate_calculate_size()1243 xstate_sizes[xfeature]); in __copy_xstate_to_uabi_buf()1249 zerofrom = xstate_offsets[xfeature] + xstate_sizes[xfeature]; in __copy_xstate_to_uabi_buf()[all …]
48 static struct cpuid_xstate_sizes xstate_sizes[XFEATURE_MAX] __ro_after_init; variable55 for (i = XFEATURE_YMM; i < ARRAY_SIZE(xstate_sizes); i++) { in kvm_init_xstate_sizes()56 struct cpuid_xstate_sizes *xs = &xstate_sizes[i]; in kvm_init_xstate_sizes()68 for (i = XFEATURE_YMM; i < ARRAY_SIZE(xstate_sizes) && xstate_bv; i++) { in xstate_required_size()69 struct cpuid_xstate_sizes *xs = &xstate_sizes[i]; in xstate_required_size()