Home
last modified time | relevance | path

Searched refs:n_pfns (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/arch/x86/xen/
H A Denlighten.c358 void __init xen_add_extra_mem(unsigned long start_pfn, unsigned long n_pfns) in xen_add_extra_mem() argument
368 if (xen_extra_mem[i].n_pfns == 0) { in xen_add_extra_mem()
370 xen_extra_mem[i].n_pfns = n_pfns; in xen_add_extra_mem()
374 if (xen_extra_mem[i].start_pfn + xen_extra_mem[i].n_pfns == in xen_add_extra_mem()
376 xen_extra_mem[i].n_pfns += n_pfns; in xen_add_extra_mem()
383 memblock_reserve(PFN_PHYS(start_pfn), PFN_PHYS(n_pfns)); in xen_add_extra_mem()
404 for (j = 0; j < xen_extra_mem[i].n_pfns; j++) { in arch_xen_unpopulated_init()
412 xen_extra_mem[i].n_pfns = 0; in arch_xen_unpopulated_init()
H A Dsetup.c85 unsigned long n_pfns) in xen_del_extra_mem() argument
92 size_r = xen_extra_mem[i].n_pfns; in xen_del_extra_mem()
96 BUG_ON(n_pfns > size_r); in xen_del_extra_mem()
97 xen_extra_mem[i].start_pfn += n_pfns; in xen_del_extra_mem()
98 xen_extra_mem[i].n_pfns -= n_pfns; in xen_del_extra_mem()
103 BUG_ON(n_pfns > size_r); in xen_del_extra_mem()
104 xen_extra_mem[i].n_pfns -= n_pfns; in xen_del_extra_mem()
113 (start_pfn + n_pfns)); in xen_del_extra_mem()
147 if (!xen_extra_mem[i].n_pfns) in xen_inv_extra_mem()
786 extra_pages -= n_pfns; in xen_memory_setup()
[all …]
H A Dxen-ops.h178 void xen_add_extra_mem(unsigned long start_pfn, unsigned long n_pfns);
/openbmc/linux/include/xen/
H A Dpage.h38 unsigned long n_pfns; member
/openbmc/linux/drivers/xen/
H A Dballoon.c681 pages = xen_extra_mem[i].n_pfns; in balloon_add_regions()