Searched refs:new_pkru (Results 1 – 1 of 1) sorted by relevance
428 u32 new_pkru; in hw_pkey_set() local434 new_pkru = old_pkru; in hw_pkey_set()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()440 __wrpkru(new_pkru); in hw_pkey_set()