Lines Matching full:regions
62 * These structures are used internally to keep track of regions of physical
63 * ram, and regions within the physical ram that need to be excluded. An
69 #define MAX_HWCNT 32 /* ACPI needs more regions */
136 prfunc("Excluded memory regions:\n");
171 * Walk the list of hardware regions, processing it against the list of
178 * Updates the value at *pavail with the sum of all pages in all hw regions.
181 * of returned regions.
309 merge_upper_regions(struct region *regions, size_t rcnt, size_t idx) in merge_upper_regions() argument
315 lower = ®ions[idx]; in merge_upper_regions()
324 upper = ®ions[i]; in merge_upper_regions()
358 memmove(®ions[idx + 1], ®ions[idx + mergecnt + 1], in merge_upper_regions()
359 movecnt * sizeof(*regions)); in merge_upper_regions()
367 * Insertion-sort a new entry into a regions list; sorted by start address.
370 insert_region(struct region *regions, size_t rcnt, vm_paddr_t addr, in insert_region() argument
378 ep = regions + rcnt; in insert_region()
379 for (i = 0, rp = regions; i < rcnt; ++i, ++rp) { in insert_region()
392 rcnt = merge_upper_regions(regions, in insert_region()
403 rcnt = merge_upper_regions(regions, in insert_region()
413 * flags clipping existing excluding regions, but that's in insert_region()
522 * Process all the regions added earlier into the global avail lists.
561 * memory regions.
596 /* Reserve all memory regions. */ in ram_attach()