Lines Matching refs:pfn_s
182 unsigned long pfn, pfn_s, pfn_e; in xen_inv_extra_mem() local
188 pfn_s = xen_extra_mem[i].start_pfn; in xen_inv_extra_mem()
189 pfn_e = pfn_s + xen_extra_mem[i].n_pfns; in xen_inv_extra_mem()
190 for (pfn = pfn_s; pfn < pfn_e; pfn++) in xen_inv_extra_mem()
501 unsigned long pfn_s = ~0UL; in xen_remap_memory() local
518 if (pfn_s == ~0UL || pfn == pfn_s) { in xen_remap_memory()
519 pfn_s = xen_remap_buf.target_pfn; in xen_remap_memory()
521 } else if (pfn_s + len == xen_remap_buf.target_pfn) { in xen_remap_memory()
524 xen_del_extra_mem(pfn_s, len); in xen_remap_memory()
525 pfn_s = xen_remap_buf.target_pfn; in xen_remap_memory()
531 if (pfn_s != ~0UL && len) in xen_remap_memory()
532 xen_del_extra_mem(pfn_s, len); in xen_remap_memory()
726 unsigned long max_pfn, pfn_s, n_pfns; in xen_memory_setup() local
811 pfn_s = PFN_UP(addr); in xen_memory_setup()
812 n_pfns = PFN_DOWN(addr + chunk_size) - pfn_s; in xen_memory_setup()
814 xen_add_extra_mem(pfn_s, n_pfns); in xen_memory_setup()
815 xen_max_p2m_pfn = pfn_s + n_pfns; in xen_memory_setup()