Home
last modified time | relevance | path

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

/arch/x86/include/asm/
Dspecial_insns.h102 u32 edx, pkru; in __read_pkru() local
109 : "=a" (pkru), "=d" (edx) in __read_pkru()
111 return pkru; in __read_pkru()
114 static inline void __write_pkru(u32 pkru) in __write_pkru() argument
123 : : "a" (pkru), "c"(ecx), "d"(edx)); in __write_pkru()
131 static inline void __write_pkru(u32 pkru) in __write_pkru() argument
Dmmu_context.h226 u32 pkru = read_pkru(); in __pkru_allows_pkey() local
228 if (!__pkru_allows_read(pkru, pkey)) in __pkru_allows_pkey()
230 if (write && !__pkru_allows_write(pkru, pkey)) in __pkru_allows_pkey()
Dpgtable.h122 static inline void write_pkru(u32 pkru) in write_pkru() argument
125 __write_pkru(pkru); in write_pkru()
987 static inline bool __pkru_allows_read(u32 pkru, u16 pkey) in __pkru_allows_read() argument
990 return !(pkru & (PKRU_AD_BIT << pkru_pkey_bits)); in __pkru_allows_read()
993 static inline bool __pkru_allows_write(u32 pkru, u16 pkey) in __pkru_allows_write() argument
1000 return !(pkru & ((PKRU_AD_BIT|PKRU_WD_BIT) << pkru_pkey_bits)); in __pkru_allows_write()
/arch/x86/include/asm/fpu/
Dtypes.h224 u32 pkru; member