Searched refs:arch_max_pkey (Results 1 - 4 of 4) sorted by relevance

/linux-master/include/linux/
H A Dpkeys.h12 #define arch_max_pkey() (1) macro
/linux-master/arch/x86/include/asm/
H A Dpkeys.h10 #define arch_max_pkey() (cpu_feature_enabled(X86_FEATURE_OSPKE) ? 16 : 1) macro
64 if (pkey >= arch_max_pkey())
89 u16 all_pkeys_mask = ((1U << arch_max_pkey()) - 1);
/linux-master/arch/powerpc/include/asm/
H A Dpkeys.h45 static inline int arch_max_pkey(void) function
70 if (pkey < 0 || pkey >= arch_max_pkey())
/linux-master/arch/x86/kernel/fpu/
H A Dxstate.c1019 if (WARN_ON_ONCE(pkey >= arch_max_pkey()))

Completed in 103 milliseconds