Home
last modified time | relevance | path

Searched refs:arch_max_pkey (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/arch/x86/include/asm/
Dpkeys.h7 #define arch_max_pkey() (boot_cpu_has(X86_FEATURE_OSPKE) ? 16 : 1) macro
64 if (pkey >= arch_max_pkey()) in mm_pkey_is_allocated()
89 u16 all_pkeys_mask = ((1U << arch_max_pkey()) - 1); in mm_pkey_alloc()
/Linux-v4.19/arch/powerpc/include/asm/
Dpkeys.h52 #define arch_max_pkey() pkeys_total macro
92 if (pkey < 0 || pkey >= arch_max_pkey()) in mm_pkey_is_allocated()
/Linux-v4.19/include/linux/
Dpkeys.h10 #define arch_max_pkey() (1) macro