Searched refs:PKEY_BITS_PER_PKEY (Results 1 – 7 of 7) sorted by relevance
38 #define PKEY_BITS_PER_PKEY 2 macro40 #define PKEY_BITS_MASK ((1UL << PKEY_BITS_PER_PKEY) - 1)56 shift = (NR_PKEYS - pkey - 1) * PKEY_BITS_PER_PKEY; in pkey_set_rights()
31 #ifndef PKEY_BITS_PER_PKEY32 #define PKEY_BITS_PER_PKEY 2 macro
33 #define PKEY_BITS_PER_PKEY 2 macro39 return (NR_PKEYS - pkey - 1) * PKEY_BITS_PER_PKEY; in pkey_bit_position()
32 #define PKEY_BITS_PER_PKEY 2 macro107 return pkey * PKEY_BITS_PER_PKEY; in pkey_bit_position()
35 #define PKEY_BITS_PER_PKEY 4 macro75 return pkey * PKEY_BITS_PER_PKEY; in pkey_bit_position()
1675 u64 new_pkey = (POE_X << PKEY_BITS_PER_PKEY * 2) | in test_ptrace_modifies_pkru()1676 (POE_NONE << PKEY_BITS_PER_PKEY) | in test_ptrace_modifies_pkru()
148 return pkey * PKEY_BITS_PER_PKEY; in pkey_bit_position()