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