Home
last modified time | relevance | path

Searched refs:oldprot (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/include/asm-generic/
Dpgtable.h271 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument
273 if (pgprot_val(oldprot) == pgprot_val(pgprot_noncached(oldprot))) in pgprot_modify()
275 if (pgprot_val(oldprot) == pgprot_val(pgprot_writecombine(oldprot))) in pgprot_modify()
277 if (pgprot_val(oldprot) == pgprot_val(pgprot_device(oldprot))) in pgprot_modify()
/linux-4.1.27/arch/tile/include/asm/
Dpgtable.h165 #define pgprot_modify(oldprot, newprot) \ argument
166 (pgprot_t) { ((oldprot).val & ~_PAGE_ALL) | (newprot).val }
/linux-4.1.27/arch/x86/include/asm/
Dpgtable.h375 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument
377 pgprotval_t preservebits = pgprot_val(oldprot) & _PAGE_CHG_MASK; in pgprot_modify()
/linux-4.1.27/mm/
Dmmap.c92 static pgprot_t vm_pgprot_modify(pgprot_t oldprot, unsigned long vm_flags) in vm_pgprot_modify() argument
94 return pgprot_modify(oldprot, vm_get_page_prot(vm_flags)); in vm_pgprot_modify()