Lines Matching refs:pmem_ranges
69 physmem_range_t pmem_ranges[MAX_PHYSMEM_RANGES] __initdata; variable
130 if (pmem_ranges[j-1].start_pfn < in setup_bootmem()
131 pmem_ranges[j].start_pfn) { in setup_bootmem()
135 swap(pmem_ranges[j-1], pmem_ranges[j]); in setup_bootmem()
146 if (pmem_ranges[i].start_pfn - in setup_bootmem()
147 (pmem_ranges[i-1].start_pfn + in setup_bootmem()
148 pmem_ranges[i-1].pages) > MAX_GAP) { in setup_bootmem()
152 pmem_ranges[i].start_pfn - in setup_bootmem()
153 (pmem_ranges[i-1].start_pfn + in setup_bootmem()
154 pmem_ranges[i-1].pages)); in setup_bootmem()
168 size = (pmem_ranges[i].pages << PAGE_SHIFT); in setup_bootmem()
169 start = (pmem_ranges[i].start_pfn << PAGE_SHIFT); in setup_bootmem()
198 rsize = pmem_ranges[i].pages << PAGE_SHIFT; in setup_bootmem()
204 pmem_ranges[i].pages = (mem_limit >> PAGE_SHIFT) in setup_bootmem()
223 end_pfn = pmem_ranges[0].start_pfn + pmem_ranges[0].pages; in setup_bootmem()
226 hole_pages = pmem_ranges[i].start_pfn - end_pfn; in setup_bootmem()
232 end_pfn += pmem_ranges[i].pages; in setup_bootmem()
235 pmem_ranges[0].pages = end_pfn - pmem_ranges[0].start_pfn; in setup_bootmem()
251 start_pfn = pmem_ranges[i].start_pfn; in setup_bootmem()
252 npages = pmem_ranges[i].pages; in setup_bootmem()
632 start_paddr = pmem_ranges[range].start_pfn << PAGE_SHIFT; in pagetable_init()
633 size = pmem_ranges[range].pages << PAGE_SHIFT; in pagetable_init()