Home
last modified time | relevance | path

Searched refs:old_pkru (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/arch/x86/kernel/fpu/
Dxstate.c907 u32 old_pkru; in arch_set_user_pkey_access() local
928 old_pkru = read_pkru(); in arch_set_user_pkey_access()
929 old_pkru &= ~((PKRU_AD_BIT|PKRU_WD_BIT) << pkey_shift); in arch_set_user_pkey_access()
932 write_pkru(old_pkru | new_pkru_bits); in arch_set_user_pkey_access()
/Linux-v5.4/tools/testing/selftests/x86/
Dprotection_keys.c427 u32 old_pkru = __rdpkru(); in hw_pkey_set() local
434 new_pkru = old_pkru; in hw_pkey_set()
443 __func__, pkey, rights, flags, 0, __rdpkru(), old_pkru); in hw_pkey_set()