Lines Matching refs:pmem_ranges
74 physmem_range_t pmem_ranges[MAX_PHYSMEM_RANGES] __initdata; variable
137 if (pmem_ranges[j-1].start_pfn < in setup_bootmem()
138 pmem_ranges[j].start_pfn) { in setup_bootmem()
142 tmp = pmem_ranges[j-1]; in setup_bootmem()
143 pmem_ranges[j-1] = pmem_ranges[j]; in setup_bootmem()
144 pmem_ranges[j] = tmp; in setup_bootmem()
155 if (pmem_ranges[i].start_pfn - in setup_bootmem()
156 (pmem_ranges[i-1].start_pfn + in setup_bootmem()
157 pmem_ranges[i-1].pages) > MAX_GAP) { in setup_bootmem()
161 pmem_ranges[i].start_pfn - in setup_bootmem()
162 (pmem_ranges[i-1].start_pfn + in setup_bootmem()
163 pmem_ranges[i-1].pages)); in setup_bootmem()
177 size = (pmem_ranges[i].pages << PAGE_SHIFT); in setup_bootmem()
178 start = (pmem_ranges[i].start_pfn << PAGE_SHIFT); in setup_bootmem()
207 rsize = pmem_ranges[i].pages << PAGE_SHIFT; in setup_bootmem()
213 pmem_ranges[i].pages = (mem_limit >> PAGE_SHIFT) in setup_bootmem()
232 end_pfn = pmem_ranges[0].start_pfn + pmem_ranges[0].pages; in setup_bootmem()
235 hole_pages = pmem_ranges[i].start_pfn - end_pfn; in setup_bootmem()
241 end_pfn += pmem_ranges[i].pages; in setup_bootmem()
244 pmem_ranges[0].pages = end_pfn - pmem_ranges[0].start_pfn; in setup_bootmem()
260 start_pfn = pmem_ranges[i].start_pfn; in setup_bootmem()
261 npages = pmem_ranges[i].pages; in setup_bootmem()
633 start_paddr = pmem_ranges[range].start_pfn << PAGE_SHIFT; in pagetable_init()
634 size = pmem_ranges[range].pages << PAGE_SHIFT; in pagetable_init()