Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/mm/
H A Dpkey-helpers.h98 #define PKEY_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE) macro
104 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()
H A Dprotection_keys.c508 ~PKEY_MASK); in alloc_pkey()