Lines Matching refs:ref_prot
924 pgprot_t ref_prot, unsigned long address, in split_set_pte() argument
938 prot = static_protections(ref_prot, address, pfn, npg, 0, CPA_PROTECT); in split_set_pte()
940 if (pgprot_val(prot) == pgprot_val(ref_prot)) in split_set_pte()
952 ref_prot = prot; in split_set_pte()
956 set_pte(pte, pfn_pte(pfn, ref_prot)); in split_set_pte()
966 pgprot_t ref_prot; in __split_large_page() local
984 ref_prot = pmd_pgprot(*(pmd_t *)kpte); in __split_large_page()
989 ref_prot = pgprot_large_2_4k(ref_prot); in __split_large_page()
996 ref_prot = pud_pgprot(*(pud_t *)kpte); in __split_large_page()
1006 if (!(pgprot_val(ref_prot) & _PAGE_PRESENT)) in __split_large_page()
1007 pgprot_val(ref_prot) &= ~_PAGE_PSE; in __split_large_page()
1015 ref_prot = pgprot_clear_protnone_bits(ref_prot); in __split_large_page()
1022 split_set_pte(cpa, pbase + i, pfn, ref_prot, lpaddr, lpinc); in __split_large_page()