Searched refs:oldprot (Results 1 – 4 of 4) sorted by relevance
1524 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument1526 if (pgprot_val(oldprot) == pgprot_val(pgprot_noncached(oldprot))) in pgprot_modify()1528 if (pgprot_val(oldprot) == pgprot_val(pgprot_writecombine(oldprot))) in pgprot_modify()1530 if (pgprot_val(oldprot) == pgprot_val(pgprot_device(oldprot))) in pgprot_modify()
417 static inline pgprot_t vm_pgprot_modify(pgprot_t oldprot, vm_flags_t vm_flags) in vm_pgprot_modify() argument419 return pgprot_modify(oldprot, vm_get_page_prot(vm_flags)); in vm_pgprot_modify()
867 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument869 return __pgprot(pgprot_val(oldprot) | pgprot_val(newprot)); in pgprot_modify()
862 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument864 pgprotval_t preservebits = pgprot_val(oldprot) & _PAGE_CHG_MASK; in pgprot_modify()