Lines Matching refs:new_prot
397 pgprot_t old_prot, new_prot, req_prot; in try_preserve_large_page() local
442 old_prot = new_prot = req_prot = pte_pgprot(old_pte); in try_preserve_large_page()
454 new_prot = static_protections(req_prot, address, pfn); in try_preserve_large_page()
466 if (pgprot_val(chk_prot) != pgprot_val(new_prot)) in try_preserve_large_page()
474 if (pgprot_val(new_prot) == pgprot_val(old_prot)) { in try_preserve_large_page()
492 new_pte = pfn_pte(pte_pfn(old_pte), canon_pgprot(new_prot)); in try_preserve_large_page()
654 pgprot_t new_prot = pte_pgprot(old_pte); in __change_page_attr() local
657 pgprot_val(new_prot) &= ~pgprot_val(cpa->mask_clr); in __change_page_attr()
658 pgprot_val(new_prot) |= pgprot_val(cpa->mask_set); in __change_page_attr()
660 new_prot = static_protections(new_prot, address, pfn); in __change_page_attr()
667 new_pte = pfn_pte(pfn, canon_pgprot(new_prot)); in __change_page_attr()