Lines Matching refs:pteflags
289 unsigned long htab_convert_pte_flags(unsigned long pteflags, unsigned long flags) in htab_convert_pte_flags() argument
294 if ((pteflags & _PAGE_EXEC) == 0) in htab_convert_pte_flags()
303 if (pteflags & _PAGE_PRIVILEGED) { in htab_convert_pte_flags()
307 if (!(pteflags & _PAGE_WRITE)) { in htab_convert_pte_flags()
314 if (pteflags & _PAGE_RWX) in htab_convert_pte_flags()
316 if (!((pteflags & _PAGE_WRITE) && (pteflags & _PAGE_DIRTY))) in htab_convert_pte_flags()
325 if (pteflags & _PAGE_DIRTY) in htab_convert_pte_flags()
331 if ((pteflags & _PAGE_CACHE_CTL) == _PAGE_TOLERANT) in htab_convert_pte_flags()
333 else if ((pteflags & _PAGE_CACHE_CTL) == _PAGE_NON_IDEMPOTENT) in htab_convert_pte_flags()
335 else if ((pteflags & _PAGE_CACHE_CTL) == _PAGE_SAO) in htab_convert_pte_flags()
343 rflags |= pte_to_hpte_pkey_bits(pteflags, flags); in htab_convert_pte_flags()