Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/x86/
Dpkey-helpers.h61 unsigned int pkru; in __rdpkru() local
66 pkru = eax; in __rdpkru()
67 return pkru; in __rdpkru()
72 unsigned int pkru = __rdpkru(); in _rdpkru() local
75 line, pkru, shadow_pkru); in _rdpkru()
76 assert(pkru == shadow_pkru); in _rdpkru()
78 return pkru; in _rdpkru()
83 static inline void __wrpkru(unsigned int pkru) in __wrpkru() argument
85 unsigned int eax = pkru; in __wrpkru()
89 dprintf4("%s() changing %08x to %08x\n", __func__, __rdpkru(), pkru); in __wrpkru()
[all …]
Dprotection_keys.c418 u32 pkru = __rdpkru(); in pkey_get() local
424 dprintf2("%s() raw pkru: %x\n", __func__, pkru); in pkey_get()
426 shifted_pkru = (pkru >> (pkey * PKRU_BITS_PER_PKEY)); in pkey_get()