Lines Matching refs:new_prot
448 pgprot_t old_prot, new_prot, req_prot; in try_preserve_large_page() local
515 new_prot = static_protections(req_prot, address, pfn); in try_preserve_large_page()
527 if (pgprot_val(chk_prot) != pgprot_val(new_prot)) in try_preserve_large_page()
535 if (pgprot_val(new_prot) == pgprot_val(old_prot)) { in try_preserve_large_page()
553 new_pte = pfn_pte(pte_pfn(old_pte), new_prot); in try_preserve_large_page()
1119 pgprot_t new_prot = pte_pgprot(old_pte); in __change_page_attr() local
1122 pgprot_val(new_prot) &= ~pgprot_val(cpa->mask_clr); in __change_page_attr()
1123 pgprot_val(new_prot) |= pgprot_val(cpa->mask_set); in __change_page_attr()
1125 new_prot = static_protections(new_prot, address, pfn); in __change_page_attr()
1134 if (pgprot_val(new_prot) & _PAGE_PRESENT) in __change_page_attr()
1135 pgprot_val(new_prot) |= _PAGE_GLOBAL; in __change_page_attr()
1137 pgprot_val(new_prot) &= ~_PAGE_GLOBAL; in __change_page_attr()
1144 new_pte = pfn_pte(pfn, canon_pgprot(new_prot)); in __change_page_attr()