Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/vm/
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()
Dprotection_keys.c516 ~PKEY_MASK); in alloc_pkey()