Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/include/asm/
Dpgtable.h1375 int pkru_pkey_bits = pkey * PKRU_BITS_PER_PKEY; in __pkru_allows_read() local
1376 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() local
1386 return !(pkru & ((PKRU_AD_BIT|PKRU_WD_BIT) << pkru_pkey_bits)); in __pkru_allows_write()