Searched refs:old_prot (Results 1 – 3 of 3) sorted by relevance
203 pgprot_t old_prot, new_prot; in __set_clr_pte_enc() local210 old_prot = pte_pgprot(*kpte); in __set_clr_pte_enc()214 old_prot = pmd_pgprot(*(pmd_t *)kpte); in __set_clr_pte_enc()218 old_prot = pud_pgprot(*(pud_t *)kpte); in __set_clr_pte_enc()224 new_prot = old_prot; in __set_clr_pte_enc()231 if (pgprot_val(old_prot) == pgprot_val(new_prot)) in __set_clr_pte_enc()
769 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page() local783 old_prot = pmd_pgprot(*(pmd_t *)kpte); in __should_split_large_page()788 old_prot = pud_pgprot(*(pud_t *)kpte); in __should_split_large_page()815 req_prot = pgprot_large_2_4k(old_prot); in __should_split_large_page()849 chk_prot = static_protections(old_prot, lpaddr, old_pfn, numpages, in __should_split_large_page()852 if (WARN_ON_ONCE(pgprot_val(chk_prot) != pgprot_val(old_prot))) { in __should_split_large_page()870 if (pgprot_val(req_prot) == pgprot_val(old_prot)) { in __should_split_large_page()
786 int old_prot = da->pi_prot_type, ret; in pi_prot_type_store() local828 if (flag && !old_prot) { in pi_prot_type_store()831 da->pi_prot_type = old_prot; in pi_prot_type_store()836 } else if (!flag && old_prot) { in pi_prot_type_store()