Searched refs:oldprot (Results 1 – 4 of 4) sorted by relevance
314 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument316 if (pgprot_val(oldprot) == pgprot_val(pgprot_noncached(oldprot))) in pgprot_modify()318 if (pgprot_val(oldprot) == pgprot_val(pgprot_writecombine(oldprot))) in pgprot_modify()320 if (pgprot_val(oldprot) == pgprot_val(pgprot_device(oldprot))) in pgprot_modify()
165 #define pgprot_modify(oldprot, newprot) \ argument166 (pgprot_t) { ((oldprot).val & ~_PAGE_ALL) | (newprot).val }
392 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument394 pgprotval_t preservebits = pgprot_val(oldprot) & _PAGE_CHG_MASK; in pgprot_modify()
93 static pgprot_t vm_pgprot_modify(pgprot_t oldprot, unsigned long vm_flags) in vm_pgprot_modify() argument95 return pgprot_modify(oldprot, vm_get_page_prot(vm_flags)); in vm_pgprot_modify()