/linux-master/arch/powerpc/kexec/ |
H A D | core.c | 88 total_mem_sz = memory_limit ? memory_limit : memblock_phys_mem_size(); 154 if (memory_limit && memory_limit <= crashk_res.end) { 155 memory_limit = crashk_res.end + 1; 156 total_mem_sz = memory_limit; 158 memory_limit); 229 * memory_limit is required by the kexec-tools to limit the 232 mem_limit = cpu_to_be_ulong(memory_limit);
|
/linux-master/arch/arm64/mm/ |
H A D | init.c | 172 static phys_addr_t memory_limit __ro_after_init = PHYS_ADDR_MAX; 182 memory_limit = memparse(p, &p) & PAGE_MASK; 183 pr_notice("Memory limited to %lldMB\n", memory_limit >> 20); 248 if (memory_limit != PHYS_ADDR_MAX) { 249 memblock_mem_limit_remove_map(memory_limit); 429 if (memory_limit != PHYS_ADDR_MAX) { 430 pr_emerg("Memory Limit: %llu MB\n", memory_limit >> 20);
|
/linux-master/arch/sh/kernel/ |
H A D | machine_kexec.c | 160 unsigned long max = memblock_end_of_DRAM() - memory_limit; 181 if ((memblock_end_of_DRAM() - memory_limit) <= crashk_res.end) { 182 memory_limit = 0;
|
H A D | setup.c | 98 unsigned long memory_limit = 0; variable 109 memory_limit = PAGE_ALIGN(memparse(p, &p)); 111 pr_notice("Memory limited to %ldMB\n", memory_limit >> 20);
|
/linux-master/include/net/ |
H A D | fq.h | 76 u32 memory_limit; member in struct:fq
|
H A D | fq_impl.h | 234 oom = (fq->memory_usage > fq->memory_limit); 247 oom = (fq->memory_usage > fq->memory_limit); 359 fq->memory_limit = 16 << 20; /* 16 MBytes */
|
/linux-master/arch/powerpc/include/asm/ |
H A D | setup.h | 10 extern unsigned long long memory_limit;
|
/linux-master/arch/powerpc/kernel/ |
H A D | prom.c | 86 memory_limit = PAGE_ALIGN(memparse(p, &p)); 87 DBG("memory limit = 0x%llx\n", memory_limit); 127 if ((memory_limit && (start + size) > PHYSICAL_START + memory_limit) || 467 memory_limit = *lprop; 830 if (memory_limit) 831 first_memblock_size = min_t(u64, first_memblock_size, memory_limit); 850 limit = ALIGN(memory_limit ?: memblock_phys_mem_size(), PAGE_SIZE);
|
H A D | fadump.c | 351 /* Truncate to memory_limit. We don't want to over reserve the memory.*/ 352 if (memory_limit && size > memory_limit) 353 size = memory_limit; 578 * If memory_limit is less than actual memory boundary then reserve 579 * the memory for fadump beyond the memory_limit and adjust the 580 * memory_limit accordingly, so that the running kernel can run with 581 * specified memory_limit. 583 if (memory_limit && memory_limit < memblock_end_of_DRA [all...] |
/linux-master/drivers/iommu/iommufd/ |
H A D | iommufd_test.h | 114 } memory_limit; member in union:iommu_test_cmd::__anon62
|
H A D | selftest.c | 1442 if (cmd->memory_limit.limit < 1445 iommufd_test_memory_limit = cmd->memory_limit.limit;
|
/linux-master/arch/s390/boot/ |
H A D | boot.h | 86 extern unsigned long memory_limit;
|
H A D | ipl_parm.c | 31 unsigned long memory_limit; variable 274 memory_limit = round_down(memparse(val, NULL), PAGE_SIZE);
|
H A D | startup.c | 248 if (memory_limit) 249 ident_map_size = min(ident_map_size, memory_limit);
|
/linux-master/net/sched/ |
H A D | sch_fq_pie.c | 67 u32 memory_limit; member in struct:fq_pie_sched_data 154 memory_limited = q->memory_usage > q->memory_limit + skb->truesize; 344 q->memory_limit = nla_get_u32(tb[TCA_FQ_PIE_MEMORY_LIMIT]); 424 q->memory_limit = SZ_32M; 484 nla_put_u32(skb, TCA_FQ_PIE_MEMORY_LIMIT, q->memory_limit) ||
|
H A D | sch_fq_codel.c | 58 u32 memory_limit; member in struct:fq_codel_sched_data 216 memory_limited = q->memory_usage > q->memory_limit; 432 q->memory_limit = min(1U << 31, nla_get_u32(tb[TCA_FQ_CODEL_MEMORY_LIMIT])); 435 q->memory_usage > q->memory_limit) { 468 q->memory_limit = 32 << 20; /* 32 MBytes */ 544 q->memory_limit) ||
|
/linux-master/arch/riscv/mm/ |
H A D | init.c | 175 static phys_addr_t memory_limit; variable 177 #define memory_limit (*(phys_addr_t *)XIP_FIXUP(&memory_limit)) macro 188 memory_limit = min_t(u64, size, memory_limit); 190 pr_notice("Memory limited to %lldMB\n", (u64)memory_limit >> 20); 207 memblock_enforce_memory_limit(memory_limit); 1111 memory_limit = KERN_VIRT_SIZE - (IS_ENABLED(CONFIG_64BIT) ? SZ_4G : 0); 1273 if (end >= __pa(PAGE_OFFSET) + memory_limit) 1274 end = __pa(PAGE_OFFSET) + memory_limit; [all...] |
/linux-master/arch/sh/include/asm/ |
H A D | page.h | 40 extern unsigned long memory_start, memory_end, memory_limit;
|
/linux-master/arch/sh/mm/ |
H A D | init.c | 294 memblock_enforce_memory_limit(memory_limit); 309 memory_end = memory_start + (memory_limit ?: memblock_phys_mem_size());
|
/linux-master/arch/powerpc/mm/ |
H A D | mem.c | 33 unsigned long long memory_limit; variable
|
/linux-master/net/mac80211/ |
H A D | debugfs.c | 105 fq->memory_limit, 137 else if (sscanf(buf, "fq_memory_limit %u", &local->fq.memory_limit) == 1)
|
H A D | tx.c | 1568 local->fq.memory_limit = local->hw.wiphy->txq_memory_limit; 1570 local->hw.wiphy->txq_memory_limit = local->fq.memory_limit; 1605 fq->memory_limit = 4 << 20; /* 4 Mbytes */
|
/linux-master/include/linux/ |
H A D | memblock.h | 493 void memblock_enforce_memory_limit(phys_addr_t memory_limit);
|
/linux-master/tools/testing/selftests/iommu/ |
H A D | iommufd.c | 202 unsigned int memory_limit; local 214 if (!variant->memory_limit) { 217 test_ioctl_set_temp_memory_limit(variant->memory_limit); 250 .memory_limit = 16,
|
H A D | iommufd_utils.h | 582 .memory_limit = { .limit = limit },
|