Home
last modified time | relevance | path

Searched refs:xstate_sizes (Results 1 – 2 of 2) sorted by relevance

/linux/arch/x86/kernel/fpu/
H A Dxstate.c93 static unsigned int xstate_sizes[XFEATURE_MAX] __ro_after_init = variable
196 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 …]
/linux/arch/x86/kvm/
H A Dcpuid.c48 static struct cpuid_xstate_sizes xstate_sizes[XFEATURE_MAX] __ro_after_init; variable
55 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()