Lines Matching refs:xfeature_nr
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()
452 CHECK_XFEATURE(xfeature_nr); in xfeature_uncompacted_offset()
453 cpuid_count(XSTATE_CPUID, xfeature_nr, &eax, &ebx, &ecx, &edx); in xfeature_uncompacted_offset()
457 static int xfeature_size(int xfeature_nr) in xfeature_size() argument
461 CHECK_XFEATURE(xfeature_nr); in xfeature_size()
462 cpuid_count(XSTATE_CPUID, xfeature_nr, &eax, &ebx, &ecx, &edx); in xfeature_size()