Lines Matching refs:pmem_ranges
72 physmem_range_t pmem_ranges[MAX_PHYSMEM_RANGES] __initdata;
133 if (pmem_ranges[j-1].start_pfn <
134 pmem_ranges[j].start_pfn) {
138 swap(pmem_ranges[j-1], pmem_ranges[j]);
149 if (pmem_ranges[i].start_pfn -
150 (pmem_ranges[i-1].start_pfn +
151 pmem_ranges[i-1].pages) > MAX_GAP) {
155 pmem_ranges[i].start_pfn -
156 (pmem_ranges[i-1].start_pfn +
157 pmem_ranges[i-1].pages));
171 size = (pmem_ranges[i].pages << PAGE_SHIFT);
172 start = (pmem_ranges[i].start_pfn << PAGE_SHIFT);
201 rsize = pmem_ranges[i].pages << PAGE_SHIFT;
207 pmem_ranges[i].pages = (mem_limit >> PAGE_SHIFT)
226 end_pfn = pmem_ranges[0].start_pfn + pmem_ranges[0].pages;
229 hole_pages = pmem_ranges[i].start_pfn - end_pfn;
235 end_pfn += pmem_ranges[i].pages;
238 pmem_ranges[0].pages = end_pfn - pmem_ranges[0].start_pfn;
254 start_pfn = pmem_ranges[i].start_pfn;
255 npages = pmem_ranges[i].pages;
632 start_paddr = pmem_ranges[range].start_pfn << PAGE_SHIFT;
633 size = pmem_ranges[range].pages << PAGE_SHIFT;