Searched refs:PKEY_BITS_PER_PKEY (Results 1 – 3 of 3) 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()
30 #define PKEY_BITS_PER_PKEY 2 macro36 return (NR_PKEYS - pkey - 1) * PKEY_BITS_PER_PKEY; in pkey_bit_position()
28 #define PKEY_BITS_PER_PKEY 2 macro103 return pkey * PKEY_BITS_PER_PKEY; in pkey_bit_position()