Lines Matching refs:end_pfn
254 unsigned long end_pfn, unsigned long nr_pages) in xen_set_identity_and_release_chunk() argument
259 WARN_ON(start_pfn > end_pfn); in xen_set_identity_and_release_chunk()
262 end = min(end_pfn, nr_pages); in xen_set_identity_and_release_chunk()
281 set_phys_range_identity(start_pfn, end_pfn); in xen_set_identity_and_release_chunk()
387 unsigned long start_pfn, unsigned long end_pfn, unsigned long nr_pages, in xen_set_identity_and_remap_chunk() argument
392 unsigned long n = end_pfn - start_pfn; in xen_set_identity_and_remap_chunk()
434 for (pfn = start_pfn; pfn <= max_pfn_mapped && pfn < end_pfn; pfn++) in xen_set_identity_and_remap_chunk()
443 unsigned long start_pfn, unsigned long end_pfn, unsigned long nr_pages, in xen_count_remap_pages() argument
449 return remap_pages + min(end_pfn, nr_pages) - start_pfn; in xen_count_remap_pages()
453 unsigned long (*func)(unsigned long start_pfn, unsigned long end_pfn, in xen_foreach_remap_area() argument
476 unsigned long end_pfn = PFN_UP(end); in xen_foreach_remap_area() local
479 end_pfn = PFN_UP(entry->addr); in xen_foreach_remap_area()
481 if (start_pfn < end_pfn) in xen_foreach_remap_area()
482 ret_val = func(start_pfn, end_pfn, nr_pages, in xen_foreach_remap_area()