Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/powerpc/include/
H A Dpkeys.h40 #define PKEY_BITS_MASK ((1UL << PKEY_BITS_PER_PKEY) - 1) macro
58 amr &= ~(PKEY_BITS_MASK << shift); in pkey_set_rights()
59 amr |= (rights & PKEY_BITS_MASK) << shift; in pkey_set_rights()
113 amr_bits = (r) & PKEY_BITS_MASK; \
128 if ((rights & PKEY_BITS_MASK) == 0) in next_pkey_rights()
130 else if ((rights & PKEY_BITS_MASK) == PKEY_DISABLE_WRITE) in next_pkey_rights()