Lines Matching full:avoid
9 * to avoid) in order to select a physical memory location that can
316 * when KASLR searches for an appropriate random address. We must avoid any
326 * What is not obvious how to avoid is the range of memory that is used
395 * Avoid the region that is unsafe to overlap during in mem_avoid_init()
401 /* Avoid initrd. */ in mem_avoid_init()
410 /* Avoid kernel command line. */ in mem_avoid_init()
419 /* Avoid boot parameters. */ in mem_avoid_init()
425 /* Mark the memmap regions we need to avoid */ in mem_avoid_init()
453 /* Avoid all entries in the setup_data linked list. */ in mem_avoid_overlap()
456 struct mem_vector avoid; in mem_avoid_overlap() local
458 avoid.start = (unsigned long)ptr; in mem_avoid_overlap()
459 avoid.size = sizeof(*ptr) + ptr->len; in mem_avoid_overlap()
461 if (mem_overlaps(img, &avoid) && (avoid.start < earliest)) { in mem_avoid_overlap()
462 *overlap = avoid; in mem_avoid_overlap()
469 avoid.start = ((struct setup_indirect *)ptr->data)->addr; in mem_avoid_overlap()
470 avoid.size = ((struct setup_indirect *)ptr->data)->len; in mem_avoid_overlap()
472 if (mem_overlaps(img, &avoid) && (avoid.start < earliest)) { in mem_avoid_overlap()
473 *overlap = avoid; in mem_avoid_overlap()