Lines Matching refs:pteflags
189 unsigned long htab_convert_pte_flags(unsigned long pteflags) in htab_convert_pte_flags() argument
194 if ((pteflags & _PAGE_EXEC) == 0) in htab_convert_pte_flags()
203 if (pteflags & _PAGE_PRIVILEGED) { in htab_convert_pte_flags()
207 if (!(pteflags & _PAGE_WRITE)) { in htab_convert_pte_flags()
214 if (pteflags & _PAGE_RWX) in htab_convert_pte_flags()
216 if (!((pteflags & _PAGE_WRITE) && (pteflags & _PAGE_DIRTY))) in htab_convert_pte_flags()
225 if (pteflags & _PAGE_DIRTY) in htab_convert_pte_flags()
231 if ((pteflags & _PAGE_CACHE_CTL) == _PAGE_TOLERANT) in htab_convert_pte_flags()
233 else if ((pteflags & _PAGE_CACHE_CTL) == _PAGE_NON_IDEMPOTENT) in htab_convert_pte_flags()
235 else if ((pteflags & _PAGE_CACHE_CTL) == _PAGE_SAO) in htab_convert_pte_flags()
243 rflags |= pte_to_hpte_pkey_bits(pteflags); in htab_convert_pte_flags()