Searched refs:memory_limit (Results 1 – 16 of 16) sorted by relevance
/Linux-v4.19/arch/powerpc/kernel/ |
D | machine_kexec.c | 180 if (memory_limit && memory_limit <= crashk_res.end) { in reserve_crashkernel() 181 memory_limit = crashk_res.end + 1; in reserve_crashkernel() 183 memory_limit); in reserve_crashkernel() 257 mem_limit = cpu_to_be_ulong(memory_limit); in export_crashk_values()
|
D | prom.c | 85 memory_limit = PAGE_ALIGN(memparse(p, &p)); in early_parse_mem() 86 DBG("memory limit = 0x%llx\n", memory_limit); in early_parse_mem() 126 if ((memory_limit && (start + size) > PHYSICAL_START + memory_limit) || in move_device_tree() 417 memory_limit = *lprop; in early_init_dt_scan_chosen_ppc() 726 if (memory_limit) in early_init_devtree() 727 first_memblock_size = min_t(u64, first_memblock_size, memory_limit); in early_init_devtree() 746 limit = ALIGN(memory_limit ?: memblock_phys_mem_size(), PAGE_SIZE); in early_init_devtree()
|
D | fadump.c | 314 if (memory_limit && size > memory_limit) in fadump_calculate_reserve_size() 315 size = memory_limit; in fadump_calculate_reserve_size() 391 if (memory_limit && memory_limit < memblock_end_of_DRAM()) { in fadump_reserve_mem() 393 if ((memory_limit + size) < memblock_end_of_DRAM()) in fadump_reserve_mem() 394 memory_limit += size; in fadump_reserve_mem() 396 memory_limit = memblock_end_of_DRAM(); in fadump_reserve_mem() 398 " dump, now %#016llx\n", memory_limit); in fadump_reserve_mem() 400 if (memory_limit) in fadump_reserve_mem() 401 memory_boundary = memory_limit; in fadump_reserve_mem()
|
/Linux-v4.19/arch/arm64/mm/ |
D | init.c | 317 static phys_addr_t memory_limit = PHYS_ADDR_MAX; variable 327 memory_limit = memparse(p, &p) & PAGE_MASK; in early_mem() 328 pr_notice("Memory limited to %lldMB\n", memory_limit >> 20); in early_mem() 408 if (memory_limit != PHYS_ADDR_MAX) { in arm64_memblock_init() 409 memblock_mem_limit_remove_map(memory_limit); in arm64_memblock_init() 675 if (memory_limit != PHYS_ADDR_MAX) { in dump_mem_limit() 676 pr_emerg("Memory Limit: %llu MB\n", memory_limit >> 20); in dump_mem_limit()
|
/Linux-v4.19/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 | 100 unsigned long memory_limit = 0; variable 111 memory_limit = PAGE_ALIGN(memparse(p, &p)); in early_parse_mem() 113 pr_notice("Memory limited to %ldMB\n", memory_limit >> 20); in early_parse_mem()
|
/Linux-v4.19/net/sched/ |
D | sch_fq_codel.c | 64 u32 memory_limit; member 222 memory_limited = q->memory_usage > q->memory_limit; in fq_codel_enqueue() 435 q->memory_limit = min(1U << 31, nla_get_u32(tb[TCA_FQ_CODEL_MEMORY_LIMIT])); in fq_codel_change() 438 q->memory_usage > q->memory_limit) { in fq_codel_change() 471 q->memory_limit = 32 << 20; /* 32 MBytes */ in fq_codel_init() 547 q->memory_limit) || in fq_codel_dump()
|
/Linux-v4.19/include/net/ |
D | fq_impl.h | 184 oom = (fq->memory_usage > fq->memory_limit); in fq_tin_enqueue() 202 oom = (fq->memory_usage > fq->memory_limit); in fq_tin_enqueue() 313 fq->memory_limit = 16 << 20; /* 16 MBytes */ in fq_init()
|
D | fq.h | 75 u32 memory_limit; member
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | setup.h | 11 extern unsigned long long memory_limit;
|
/Linux-v4.19/arch/sh/mm/ |
D | init.c | 296 memblock_enforce_memory_limit(memory_limit); in paging_init() 310 memory_end = memory_start + (memory_limit ?: memblock_phys_mem_size()); in paging_init()
|
/Linux-v4.19/net/mac80211/ |
D | debugfs.c | 104 fq->memory_limit, in aqm_read() 137 else if (sscanf(buf, "fq_memory_limit %u", &local->fq.memory_limit) == 1) in aqm_write()
|
D | tx.c | 1477 local->fq.memory_limit = local->hw.wiphy->txq_memory_limit; in ieee80211_txq_set_params() 1479 local->hw.wiphy->txq_memory_limit = local->fq.memory_limit; in ieee80211_txq_set_params() 1517 fq->memory_limit = 4 << 20; /* 4 Mbytes */ in ieee80211_txq_setup_flows()
|
/Linux-v4.19/arch/sh/include/asm/ |
D | page.h | 53 extern unsigned long memory_start, memory_end, memory_limit;
|
/Linux-v4.19/arch/powerpc/mm/ |
D | mem.c | 65 unsigned long long memory_limit; variable
|
/Linux-v4.19/include/linux/ |
D | memblock.h | 361 void memblock_enforce_memory_limit(phys_addr_t memory_limit);
|