Searched refs:pkru_pkey_bits (Results 1 – 1 of 1) sorted by relevance
1375 int pkru_pkey_bits = pkey * PKRU_BITS_PER_PKEY; in __pkru_allows_read() local1376 return !(pkru & (PKRU_AD_BIT << pkru_pkey_bits)); in __pkru_allows_read()1381 int pkru_pkey_bits = pkey * PKRU_BITS_PER_PKEY; in __pkru_allows_write() local1386 return !(pkru & ((PKRU_AD_BIT|PKRU_WD_BIT) << pkru_pkey_bits)); in __pkru_allows_write()