Searched refs:memory_limit (Results 1 – 10 of 10) sorted by relevance
/arch/powerpc/kernel/ |
D | machine_kexec.c | 119 total_mem_sz = memory_limit ? memory_limit : memblock_phys_mem_size(); in reserve_crashkernel() 178 if (memory_limit && memory_limit <= crashk_res.end) { in reserve_crashkernel() 179 memory_limit = crashk_res.end + 1; in reserve_crashkernel() 180 total_mem_sz = memory_limit; in reserve_crashkernel() 182 memory_limit); in reserve_crashkernel() 261 mem_limit = cpu_to_be_ulong(memory_limit); in export_crashk_values()
|
D | prom.c | 81 memory_limit = PAGE_ALIGN(memparse(p, &p)); in early_parse_mem() 82 DBG("memory limit = 0x%llx\n", memory_limit); in early_parse_mem() 122 if ((memory_limit && (start + size) > PHYSICAL_START + memory_limit) || in move_device_tree() 415 memory_limit = *lprop; in early_init_dt_scan_chosen_ppc() 684 if (memory_limit) in early_init_devtree() 685 first_memblock_size = min_t(u64, first_memblock_size, memory_limit); in early_init_devtree() 704 limit = ALIGN(memory_limit ?: memblock_phys_mem_size(), PAGE_SIZE); in early_init_devtree()
|
D | fadump.c | 232 if (memory_limit && size > memory_limit) in fadump_calculate_reserve_size() 233 size = memory_limit; in fadump_calculate_reserve_size() 289 if (memory_limit && memory_limit < memblock_end_of_DRAM()) { in fadump_reserve_mem() 291 if ((memory_limit + size) < memblock_end_of_DRAM()) in fadump_reserve_mem() 292 memory_limit += size; in fadump_reserve_mem() 294 memory_limit = memblock_end_of_DRAM(); in fadump_reserve_mem() 296 " dump, now %#016llx\n", memory_limit); in fadump_reserve_mem() 298 if (memory_limit) in fadump_reserve_mem() 299 memory_boundary = memory_limit; in fadump_reserve_mem()
|
/arch/arm64/mm/ |
D | init.c | 157 static phys_addr_t memory_limit = (phys_addr_t)ULLONG_MAX; variable 167 memory_limit = memparse(p, &p) & PAGE_MASK; in early_mem() 168 pr_notice("Memory limited to %lldMB\n", memory_limit >> 20); in early_mem() 210 if (memory_limit != (phys_addr_t)ULLONG_MAX) { in arm64_memblock_init() 211 memblock_enforce_memory_limit(memory_limit); in arm64_memblock_init() 465 if (memory_limit != (phys_addr_t)ULLONG_MAX) { in dump_mem_limit() 466 pr_emerg("Memory Limit: %llu MB\n", memory_limit >> 20); in dump_mem_limit()
|
/arch/sh/kernel/ |
D | machine_kexec.c | 172 unsigned long max = memblock_end_of_DRAM() - memory_limit; in reserve_crashkernel() 192 if ((memblock_end_of_DRAM() - memory_limit) <= crashk_res.end) { in reserve_crashkernel() 193 memory_limit = 0; in reserve_crashkernel()
|
D | setup.c | 98 unsigned long memory_limit = 0; variable 109 memory_limit = PAGE_ALIGN(memparse(p, &p)); in early_parse_mem() 111 pr_notice("Memory limited to %ldMB\n", memory_limit >> 20); in early_parse_mem()
|
/arch/powerpc/include/asm/ |
D | setup.h | 10 extern unsigned long long memory_limit;
|
/arch/sh/mm/ |
D | init.c | 338 memblock_enforce_memory_limit(memory_limit); in paging_init() 352 memory_end = memory_start + (memory_limit ?: memblock_phys_mem_size()); in paging_init()
|
/arch/sh/include/asm/ |
D | page.h | 52 extern unsigned long memory_start, memory_end, memory_limit;
|
/arch/powerpc/mm/ |
D | mem.c | 64 unsigned long long memory_limit; variable
|