Searched refs:PKEY_MASK (Results 1 – 2 of 2) sorted by relevance
98 #define PKEY_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE) macro104 reg &= ~((u64)PKEY_MASK << shift); in set_pkey_bits()106 reg |= (flags & PKEY_MASK) << shift; in set_pkey_bits()117 return ((reg >> shift) & PKEY_MASK); in get_pkey_bits()
508 ~PKEY_MASK); in alloc_pkey()