Home
last modified time | relevance | path

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

/linux-6.15/arch/x86/kernel/fpu/
H A Dxstate.c165 offs += xstate_sizes[i]; in xfeature_get_offset()
228 xstate_sizes[XFEATURE_FP] = offsetof(struct fxregs_state, in setup_xstate_cache()
231 xstate_offsets[XFEATURE_SSE] = xstate_sizes[XFEATURE_FP]; in setup_xstate_cache()
238 xstate_sizes[i] = eax; in setup_xstate_cache()
297 i, xstate_sizes[i]); in print_xstate_offset_size()
562 return offset + xstate_sizes[topmost]; in xstate_calculate_size()
1165 xstate_sizes[i]); in __copy_xstate_to_uabi_buf()
1171 zerofrom = xstate_offsets[i] + xstate_sizes[i]; in __copy_xstate_to_uabi_buf()
1283 size = xstate_sizes[i]; in copy_uabi_to_xstate()
1406 memset(addr, 0, xstate_sizes[xfeature]); in fpstate_clear_xstate_component()
[all …]
/linux-6.15/arch/x86/kvm/
H A Dcpuid.c45 static struct cpuid_xstate_sizes xstate_sizes[XFEATURE_MAX] __ro_after_init; variable
52 for (i = XFEATURE_YMM; i < ARRAY_SIZE(xstate_sizes); i++) { in kvm_init_xstate_sizes()
53 struct cpuid_xstate_sizes *xs = &xstate_sizes[i]; in kvm_init_xstate_sizes()
65 for (i = XFEATURE_YMM; i < ARRAY_SIZE(xstate_sizes) && xstate_bv; i++) { in xstate_required_size()
66 struct cpuid_xstate_sizes *xs = &xstate_sizes[i]; in xstate_required_size()