Searched refs:mem_limit (Results 1 – 3 of 3) sorted by relevance
85 static unsigned long mem_limit __read_mostly = MAX_MEM;110 if (limit < mem_limit) in mem_limit_func()111 mem_limit = limit; in mem_limit_func()222 if ((mem_max + rsize) > mem_limit) { in setup_bootmem()223 printk(KERN_WARNING "Memory truncated to %ld MB\n", mem_limit >> 20); in setup_bootmem()224 if (mem_max == mem_limit) in setup_bootmem()227 pmem_ranges[i].pages = (mem_limit >> PAGE_SHIFT) in setup_bootmem()230 mem_max = mem_limit; in setup_bootmem()785 if (initrd_end && initrd_end > mem_limit) { in pagetable_init()
52 static u64 mem_limit = ~0UL, max_addr = ~0UL, min_addr = 0UL; variable483 mem_limit = memparse(cp + 4, &cp); in efi_init()1051 if (total_mem + (ae - as) > mem_limit) in find_memmap_space()1052 ae -= total_mem + (ae - as) - mem_limit; in find_memmap_space()1175 if (total_mem + (ae - as) > mem_limit) in efi_memmap_init()1176 ae -= total_mem + (ae - as) - mem_limit; in efi_memmap_init()
281 move_initrd(unsigned long mem_limit) in move_initrd() argument288 if (!start || __pa(start) + size > mem_limit) { in move_initrd()