Lines Matching refs:mem_avoid
100 static struct mem_vector mem_avoid[MEM_AVOID_MAX]; variable
216 mem_avoid[MEM_AVOID_MEMMAP_BEGIN + i].start = start; in mem_avoid_memmap()
217 mem_avoid[MEM_AVOID_MEMMAP_BEGIN + i].size = size; in mem_avoid_memmap()
394 mem_avoid[MEM_AVOID_ZO_RANGE].start = input; in mem_avoid_init()
395 mem_avoid[MEM_AVOID_ZO_RANGE].size = (output + init_size) - input; in mem_avoid_init()
402 mem_avoid[MEM_AVOID_INITRD].start = initrd_start; in mem_avoid_init()
403 mem_avoid[MEM_AVOID_INITRD].size = initrd_size; in mem_avoid_init()
411 mem_avoid[MEM_AVOID_CMDLINE].start = cmd_line; in mem_avoid_init()
412 mem_avoid[MEM_AVOID_CMDLINE].size = cmd_line_size; in mem_avoid_init()
416 mem_avoid[MEM_AVOID_BOOTPARAMS].start = (unsigned long)boot_params; in mem_avoid_init()
417 mem_avoid[MEM_AVOID_BOOTPARAMS].size = sizeof(*boot_params); in mem_avoid_init()
441 if (mem_overlaps(img, &mem_avoid[i]) && in mem_avoid_overlap()
442 mem_avoid[i].start < earliest) { in mem_avoid_overlap()
443 *overlap = mem_avoid[i]; in mem_avoid_overlap()