Home
last modified time | relevance | path

Searched refs:mem_limit (Results 1 – 5 of 5) sorted by relevance

/arch/parisc/mm/
Dinit.c88 static unsigned long mem_limit __read_mostly = MAX_MEM;
113 if (limit < mem_limit) in mem_limit_func()
114 mem_limit = limit; in mem_limit_func()
224 if ((mem_max + rsize) > mem_limit) { in setup_bootmem()
225 printk(KERN_WARNING "Memory truncated to %ld MB\n", mem_limit >> 20); in setup_bootmem()
226 if (mem_max == mem_limit) in setup_bootmem()
229 pmem_ranges[i].pages = (mem_limit >> PAGE_SHIFT) in setup_bootmem()
232 mem_max = mem_limit; in setup_bootmem()
729 if (initrd_end && initrd_end > mem_limit) { in pagetable_init()
/arch/powerpc/kernel/
Dmachine_kexec.c208 static unsigned long long mem_limit; variable
231 .value = &mem_limit,
261 mem_limit = cpu_to_be_ulong(memory_limit); in export_crashk_values()
/arch/arm/mach-cns3xxx/
Dpcie.c235 u16 mem_limit = cnspci->res_mem.end >> 16; in cns3xxx_pcie_hw_init() local
243 cns3xxx_write_config(cnspci, PCI_MEMORY_LIMIT, 2, mem_limit); in cns3xxx_pcie_hw_init()
/arch/ia64/kernel/
Defi.c57 static u64 mem_limit = ~0UL, max_addr = ~0UL, min_addr = 0UL; variable
488 mem_limit = memparse(cp + 4, &cp); in efi_init()
1027 if (total_mem + (ae - as) > mem_limit) in find_memmap_space()
1028 ae -= total_mem + (ae - as) - mem_limit; in find_memmap_space()
1146 if (total_mem + (ae - as) > mem_limit) in efi_memmap_init()
1147 ae -= total_mem + (ae - as) - mem_limit; in efi_memmap_init()
/arch/alpha/kernel/
Dsetup.c289 move_initrd(unsigned long mem_limit) in move_initrd() argument
296 if (!start || __pa(start) + size > mem_limit) { in move_initrd()