Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dpgtable.h868 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument
870 if (pgprot_val(oldprot) == pgprot_val(pgprot_noncached(oldprot))) in pgprot_modify()
872 if (pgprot_val(oldprot) == pgprot_val(pgprot_writecombine(oldprot))) in pgprot_modify()
874 if (pgprot_val(oldprot) == pgprot_val(pgprot_device(oldprot))) in pgprot_modify()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpgtable.h664 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument
666 pgprotval_t preservebits = pgprot_val(oldprot) & _PAGE_CHG_MASK; in pgprot_modify()
/kernel/linux/linux-5.10/mm/
Dmmap.c124 static pgprot_t vm_pgprot_modify(pgprot_t oldprot, unsigned long vm_flags) in vm_pgprot_modify() argument
126 return pgprot_modify(oldprot, vm_get_page_prot(vm_flags)); in vm_pgprot_modify()