Searched refs:PKRU_AD_BIT (Results 1 – 3 of 3) sorted by relevance
114 #define PKRU_AD_KEY(pkey) (PKRU_AD_BIT << ((pkey) * PKRU_BITS_PER_PKEY))176 if (new_init_pkru & (PKRU_AD_BIT|PKRU_WD_BIT)) in init_pkru_write_file()
1374 #define PKRU_AD_BIT 0x1 macro1387 return !(pkru & (PKRU_AD_BIT << pkru_pkey_bits)); in __pkru_allows_read()1397 return !(pkru & ((PKRU_AD_BIT|PKRU_WD_BIT) << pkru_pkey_bits)); in __pkru_allows_write()
920 new_pkru_bits |= PKRU_AD_BIT; in arch_set_user_pkey_access()929 old_pkru &= ~((PKRU_AD_BIT|PKRU_WD_BIT) << pkey_shift); in arch_set_user_pkey_access()