Home
last modified time | relevance | path

Searched refs:remap_pfn (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_mm.c31 struct remap_pfn { struct
40 static int remap_pfn(pte_t *pte, unsigned long addr, void *data) in remap_pfn() function
42 struct remap_pfn *r = data; in remap_pfn()
53 static inline unsigned long sgt_pfn(const struct remap_pfn *r) in sgt_pfn()
63 struct remap_pfn *r = data; in remap_sg()
94 struct remap_pfn r; in remap_io_mapping()
106 err = apply_to_page_range(r.mm, addr, size, remap_pfn, &r); in remap_io_mapping()
129 struct remap_pfn r = { in remap_io_sg()
/kernel/linux/linux-5.10/arch/x86/xen/
Dsetup.c334 unsigned long start_pfn, unsigned long size, unsigned long remap_pfn) in xen_do_set_identity_and_remap_chunk() argument
347 for (ident_pfn_iter = start_pfn, remap_pfn_iter = remap_pfn; in xen_do_set_identity_and_remap_chunk()
389 unsigned long remap_pfn) in xen_set_identity_and_remap_chunk() argument
395 if (remap_pfn == 0) in xen_set_identity_and_remap_chunk()
396 remap_pfn = nr_pages; in xen_set_identity_and_remap_chunk()
413 remap_range_size = xen_find_pfn_range(&remap_pfn); in xen_set_identity_and_remap_chunk()
424 xen_do_set_identity_and_remap_chunk(cur_pfn, size, remap_pfn); in xen_set_identity_and_remap_chunk()
428 remap_pfn += size; in xen_set_identity_and_remap_chunk()
440 return remap_pfn; in xen_set_identity_and_remap_chunk()
/kernel/linux/linux-5.10/drivers/xen/
Dxlate_mmu.c266 struct remap_pfn { struct
275 struct remap_pfn *r = data; in remap_pfn_fn() argument
288 struct remap_pfn r = { in xen_remap_vma_range()
/kernel/linux/linux-5.10/mm/
Dmemory.c2292 unsigned long remap_pfn = pfn; in remap_pfn_range() local
2322 err = track_pfn_remap(vma, &prot, remap_pfn, addr, PAGE_ALIGN(size)); in remap_pfn_range()
2341 untrack_pfn(vma, remap_pfn, PAGE_ALIGN(size)); in remap_pfn_range()