Home
last modified time | relevance | path

Searched refs:xfeature_nr (Results 1 – 3 of 3) sorted by relevance

/arch/x86/kernel/fpu/
Dxstate.c119 static bool xfeature_is_supervisor(int xfeature_nr) in xfeature_is_supervisor() argument
128 cpuid_count(XSTATE_CPUID, xfeature_nr, &eax, &ebx, &ecx, &edx); in xfeature_is_supervisor()
254 static int xfeature_is_aligned(int xfeature_nr) in xfeature_is_aligned() argument
258 CHECK_XFEATURE(xfeature_nr); in xfeature_is_aligned()
260 if (!xfeature_enabled(xfeature_nr)) { in xfeature_is_aligned()
262 xfeature_nr); in xfeature_is_aligned()
266 cpuid_count(XSTATE_CPUID, xfeature_nr, &eax, &ebx, &ecx, &edx); in xfeature_is_aligned()
425 static int xfeature_uncompacted_offset(int xfeature_nr) in xfeature_uncompacted_offset() argument
434 if (XFEATURE_MASK_SUPERVISOR_ALL & BIT_ULL(xfeature_nr)) { in xfeature_uncompacted_offset()
435 WARN_ONCE(1, "No fixed offset for xstate %d\n", xfeature_nr); in xfeature_uncompacted_offset()
[all …]
/arch/x86/include/asm/fpu/
Dxstate.h137 void *get_xsave_addr(struct xregs_state *xsave, int xfeature_nr);
138 int xfeature_size(int xfeature_nr);
/arch/x86/kvm/
Dx86.c4890 int xfeature_nr = fls64(xfeature_mask) - 1; in fill_xsave() local
4893 cpuid_count(XSTATE_CPUID, xfeature_nr, in fill_xsave()
4896 if (xfeature_nr == XFEATURE_PKRU) { in fill_xsave()
4900 src = get_xsave_addr(xsave, xfeature_nr); in fill_xsave()
4934 int xfeature_nr = fls64(xfeature_mask) - 1; in load_xsave() local
4936 cpuid_count(XSTATE_CPUID, xfeature_nr, in load_xsave()
4939 if (xfeature_nr == XFEATURE_PKRU) { in load_xsave()
4943 void *dest = get_xsave_addr(xsave, xfeature_nr); in load_xsave()