Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dpkeys.c48 #define PKEY_REG_BITS (sizeof(u64) * 8) macro
49 #define pkeyshift(pkey) (PKEY_REG_BITS - ((pkey+1) * AMR_BITS_PER_PKEY))
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-pkey.c28 #define PKEY_REG_BITS (sizeof(u64) * 8) macro
29 #define pkeyshift(pkey) (PKEY_REG_BITS - ((pkey + 1) * AMR_BITS_PER_PKEY))
H A Dcore-pkey.c37 #define PKEY_REG_BITS (sizeof(u64) * 8) macro
38 #define pkeyshift(pkey) (PKEY_REG_BITS - ((pkey + 1) * AMR_BITS_PER_PKEY))