Lines Matching refs:pfn_s
145 unsigned long pfn, pfn_s, pfn_e; in xen_inv_extra_mem() local
151 pfn_s = xen_extra_mem[i].start_pfn; in xen_inv_extra_mem()
152 pfn_e = pfn_s + xen_extra_mem[i].n_pfns; in xen_inv_extra_mem()
153 for (pfn = pfn_s; pfn < pfn_e; pfn++) in xen_inv_extra_mem()
462 unsigned long pfn_s = ~0UL; in xen_remap_memory() local
479 if (pfn_s == ~0UL || pfn == pfn_s) { in xen_remap_memory()
480 pfn_s = xen_remap_buf.target_pfn; in xen_remap_memory()
482 } else if (pfn_s + len == xen_remap_buf.target_pfn) { in xen_remap_memory()
485 xen_del_extra_mem(pfn_s, len); in xen_remap_memory()
486 pfn_s = xen_remap_buf.target_pfn; in xen_remap_memory()
492 if (pfn_s != ~0UL && len) in xen_remap_memory()
493 xen_del_extra_mem(pfn_s, len); in xen_remap_memory()
794 unsigned long pfn_s, n_pfns; in xen_memory_setup() local
913 pfn_s = PFN_UP(addr); in xen_memory_setup()
914 n_pfns = PFN_DOWN(addr + chunk_size) - pfn_s; in xen_memory_setup()
916 xen_add_extra_mem(pfn_s, n_pfns); in xen_memory_setup()
917 xen_max_p2m_pfn = pfn_s + n_pfns; in xen_memory_setup()