Searched refs:n_pfns (Results 1 – 5 of 5) sorted by relevance
414 void __init xen_add_extra_mem(unsigned long start_pfn, unsigned long n_pfns) in xen_add_extra_mem() argument424 if (xen_extra_mem[i].n_pfns == 0) { in xen_add_extra_mem()426 xen_extra_mem[i].n_pfns = n_pfns; in xen_add_extra_mem()430 if (xen_extra_mem[i].start_pfn + xen_extra_mem[i].n_pfns == in xen_add_extra_mem()432 xen_extra_mem[i].n_pfns += n_pfns; in xen_add_extra_mem()439 memblock_reserve(PFN_PHYS(start_pfn), PFN_PHYS(n_pfns)); in xen_add_extra_mem()460 for (j = 0; j < xen_extra_mem[i].n_pfns; j++) { in arch_xen_unpopulated_init()473 xen_released_pages += xen_extra_mem[i].n_pfns; in arch_xen_unpopulated_init()475 xen_extra_mem[i].n_pfns = 0; in arch_xen_unpopulated_init()
84 unsigned long n_pfns) in xen_del_extra_mem() argument91 size_r = xen_extra_mem[i].n_pfns; in xen_del_extra_mem()95 BUG_ON(n_pfns > size_r); in xen_del_extra_mem()96 xen_extra_mem[i].start_pfn += n_pfns; in xen_del_extra_mem()97 xen_extra_mem[i].n_pfns -= n_pfns; in xen_del_extra_mem()102 BUG_ON(n_pfns > size_r); in xen_del_extra_mem()103 xen_extra_mem[i].n_pfns -= n_pfns; in xen_del_extra_mem()112 (start_pfn + n_pfns)); in xen_del_extra_mem()146 if (!xen_extra_mem[i].n_pfns) in xen_inv_extra_mem()791 unsigned long pfn_s, n_pfns; in xen_memory_setup() local[all …]
186 void xen_add_extra_mem(unsigned long start_pfn, unsigned long n_pfns);
38 unsigned long n_pfns; member
689 pages = xen_extra_mem[i].n_pfns; in balloon_add_regions()