Searched refs:PKRU_BITS_PER_PKEY (Results 1 – 2 of 2) sorted by relevance
17 #define PKRU_BITS_PER_PKEY 2 macro
413 shifted_pkru = (pkru >> (pkey * PKRU_BITS_PER_PKEY)); in hw_pkey_get()436 new_pkru &= ~(mask << (pkey * PKRU_BITS_PER_PKEY)); in hw_pkey_set()438 new_pkru |= (rights << (pkey * PKRU_BITS_PER_PKEY)); in hw_pkey_set()