Home
last modified time | relevance | path

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

/arch/x86/kernel/fpu/
A Dxstate.c92 static unsigned int xstate_sizes[XFEATURE_MAX] __ro_after_init = variable
195 offs += xstate_sizes[i]; in xfeature_get_offset()
262 xstate_sizes[XFEATURE_FP] = offsetof(struct fxregs_state, in setup_xstate_cache()
265 xstate_offsets[XFEATURE_SSE] = xstate_sizes[XFEATURE_FP]; in setup_xstate_cache()
272 xstate_sizes[xfeature] = eax; in setup_xstate_cache()
330 i, xstate_sizes[i]); in print_xstate_offset_size()
606 return offset + xstate_sizes[topmost]; in xstate_calculate_size()
1242 xstate_sizes[xfeature]); in __copy_xstate_to_uabi_buf()
1360 size = xstate_sizes[i]; in copy_uabi_to_xstate()
1483 memset(addr, 0, xstate_sizes[xfeature]); in fpstate_clear_xstate_component()
[all …]
/arch/x86/kvm/
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()

Completed in 12 milliseconds