Searched refs:old_prot (Results 1 – 3 of 3) sorted by relevance
201 pgprot_t old_prot, new_prot; in __set_clr_pte_enc() local208 old_prot = pte_pgprot(*kpte); in __set_clr_pte_enc()212 old_prot = pmd_pgprot(*(pmd_t *)kpte); in __set_clr_pte_enc()216 old_prot = pud_pgprot(*(pud_t *)kpte); in __set_clr_pte_enc()222 new_prot = old_prot; in __set_clr_pte_enc()229 if (pgprot_val(old_prot) == pgprot_val(new_prot)) in __set_clr_pte_enc()
749 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page() local763 old_prot = pmd_pgprot(*(pmd_t *)kpte); in __should_split_large_page()768 old_prot = pud_pgprot(*(pud_t *)kpte); in __should_split_large_page()795 req_prot = pgprot_large_2_4k(old_prot); in __should_split_large_page()829 chk_prot = static_protections(old_prot, lpaddr, old_pfn, numpages, in __should_split_large_page()832 if (WARN_ON_ONCE(pgprot_val(chk_prot) != pgprot_val(old_prot))) { in __should_split_large_page()850 if (pgprot_val(req_prot) == pgprot_val(old_prot)) { in __should_split_large_page()
784 int old_prot = da->pi_prot_type, ret; in pi_prot_type_store() local826 if (flag && !old_prot) { in pi_prot_type_store()829 da->pi_prot_type = old_prot; in pi_prot_type_store()834 } else if (!flag && old_prot) { in pi_prot_type_store()