Lines Matching refs:mem_avoid
100 static struct mem_vector mem_avoid[MEM_AVOID_MAX]; variable
193 mem_avoid[MEM_AVOID_MEMMAP_BEGIN + i].start = start; in mem_avoid_memmap()
194 mem_avoid[MEM_AVOID_MEMMAP_BEGIN + i].size = size; in mem_avoid_memmap()
369 mem_avoid[MEM_AVOID_ZO_RANGE].start = input; in mem_avoid_init()
370 mem_avoid[MEM_AVOID_ZO_RANGE].size = (output + init_size) - input; in mem_avoid_init()
377 mem_avoid[MEM_AVOID_INITRD].start = initrd_start; in mem_avoid_init()
378 mem_avoid[MEM_AVOID_INITRD].size = initrd_size; in mem_avoid_init()
386 mem_avoid[MEM_AVOID_CMDLINE].start = cmd_line; in mem_avoid_init()
387 mem_avoid[MEM_AVOID_CMDLINE].size = cmd_line_size; in mem_avoid_init()
391 mem_avoid[MEM_AVOID_BOOTPARAMS].start = (unsigned long)boot_params_ptr; in mem_avoid_init()
392 mem_avoid[MEM_AVOID_BOOTPARAMS].size = sizeof(*boot_params_ptr); in mem_avoid_init()
416 if (mem_overlaps(img, &mem_avoid[i]) && in mem_avoid_overlap()
417 mem_avoid[i].start < earliest) { in mem_avoid_overlap()
418 *overlap = mem_avoid[i]; in mem_avoid_overlap()