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()
46 #define PKEY_BITS_PER_PKEY 2 macro109 return pkey * PKEY_BITS_PER_PKEY; in pkey_bit_position()
33 #define PKEY_BITS_PER_PKEY 2 macro39 return (NR_PKEYS - pkey - 1) * PKEY_BITS_PER_PKEY; in pkey_bit_position()