Searched refs:arch_max_pkey (Results 1 – 3 of 3) sorted by relevance
7 #define arch_max_pkey() (boot_cpu_has(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()
52 #define arch_max_pkey() pkeys_total macro92 if (pkey < 0 || pkey >= arch_max_pkey()) in mm_pkey_is_allocated()
10 #define arch_max_pkey() (1) macro