Searched refs:arch_max_pkey (Results 1 – 4 of 4) sorted by relevance
10 #define arch_max_pkey() (cpu_feature_enabled(X86_FEATURE_OSPKE) ? 16 : 1) macro64 if (pkey >= arch_max_pkey()) in mm_pkey_is_allocated()89 u16 all_pkeys_mask = ((1U << arch_max_pkey()) - 1); in mm_pkey_alloc()
45 static inline int arch_max_pkey(void) in arch_max_pkey() function70 if (pkey < 0 || pkey >= arch_max_pkey()) in mm_pkey_is_allocated()
12 #define arch_max_pkey() (1) macro
1015 if (WARN_ON_ONCE(pkey >= arch_max_pkey())) in arch_set_user_pkey_access()
Completed in 10 milliseconds