Home
last modified time | relevance | path

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

/arch/x86/xen/
Dsetup.c94 unsigned long n_pfns) in xen_add_extra_mem() argument
104 if (xen_extra_mem[i].n_pfns == 0) { in xen_add_extra_mem()
106 xen_extra_mem[i].n_pfns = n_pfns; in xen_add_extra_mem()
110 if (xen_extra_mem[i].start_pfn + xen_extra_mem[i].n_pfns == in xen_add_extra_mem()
112 xen_extra_mem[i].n_pfns += n_pfns; in xen_add_extra_mem()
119 memblock_reserve(PFN_PHYS(start_pfn), PFN_PHYS(n_pfns)); in xen_add_extra_mem()
123 unsigned long n_pfns) in xen_del_extra_mem() argument
130 size_r = xen_extra_mem[i].n_pfns; in xen_del_extra_mem()
134 BUG_ON(n_pfns > size_r); in xen_del_extra_mem()
135 xen_extra_mem[i].start_pfn += n_pfns; in xen_del_extra_mem()
[all …]