Lines Matching refs:pteflags
191 unsigned long htab_convert_pte_flags(unsigned long pteflags, unsigned long flags) in htab_convert_pte_flags() argument
196 if ((pteflags & _PAGE_EXEC) == 0) in htab_convert_pte_flags()
205 if (pteflags & _PAGE_PRIVILEGED) { in htab_convert_pte_flags()
209 if (!(pteflags & _PAGE_WRITE)) { in htab_convert_pte_flags()
216 if (pteflags & _PAGE_RWX) in htab_convert_pte_flags()
218 if (!((pteflags & _PAGE_WRITE) && (pteflags & _PAGE_DIRTY))) in htab_convert_pte_flags()
227 if (pteflags & _PAGE_DIRTY) in htab_convert_pte_flags()
233 if ((pteflags & _PAGE_CACHE_CTL) == _PAGE_TOLERANT) in htab_convert_pte_flags()
235 else if ((pteflags & _PAGE_CACHE_CTL) == _PAGE_NON_IDEMPOTENT) in htab_convert_pte_flags()
237 else if ((pteflags & _PAGE_CACHE_CTL) == _PAGE_SAO) in htab_convert_pte_flags()
245 rflags |= pte_to_hpte_pkey_bits(pteflags, flags); in htab_convert_pte_flags()