Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/xen/
Dsetup.c95 unsigned long n_pfns) in xen_add_extra_mem() argument
105 if (xen_extra_mem[i].n_pfns == 0) { in xen_add_extra_mem()
107 xen_extra_mem[i].n_pfns = n_pfns; in xen_add_extra_mem()
111 if (xen_extra_mem[i].start_pfn + xen_extra_mem[i].n_pfns == in xen_add_extra_mem()
113 xen_extra_mem[i].n_pfns += n_pfns; in xen_add_extra_mem()
120 memblock_reserve(PFN_PHYS(start_pfn), PFN_PHYS(n_pfns)); in xen_add_extra_mem()
124 unsigned long n_pfns) in xen_del_extra_mem() argument
131 size_r = xen_extra_mem[i].n_pfns; in xen_del_extra_mem()
135 BUG_ON(n_pfns > size_r); in xen_del_extra_mem()
136 xen_extra_mem[i].start_pfn += n_pfns; in xen_del_extra_mem()
[all …]
/Linux-v5.10/include/xen/
Dpage.h38 unsigned long n_pfns; member
/Linux-v5.10/drivers/xen/
Dunpopulated-alloc.c189 for (j = 0; j < xen_extra_mem[i].n_pfns; j++) { in init()
Dballoon.c719 if (xen_extra_mem[i].n_pfns) in balloon_init()
721 xen_extra_mem[i].n_pfns); in balloon_init()