Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/xen/
Denlighten.c353 void __init xen_add_extra_mem(unsigned long start_pfn, unsigned long n_pfns) in xen_add_extra_mem() argument
363 if (xen_extra_mem[i].n_pfns == 0) { in xen_add_extra_mem()
365 xen_extra_mem[i].n_pfns = n_pfns; in xen_add_extra_mem()
369 if (xen_extra_mem[i].start_pfn + xen_extra_mem[i].n_pfns == in xen_add_extra_mem()
371 xen_extra_mem[i].n_pfns += n_pfns; in xen_add_extra_mem()
378 memblock_reserve(PFN_PHYS(start_pfn), PFN_PHYS(n_pfns)); in xen_add_extra_mem()
399 for (j = 0; j < xen_extra_mem[i].n_pfns; j++) { in arch_xen_unpopulated_init()
407 xen_extra_mem[i].n_pfns = 0; in arch_xen_unpopulated_init()
Dsetup.c87 unsigned long n_pfns) in xen_del_extra_mem() argument
94 size_r = xen_extra_mem[i].n_pfns; in xen_del_extra_mem()
98 BUG_ON(n_pfns > size_r); in xen_del_extra_mem()
99 xen_extra_mem[i].start_pfn += n_pfns; in xen_del_extra_mem()
100 xen_extra_mem[i].n_pfns -= n_pfns; in xen_del_extra_mem()
104 if (start_r + size_r == start_pfn + n_pfns) { in xen_del_extra_mem()
105 BUG_ON(n_pfns > size_r); in xen_del_extra_mem()
106 xen_extra_mem[i].n_pfns -= n_pfns; in xen_del_extra_mem()
111 BUG_ON(start_pfn + n_pfns > start_r + size_r); in xen_del_extra_mem()
112 xen_extra_mem[i].n_pfns = start_pfn - start_r; in xen_del_extra_mem()
[all …]
Dxen-ops.h186 void xen_add_extra_mem(unsigned long start_pfn, unsigned long n_pfns);
/linux-6.12.1/include/xen/
Dpage.h38 unsigned long n_pfns; member
/linux-6.12.1/drivers/xen/
Dballoon.c685 pages = xen_extra_mem[i].n_pfns; in balloon_add_regions()