Lines Matching refs:src_pte
61 pte_t dst_pte, pte_t src_pte, int len) in memcpy_multicache() argument
94 src_pte = hv_pte_set_nc(src_pte); in memcpy_multicache()
95 src_pte = hv_pte_clear_writable(src_pte); /* be paranoid */ in memcpy_multicache()
99 __set_pte(ptep, src_pte); /* set_pte() would be confused by this */ in memcpy_multicache()
110 src_pte = hv_pte_set_mode(src_pte, HV_PTE_MODE_CACHE_NO_L3); in memcpy_multicache()
111 src_pte = hv_pte_set_writable(src_pte); /* need write access for inv */ in memcpy_multicache()
112 __set_pte(ptep, src_pte); /* set_pte() would be confused by this */ in memcpy_multicache()
148 pte_t src_pte, dst_pte; in fast_copy() local
156 src_pte = *src_ptep; in fast_copy()
157 if (!hv_pte_get_present(src_pte) || in fast_copy()
158 !hv_pte_get_readable(src_pte) || in fast_copy()
159 hv_pte_get_mode(src_pte) != HV_PTE_MODE_CACHE_TILE_L3) in fast_copy()
161 if (get_remote_cache_cpu(src_pte) == smp_processor_id()) in fast_copy()
163 src_page = pfn_to_page(hv_pte_get_pfn(src_pte)); in fast_copy()
165 if (pte_val(src_pte) != pte_val(*src_ptep)) { in fast_copy()
169 if (pte_huge(src_pte)) { in fast_copy()
171 int pfn = hv_pte_get_pfn(src_pte); in fast_copy()
174 src_pte = pfn_pte(pfn, src_pte); in fast_copy()
175 src_pte = pte_mksmall(src_pte); in fast_copy()
226 memcpy_multicache(dest, source, dst_pte, src_pte, copy_size); in fast_copy()