Home
last modified time | relevance | path

Searched refs:PKRU_AD_BIT (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dpkru.h7 #define PKRU_AD_BIT 0x1u macro
22 return !(pkru & (PKRU_AD_BIT << pkru_pkey_bits)); in __pkru_allows_read()
32 return !(pkru & ((PKRU_AD_BIT|PKRU_WD_BIT) << pkru_pkey_bits)); in __pkru_allows_write()
/kernel/linux/linux-5.10/arch/x86/mm/
H A Dpkeys.c113 #define PKRU_AD_KEY(pkey) (PKRU_AD_BIT << ((pkey) * PKRU_BITS_PER_PKEY))
174 if (new_init_pkru & (PKRU_AD_BIT|PKRU_WD_BIT)) in init_pkru_write_file()
/kernel/linux/linux-6.6/arch/x86/mm/
H A Dpkeys.c113 #define PKRU_AD_MASK(pkey) (PKRU_AD_BIT << ((pkey) * PKRU_BITS_PER_PKEY))
161 if (new_init_pkru & (PKRU_AD_BIT|PKRU_WD_BIT)) in init_pkru_write_file()
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dpgtable.h1363 #define PKRU_AD_BIT 0x1u macro
1376 return !(pkru & (PKRU_AD_BIT << pkru_pkey_bits)); in __pkru_allows_read()
1386 return !(pkru & ((PKRU_AD_BIT|PKRU_WD_BIT) << pkru_pkey_bits)); in __pkru_allows_write()
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/
H A Dxstate.c1060 new_pkru_bits |= PKRU_AD_BIT; in arch_set_user_pkey_access()
1069 old_pkru &= ~((PKRU_AD_BIT|PKRU_WD_BIT) << pkey_shift); in arch_set_user_pkey_access()
/kernel/linux/linux-6.6/arch/x86/kernel/fpu/
H A Dxstate.c1023 new_pkru_bits |= PKRU_AD_BIT; in arch_set_user_pkey_access()
1033 old_pkru &= ~((PKRU_AD_BIT|PKRU_WD_BIT) << pkey_shift); in arch_set_user_pkey_access()

Completed in 14 milliseconds