Searched refs:PKRU_BITS_PER_PKEY (Results 1 – 2 of 2) sorted by relevance
16 #define PKRU_BITS_PER_PKEY 2 macro
426 shifted_pkru = (pkru >> (pkey * PKRU_BITS_PER_PKEY)); in pkey_get()449 new_pkru &= ~(mask << (pkey * PKRU_BITS_PER_PKEY)); in pkey_set()451 new_pkru |= (rights << (pkey * PKRU_BITS_PER_PKEY)); in pkey_set()