• Home
  • Raw
  • Download

Lines Matching refs:region

260 static void store_slot_info(struct mem_vector *region, unsigned long image_size)  in store_slot_info()  argument
267 slot_area.addr = region->start; in store_slot_info()
268 slot_area.num = (region->size - image_size) / in store_slot_info()
305 struct mem_vector region, overlap; in process_e820_entry() local
321 region.start = entry->addr; in process_e820_entry()
322 region.size = entry->size; in process_e820_entry()
326 start_orig = region.start; in process_e820_entry()
329 if (region.start < minimum) in process_e820_entry()
330 region.start = minimum; in process_e820_entry()
333 region.start = ALIGN(region.start, CONFIG_PHYSICAL_ALIGN); in process_e820_entry()
336 if (region.start > entry->addr + entry->size) in process_e820_entry()
340 region.size -= region.start - start_orig; in process_e820_entry()
344 region.start + region.size > KERNEL_IMAGE_SIZE) in process_e820_entry()
345 region.size = KERNEL_IMAGE_SIZE - region.start; in process_e820_entry()
348 if (region.size < image_size) in process_e820_entry()
352 if (!mem_avoid_overlap(&region, &overlap)) { in process_e820_entry()
353 store_slot_info(&region, image_size); in process_e820_entry()
358 if (overlap.start > region.start + image_size) { in process_e820_entry()
361 beginning.start = region.start; in process_e820_entry()
362 beginning.size = overlap.start - region.start; in process_e820_entry()
367 if (overlap.start + overlap.size >= region.start + region.size) in process_e820_entry()
371 region.size -= overlap.start - region.start + overlap.size; in process_e820_entry()
372 region.start = overlap.start + overlap.size; in process_e820_entry()