Searched refs:pkru_pkey_bits (Results 1 – 1 of 1) sorted by relevance
43 let pkru_pkey_bits: u32 = pkey as u32 * PKRU_BITS_PER_PKEY; in pkru_allows_read() localVariable44 pkru & ((PKRU_AD_BIT as u32) << pkru_pkey_bits) > 0 in pkru_allows_read()48 let pkru_pkey_bits: u32 = pkey as u32 * PKRU_BITS_PER_PKEY; in pkru_allows_write() localVariable49 pkru & (((PKRU_AD_BIT | PKRU_WD_BIT) as u32) << pkru_pkey_bits) > 0 in pkru_allows_write()