Lines Matching refs:rmd
2375 struct remap_data *rmd = data; in remap_area_pfn_pte_fn() local
2376 pte_t pte = pte_mkspecial(mfn_pte(*rmd->pfn, rmd->prot)); in remap_area_pfn_pte_fn()
2382 if (rmd->contiguous) in remap_area_pfn_pte_fn()
2383 (*rmd->pfn)++; in remap_area_pfn_pte_fn()
2385 rmd->pfn++; in remap_area_pfn_pte_fn()
2387 rmd->mmu_update->ptr = virt_to_machine(ptep).maddr; in remap_area_pfn_pte_fn()
2388 rmd->mmu_update->ptr |= rmd->no_translate ? in remap_area_pfn_pte_fn()
2391 rmd->mmu_update->val = pte_val_ma(pte); in remap_area_pfn_pte_fn()
2392 rmd->mmu_update++; in remap_area_pfn_pte_fn()
2402 struct remap_data rmd; in xen_remap_pfn() local
2409 rmd.pfn = pfn; in xen_remap_pfn()
2410 rmd.prot = prot; in xen_remap_pfn()
2415 rmd.contiguous = !err_ptr; in xen_remap_pfn()
2416 rmd.no_translate = no_translate; in xen_remap_pfn()
2426 rmd.mmu_update = mmu_update; in xen_remap_pfn()
2428 remap_area_pfn_pte_fn, &rmd); in xen_remap_pfn()