Lines Matching refs:ranges
201 optimize_memory_ranges(MemoryTypeRangeList& ranges, uint32 type, in optimize_memory_ranges() argument
206 MemoryTypeRangeList::Iterator it = ranges.GetIterator(); in optimize_memory_ranges()
304 memory_type_range* ranges = new(std::nothrow) memory_type_range[count]; in ensure_temporary_ranges_space() local
305 if (ranges == NULL) in ensure_temporary_ranges_space()
310 sTemporaryRanges = ranges; in ensure_temporary_ranges_space()
376 memory_type_range* ranges = sTemporaryRanges; in update_mtrrs() local
405 ranges[rangeCount].size = point->address - ranges[rangeCount].base; in update_mtrrs()
422 ? &ranges[rangeCount - 1] : NULL; in update_mtrrs()
427 ranges[rangeCount].base = point->address; in update_mtrrs()
428 ranges[rangeCount].type = activeRange->type; in update_mtrrs()
437 ranges[i].base, ranges[i].base + ranges[i].size, ranges[i].type); in update_mtrrs()
457 rangeList.Add(&ranges[i]); in update_mtrrs()
482 if (ranges[i].size > 0) { in update_mtrrs()
484 ranges[i].base, ranges[i].base + ranges[i].size, in update_mtrrs()
485 ranges[i].type); in update_mtrrs()
500 if (ranges[i].size == 0 || ranges[i].type != type) in update_mtrrs()
503 if (!add_mtrrs_for_range(ranges[i].base, ranges[i].size, type)) in update_mtrrs()