Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/fpu/
Dxstate.c919 u32 old_pkru; in arch_set_user_pkey_access() local
940 old_pkru = read_pkru(); in arch_set_user_pkey_access()
941 old_pkru &= ~((PKRU_AD_BIT|PKRU_WD_BIT) << pkey_shift); in arch_set_user_pkey_access()
944 write_pkru(old_pkru | new_pkru_bits); in arch_set_user_pkey_access()
/Linux-v4.19/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()