Lines Matching refs:rsvd_region
97 struct rsvd_region { struct
105 static struct rsvd_region rsvd_region[IA64_MAX_RSVD_REGIONS + 1]; variable
206 range_end = MIN(end, rsvd_region[i].start); in filter_rsvd_memory()
218 prev_start = rsvd_region[i].end; in filter_rsvd_memory()
248 range_end = MIN(end, rsvd_region[i].start & PAGE_MASK); in find_bootmap_location()
260 free_start = PAGE_ALIGN(rsvd_region[i].end); in find_bootmap_location()
267 sort_regions (struct rsvd_region *rsvd_region, int max) in sort_regions() argument
274 if (rsvd_region[j].start > rsvd_region[j+1].start) { in sort_regions()
275 struct rsvd_region tmp; in sort_regions()
276 tmp = rsvd_region[j]; in sort_regions()
277 rsvd_region[j] = rsvd_region[j + 1]; in sort_regions()
278 rsvd_region[j + 1] = tmp; in sort_regions()
295 rsvd_region[n].start = (unsigned long) ia64_boot_param; in find_memory()
296 rsvd_region[n].end = rsvd_region[n].start + sizeof(*ia64_boot_param); in find_memory()
299 rsvd_region[n].start = (unsigned long) __va(ia64_boot_param->efi_memmap); in find_memory()
300 rsvd_region[n].end = rsvd_region[n].start + ia64_boot_param->efi_memmap_size; in find_memory()
303 rsvd_region[n].start = (unsigned long) __va(ia64_boot_param->command_line); in find_memory()
304 rsvd_region[n].end = (rsvd_region[n].start in find_memory()
308 rsvd_region[n].start = ia64_imva(KERNEL_START); in find_memory()
309 rsvd_region[n].end = ia64_imva(KERNEL_END); in find_memory()
314 rsvd_region[n].start = (unsigned long)__va(ia64_boot_param->initrd_start); in find_memory()
315 rsvd_region[n].end = rsvd_region[n].start + ia64_boot_param->initrd_size; in find_memory()
321 rsvd_region[n].start = ~0UL; in find_memory()
322 rsvd_region[n].end = ~0UL; in find_memory()
327 sort_regions(rsvd_region, num_rsvd_regions); in find_memory()