Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/x86/
Dprotection_keys.c51 unsigned int shadow_pkru; variable
275 __rdpkru(), shadow_pkru); in signal_handler()
469 shadow_pkru |= flags << (pkey * 2); in pkey_disable_set()
470 dprintf1("%s(%d) shadow: 0x%x\n", __func__, pkey, shadow_pkru); in pkey_disable_set()
502 shadow_pkru &= ~(flags << (pkey * 2)); in pkey_disable_clear()
565 __LINE__, __rdpkru(), shadow_pkru); in alloc_pkey()
572 __LINE__, ret, __rdpkru(), shadow_pkru); in alloc_pkey()
575 shadow_pkru &= ~(0x3 << (ret * 2)); in alloc_pkey()
577 __LINE__, ret, __rdpkru(), shadow_pkru); in alloc_pkey()
582 shadow_pkru |= (init_val << (ret * 2)); in alloc_pkey()
[all …]
Dpkey-helpers.h56 extern unsigned int shadow_pkru;
75 line, pkru, shadow_pkru); in _rdpkru()
76 assert(pkru == shadow_pkru); in _rdpkru()
101 shadow_pkru = pkru; in wrpkru()