Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/powerpc/include/
H A Dpkeys.h38 #define PKEY_BITS_PER_PKEY 2 macro
40 #define PKEY_BITS_MASK ((1UL << PKEY_BITS_PER_PKEY) - 1)
56 shift = (NR_PKEYS - pkey - 1) * PKEY_BITS_PER_PKEY; in pkey_set_rights()
/openbmc/linux/tools/testing/selftests/mm/
H A Dpkey-powerpc.h30 #define PKEY_BITS_PER_PKEY 2 macro
36 return (NR_PKEYS - pkey - 1) * PKEY_BITS_PER_PKEY; in pkey_bit_position()
H A Dpkey-x86.h28 #define PKEY_BITS_PER_PKEY 2 macro
103 return pkey * PKEY_BITS_PER_PKEY; in pkey_bit_position()