Lines Matching defs:range
48 * Drop the i-th range from the early reservation map,
113 * 2) overlap with the stated range [start, end)
114 * into whatever portion (if any) of the existing range is entirely
115 * below or entirely above the stated range. Drop the portion
116 * of the existing range that overlaps with the stated range,
118 * stated range without conflicting with any existing range.
164 /* 2. Drop the original ok overlapping range */
286 * range without risk of panic'ing on an overlapping overlap_ok
345 if (WARN_ONCE(start > end, " wrong range [%#llx, %#llx]\n", start, end))
365 static void __init subtract_early_res(struct range *range, int az)
394 subtract_range(range, az, final_start, final_end);
399 int __init get_free_all_memory_range(struct range **rangep, int nodeid)
405 struct range *range;
414 size = sizeof(struct range) * count;
420 mem = find_fw_memmap_area(start, end, size, sizeof(struct range));
422 panic("can not find more space for range free");
424 range = __va(mem);
425 /* use early_node_map[] and early_res to get range array at first */
426 memset(range, 0, size);
429 /* need to go over early_node_map to find out good range for node */
430 nr_range = add_from_early_node_map(range, count, nr_range, nodeid);
432 subtract_range(range, count, max_low_pfn, -1ULL);
434 subtract_early_res(range, count);
435 nr_range = clean_sort_range(range, count);
445 *rangep = range;
541 * Find a free area with specified alignment in a specific range.
542 * only with the area.between start to end is active range from early_node_map