Lines Matching refs:new_prot
845 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page() local
961 new_prot = static_protections(req_prot, lpaddr, old_pfn, numpages, in __should_split_large_page()
964 new_prot = verify_rwx(old_prot, new_prot, lpaddr, old_pfn, numpages); in __should_split_large_page()
975 if (pgprot_val(req_prot) != pgprot_val(new_prot)) in __should_split_large_page()
979 new_pte = pfn_pte(old_pfn, new_prot); in __should_split_large_page()
1607 pgprot_t new_prot = pte_pgprot(old_pte); in __change_page_attr() local
1610 pgprot_val(new_prot) &= ~pgprot_val(cpa->mask_clr); in __change_page_attr()
1611 pgprot_val(new_prot) |= pgprot_val(cpa->mask_set); in __change_page_attr()
1615 new_prot = static_protections(new_prot, address, pfn, 1, 0, in __change_page_attr()
1618 new_prot = verify_rwx(old_prot, new_prot, address, pfn, 1); in __change_page_attr()
1620 new_prot = pgprot_clear_protnone_bits(new_prot); in __change_page_attr()
1627 new_pte = pfn_pte(pfn, new_prot); in __change_page_attr()