Searched refs:pteflags (Results 1 - 5 of 5) sorted by relevance

/linux-master/arch/powerpc/include/asm/book3s/64/
H A Dhash-pkey.h17 static inline u64 pte_to_hpte_pkey_bits(u64 pteflags, unsigned long flags) argument
21 pte_pkey = (((pteflags & H_PTE_PKEY_BIT4) ? HPTE_R_KEY_BIT4 : 0x0UL) |
22 ((pteflags & H_PTE_PKEY_BIT3) ? HPTE_R_KEY_BIT3 : 0x0UL) |
23 ((pteflags & H_PTE_PKEY_BIT2) ? HPTE_R_KEY_BIT2 : 0x0UL) |
24 ((pteflags & H_PTE_PKEY_BIT1) ? HPTE_R_KEY_BIT1 : 0x0UL) |
25 ((pteflags & H_PTE_PKEY_BIT0) ? HPTE_R_KEY_BIT0 : 0x0UL));
36 static inline u16 hash__pte_to_pkey_bits(u64 pteflags) argument
38 return (((pteflags & H_PTE_PKEY_BIT4) ? 0x10 : 0x0UL) |
39 ((pteflags & H_PTE_PKEY_BIT3) ? 0x8 : 0x0UL) |
40 ((pteflags
[all...]
H A Dpkeys.h18 static inline u16 pte_to_pkey_bits(u64 pteflags) argument
22 return hash__pte_to_pkey_bits(pteflags);
H A Dhash.h162 unsigned long htab_convert_pte_flags(unsigned long pteflags, unsigned long flags);
/linux-master/arch/powerpc/mm/book3s64/
H A Dhash_utils.c289 unsigned long htab_convert_pte_flags(unsigned long pteflags, unsigned long flags) argument
294 if ((pteflags & _PAGE_EXEC) == 0)
303 if (pteflags & _PAGE_PRIVILEGED) {
307 if (!(pteflags & _PAGE_WRITE)) {
313 VM_WARN_ONCE(!(pteflags & _PAGE_RWX), "no-access mapping request");
315 if (pteflags & _PAGE_RWX)
322 VM_WARN_ONCE(!(pteflags & _PAGE_RWX), "no-access mapping request");
323 if (!((pteflags & _PAGE_WRITE) && (pteflags & _PAGE_DIRTY)))
332 if (pteflags
[all...]
/linux-master/arch/powerpc/include/asm/
H A Dmmu_context.h287 static inline u64 pte_to_hpte_pkey_bits(u64 pteflags, unsigned long flags)

Completed in 154 milliseconds