Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/mm/
Dpkey-helpers.h111 #ifndef PKEY_MASK
112 #define PKEY_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE) macro
120 reg &= ~((u64)PKEY_MASK << shift); in set_pkey_bits()
122 reg |= (flags & PKEY_MASK) << shift; in set_pkey_bits()
135 return ((reg >> shift) & PKEY_MASK); in get_pkey_bits()
Dpkey-arm64.h23 #define PKEY_MASK 0xf macro
99 reg &= ~((u64)PKEY_MASK << shift); in set_pkey_bits()
120 u32 perm = (reg >> shift) & PKEY_MASK; in get_pkey_bits()
Dmseal_helpers.h35 #ifndef PKEY_MASK
36 #define PKEY_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE) macro
Dmseal_test.c156 reg &= ~((u64)PKEY_MASK << shift); in set_pkey_bits()
158 reg |= (flags & PKEY_MASK) << shift; in set_pkey_bits()
Dprotection_keys.c510 ~PKEY_MASK); in alloc_pkey()