/linux/arch/powerpc/kernel/ |
H A D | prom.c | 86 memory_limit = PAGE_ALIGN(memparse(p, &p)); in early_parse_mem() 87 DBG("memory limit = 0x%llx\n", memory_limit); in early_parse_mem() 127 if ((memory_limit && (start + size) > PHYSICAL_START + memory_limit) || in move_device_tree() 474 memory_limit = *lprop; in early_init_dt_scan_chosen_ppc() 840 if (memory_limit) in early_init_devtree() 841 first_memblock_size = min_t(u64, first_memblock_size, memory_limit); in early_init_devtree() 866 if (memory_limit > memblock_phys_mem_size()) in early_init_devtree() 867 memory_limit = 0; in early_init_devtree() 870 memory_limit in early_init_devtree() [all...] |
H A D | fadump.c | 371 /* Truncate to memory_limit. We don't want to over reserve the memory.*/ in fadump_calculate_reserve_size() 372 if (memory_limit && size > memory_limit) in fadump_calculate_reserve_size() 373 size = memory_limit; in fadump_calculate_reserve_size() 584 if (memory_limit) in fadump_reserve_mem() 585 mem_boundary = memory_limit; in fadump_reserve_mem()
|
/linux/arch/arm64/mm/ |
H A D | init.c | 168 static phys_addr_t memory_limit __ro_after_init = PHYS_ADDR_MAX; 178 memory_limit = memparse(p, &p) & PAGE_MASK; in early_mem() 179 pr_notice("Memory limited to %lldMB\n", memory_limit >> 20); in early_mem() 244 if (memory_limit != PHYS_ADDR_MAX) { in arm64_memblock_init() 245 memblock_mem_limit_remove_map(memory_limit); in arm64_memblock_init() 410 if (memory_limit != PHYS_ADDR_MAX) { in dump_mem_limit() 411 pr_emerg("Memory Limit: %llu MB\n", memory_limit >> 20); in dump_mem_limit()
|
/linux/arch/powerpc/kexec/ |
H A D | core.c | 109 total_mem_sz = memory_limit ? memory_limit : memblock_phys_mem_size(); in arch_reserve_crashkernel() 187 * memory_limit is required by the kexec-tools to limit the in export_crashk_values() 190 mem_limit = cpu_to_be_ulong(memory_limit); in export_crashk_values()
|
/linux/arch/sh/kernel/ |
H A D | machine_kexec.c | 160 unsigned long max = memblock_end_of_DRAM() - memory_limit; in reserve_crashkernel() 181 if ((memblock_end_of_DRAM() - memory_limit) <= crashk_res.end) { in reserve_crashkernel() 182 memory_limit = 0; in reserve_crashkernel()
|
H A 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()
|
/linux/net/sched/ |
H A D | sch_dualpi2.c | 97 u32 memory_limit; /* Memory limit of both queues */ member 392 unlikely((u64)q->memory_used + skb->truesize > q->memory_limit)) { in dualpi2_enqueue_skb() 680 * to further include per packet overhead in memory_limit. in get_memory_limit() 787 WRITE_ONCE(q->memory_limit, get_memory_limit(sch, limit)); in dualpi2_change() 791 WRITE_ONCE(q->memory_limit, in dualpi2_change() 873 q->memory_used > q->memory_limit) { in dualpi2_change() 893 q->memory_limit = get_memory_limit(sch, q->sch->limit); in dualpi2_reset_default() 961 READ_ONCE(q->memory_limit)) || in dualpi2_dump() 988 READ_ONCE(q->memory_limit)) || in dualpi2_dump() 1033 .memory_limit in dualpi2_dump_stats() [all...] |
H A D | sch_fq_pie.c | 67 u32 memory_limit; member 155 memory_limited = q->memory_usage > q->memory_limit + skb->truesize; in fq_pie_qdisc_enqueue() 348 WRITE_ONCE(q->memory_limit, in fq_pie_change() 432 q->memory_limit = SZ_32M; in fq_pie_init() 493 READ_ONCE(q->memory_limit)) || in fq_pie_dump()
|
/linux/include/net/ |
H A D | fq_impl.h | 234 oom = (fq->memory_usage > fq->memory_limit); in fq_tin_enqueue() 247 oom = (fq->memory_usage > fq->memory_limit); in fq_tin_enqueue() 359 fq->memory_limit = 16 << 20; /* 16 MBytes */ in fq_init()
|
H A D | fq.h | 76 u32 memory_limit; member
|
/linux/arch/powerpc/include/asm/ |
H A D | setup.h | 10 extern unsigned long long memory_limit;
|
/linux/arch/s390/boot/ |
H A D | ipl_parm.c | 33 unsigned long memory_limit; variable 262 memory_limit = round_down(memparse(val, NULL), PAGE_SIZE); in parse_boot_command_line()
|
H A D | boot.h | 98 extern unsigned long memory_limit;
|
H A D | startup.c | 287 if (memory_limit) in setup_ident_map_size() 288 ident_map_size = min(ident_map_size, memory_limit); in setup_ident_map_size()
|
/linux/arch/sh/mm/ |
H A D | init.c | 283 memblock_enforce_memory_limit(memory_limit); in paging_init() 297 memory_end = memory_start + (memory_limit ?: memblock_phys_mem_size()); in paging_init()
|
/linux/arch/riscv/mm/ |
H A D | init.c | 198 static phys_addr_t memory_limit; variable 200 #define memory_limit (*(phys_addr_t *)XIP_FIXUP(&memory_limit)) macro 211 memory_limit = min_t(u64, size, memory_limit); in early_mem() 213 pr_notice("Memory limited to %lldMB\n", (u64)memory_limit >> 20); in early_mem() 230 memblock_enforce_memory_limit(memory_limit); in setup_bootmem() 1153 memory_limit = KERN_VIRT_SIZE; in setup_vm()
|
/linux/arch/sh/include/asm/ |
H A D | page.h | 38 extern unsigned long memory_start, memory_end, memory_limit;
|
/linux/drivers/iommu/iommufd/ |
H A D | iommufd_test.h | 130 } memory_limit; member
|
/linux/arch/powerpc/mm/ |
H A D | mem.c | 35 unsigned long long memory_limit __initdata;
|
/linux/net/mac80211/ |
H A D | debugfs.c | 104 fq->memory_limit, in aqm_read() 136 else if (sscanf(buf, "fq_memory_limit %u", &local->fq.memory_limit) == 1) in aqm_write()
|
H A D | tx.c | 1560 local->fq.memory_limit = local->hw.wiphy->txq_memory_limit; in ieee80211_txq_set_params() 1562 local->hw.wiphy->txq_memory_limit = local->fq.memory_limit; in ieee80211_txq_set_params() 1597 fq->memory_limit = 4 << 20; /* 4 Mbytes */ in ieee80211_txq_setup_flows()
|
/linux/include/uapi/linux/ |
H A D | pkt_sched.h | 1279 __u32 memory_limit; /* Memory limit of both queues */ member
|
/linux/tools/testing/selftests/iommu/ |
H A D | iommufd.c | 353 unsigned int memory_limit; in FIXTURE_VARIANT() local 366 if (!variant->memory_limit) { in FIXTURE_SETUP() 369 test_ioctl_set_temp_memory_limit(variant->memory_limit); in FIXTURE_SETUP() 411 .memory_limit = 16, in FIXTURE_VARIANT_ADD()
|
H A D | iommufd_utils.h | 726 .memory_limit = { .limit = limit }, in _test_ioctl_set_temp_memory_limit()
|