Searched refs:xfeature_nr (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/arch/x86/kernel/fpu/ |
D | xstate.c | 116 static int 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() 132 static int xfeature_is_user(int xfeature_nr) in xfeature_is_user() argument 134 return !xfeature_is_supervisor(xfeature_nr); in xfeature_is_user() 330 static int xfeature_is_aligned(int xfeature_nr) in xfeature_is_aligned() argument 334 CHECK_XFEATURE(xfeature_nr); in xfeature_is_aligned() 335 cpuid_count(XSTATE_CPUID, xfeature_nr, &eax, &ebx, &ecx, &edx); in xfeature_is_aligned() 438 static int xfeature_uncompacted_offset(int xfeature_nr) in xfeature_uncompacted_offset() argument 447 if (XFEATURE_MASK_SUPERVISOR & (1 << xfeature_nr)) { in xfeature_uncompacted_offset() 448 WARN_ONCE(1, "No fixed offset for xstate %d\n", xfeature_nr); in xfeature_uncompacted_offset() [all …]
|