Lines Matching refs:rsvd_region

133 struct rsvd_region rsvd_region[IA64_MAX_RSVD_REGIONS + 1] __initdata;  variable
165 range_end = min(end, rsvd_region[i].start); in filter_rsvd_memory()
173 prev_start = rsvd_region[i].end; in filter_rsvd_memory()
203 sort_regions (struct rsvd_region *rsvd_region, int max) in sort_regions() argument
210 if (rsvd_region[j].start > rsvd_region[j+1].start) { in sort_regions()
211 swap(rsvd_region[j], rsvd_region[j + 1]); in sort_regions()
219 merge_regions (struct rsvd_region *rsvd_region, int max) in merge_regions() argument
223 if (rsvd_region[i].start >= rsvd_region[i-1].end) in merge_regions()
225 if (rsvd_region[i].end > rsvd_region[i-1].end) in merge_regions()
226 rsvd_region[i-1].end = rsvd_region[i].end; in merge_regions()
228 memmove(&rsvd_region[i], &rsvd_region[i+1], in merge_regions()
229 (max - i) * sizeof(struct rsvd_region)); in merge_regions()
283 sort_regions(rsvd_region, *n); in setup_crashkernel()
284 *n = merge_regions(rsvd_region, *n); in setup_crashkernel()
286 rsvd_region, *n); in setup_crashkernel()
304 rsvd_region[*n].start = in setup_crashkernel()
306 rsvd_region[*n].end = in setup_crashkernel()
366 rsvd_region[n].start = (unsigned long) ia64_boot_param; in reserve_memory()
367 rsvd_region[n].end = rsvd_region[n].start + sizeof(*ia64_boot_param); in reserve_memory()
370 rsvd_region[n].start = (unsigned long) __va(ia64_boot_param->efi_memmap); in reserve_memory()
371 rsvd_region[n].end = rsvd_region[n].start + ia64_boot_param->efi_memmap_size; in reserve_memory()
374 rsvd_region[n].start = (unsigned long) __va(ia64_boot_param->command_line); in reserve_memory()
375 rsvd_region[n].end = (rsvd_region[n].start in reserve_memory()
379 rsvd_region[n].start = (unsigned long) ia64_imva((void *)KERNEL_START); in reserve_memory()
380 rsvd_region[n].end = (unsigned long) ia64_imva(_end); in reserve_memory()
385 rsvd_region[n].start = (unsigned long)__va(ia64_boot_param->initrd_start); in reserve_memory()
386 rsvd_region[n].end = rsvd_region[n].start + ia64_boot_param->initrd_size; in reserve_memory()
392 if (reserve_elfcorehdr(&rsvd_region[n].start, in reserve_memory()
393 &rsvd_region[n].end) == 0) in reserve_memory()
397 total_memory = efi_memmap_init(&rsvd_region[n].start, &rsvd_region[n].end); in reserve_memory()
403 rsvd_region[n].start = ~0UL; in reserve_memory()
404 rsvd_region[n].end = ~0UL; in reserve_memory()
410 sort_regions(rsvd_region, num_rsvd_regions); in reserve_memory()
411 num_rsvd_regions = merge_regions(rsvd_region, num_rsvd_regions); in reserve_memory()
415 struct rsvd_region *region = &rsvd_region[n]; in reserve_memory()