Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Dpkeys.h12 #define arch_max_pkey() (boot_cpu_has(X86_FEATURE_OSPKE) ? 16 : 1) macro
69 if (pkey >= arch_max_pkey()) in mm_pkey_is_allocated()
94 u16 all_pkeys_mask = ((1U << arch_max_pkey()) - 1); in mm_pkey_alloc()
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Dpkeys.h45 static inline int arch_max_pkey(void) in arch_max_pkey() function
70 if (pkey < 0 || pkey >= arch_max_pkey()) in mm_pkey_is_allocated()
/OK3568_Linux_fs/kernel/include/linux/
H A Dpkeys.h10 #define arch_max_pkey() (1) macro
/OK3568_Linux_fs/kernel/arch/x86/kernel/fpu/
H A Dxstate.c1048 WARN_ON_ONCE(pkey >= arch_max_pkey()); in arch_set_user_pkey_access()