Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
Dpgtable.h1378 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument
1380 if (pgprot_val(oldprot) == pgprot_val(pgprot_noncached(oldprot))) in pgprot_modify()
1382 if (pgprot_val(oldprot) == pgprot_val(pgprot_writecombine(oldprot))) in pgprot_modify()
1384 if (pgprot_val(oldprot) == pgprot_val(pgprot_device(oldprot))) in pgprot_modify()
/linux-6.12.1/mm/
Dvma.h353 static inline pgprot_t vm_pgprot_modify(pgprot_t oldprot, unsigned long vm_flags) in vm_pgprot_modify() argument
355 return pgprot_modify(oldprot, vm_get_page_prot(vm_flags)); in vm_pgprot_modify()
/linux-6.12.1/tools/testing/vma/
Dvma_internal.h371 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument
373 return __pgprot(pgprot_val(oldprot) | pgprot_val(newprot)); in pgprot_modify()
/linux-6.12.1/arch/x86/include/asm/
Dpgtable.h906 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() argument
908 pgprotval_t preservebits = pgprot_val(oldprot) & _PAGE_CHG_MASK; in pgprot_modify()