Lines Matching refs:start_pfn
205 static void __init xen_set_identity_and_release_chunk(unsigned long start_pfn, in xen_set_identity_and_release_chunk() argument
209 WARN_ON(start_pfn > end_pfn); in xen_set_identity_and_release_chunk()
212 *released += xen_do_chunk(start_pfn, min(end_pfn, nr_pages), true); in xen_set_identity_and_release_chunk()
213 *identity += set_phys_range_identity(start_pfn, end_pfn); in xen_set_identity_and_release_chunk()
255 unsigned long start_pfn, unsigned long size, unsigned long remap_pfn) in xen_do_set_identity_and_remap_chunk() argument
276 mod = start_pfn % P2M_PER_PAGE; in xen_do_set_identity_and_remap_chunk()
278 mod ? (start_pfn - mod + P2M_PER_PAGE) : start_pfn; in xen_do_set_identity_and_remap_chunk()
282 mod = (start_pfn + size) % P2M_PER_PAGE; in xen_do_set_identity_and_remap_chunk()
283 ident_end_pfn_align = start_pfn + size - mod; in xen_do_set_identity_and_remap_chunk()
292 BUG_ON(ident_pfn_iter + P2M_PER_PAGE > start_pfn + size); in xen_do_set_identity_and_remap_chunk()
331 ident_boundary_pfn = start_pfn; in xen_do_set_identity_and_remap_chunk()
343 BUG_ON(ident_boundary_pfn >= start_pfn + size); in xen_do_set_identity_and_remap_chunk()
367 ident_cnt += set_phys_range_identity(start_pfn, in xen_do_set_identity_and_remap_chunk()
368 start_pfn + size); in xen_do_set_identity_and_remap_chunk()
371 if (start_pfn < ident_start_pfn_align) in xen_do_set_identity_and_remap_chunk()
372 ident_cnt += set_phys_range_identity(start_pfn, in xen_do_set_identity_and_remap_chunk()
374 if (start_pfn + size > ident_pfn_iter) in xen_do_set_identity_and_remap_chunk()
376 start_pfn + size); in xen_do_set_identity_and_remap_chunk()
397 const struct e820entry *list, size_t map_size, unsigned long start_pfn, in xen_set_identity_and_remap_chunk() argument
404 unsigned long n = end_pfn - start_pfn; in xen_set_identity_and_remap_chunk()
407 unsigned long cur_pfn = start_pfn + i; in xen_set_identity_and_remap_chunk()
453 for (pfn = start_pfn; pfn <= max_pfn_mapped && pfn < end_pfn; pfn++) in xen_set_identity_and_remap_chunk()
487 unsigned long start_pfn = PFN_DOWN(start); in xen_set_identity_and_remap() local
493 if (start_pfn < end_pfn) in xen_set_identity_and_remap()
495 list, map_size, start_pfn, in xen_set_identity_and_remap()