Searched refs:mem_limit (Results 1 – 8 of 8) sorted by relevance
/arch/parisc/mm/ |
D | init.c | 84 static unsigned long mem_limit __read_mostly = MAX_MEM; 109 if (limit < mem_limit) in mem_limit_func() 110 mem_limit = limit; in mem_limit_func() 209 if ((mem_max + rsize) > mem_limit) { in setup_bootmem() 210 printk(KERN_WARNING "Memory truncated to %ld MB\n", mem_limit >> 20); in setup_bootmem() 211 if (mem_max == mem_limit) in setup_bootmem() 214 pmem_ranges[i].pages = (mem_limit >> PAGE_SHIFT) in setup_bootmem() 217 mem_max = mem_limit; in setup_bootmem() 668 if (initrd_end && initrd_end > mem_limit) { in pagetable_init()
|
/arch/powerpc/kernel/ |
D | machine_kexec.c | 216 static unsigned long long mem_limit; variable 239 .value = &mem_limit, 264 mem_limit = cpu_to_be_ulong(memory_limit); in export_crashk_values()
|
/arch/arm/mach-cns3xxx/ |
D | pcie.c | 232 u16 mem_limit = cnspci->res_mem.end >> 16; in cns3xxx_pcie_hw_init() local 240 cns3xxx_write_config(cnspci, PCI_MEMORY_LIMIT, 2, mem_limit); in cns3xxx_pcie_hw_init()
|
/arch/x86/boot/compressed/ |
D | kaslr.c | 98 static unsigned long long mem_limit = ULLONG_MAX; variable 198 mem_limit = size; in mem_avoid_memmap() 286 mem_limit = mem_size; in handle_mem_options() 593 end = min(entry->size + entry->start, mem_limit); in __process_mem_region()
|
/arch/ia64/kernel/ |
D | efi.c | 61 static u64 mem_limit = ~0UL, max_addr = ~0UL, min_addr = 0UL; variable 492 mem_limit = memparse(cp + 4, &cp); in efi_init() 1028 if (total_mem + (ae - as) > mem_limit) in find_memmap_space() 1029 ae -= total_mem + (ae - as) - mem_limit; in find_memmap_space() 1147 if (total_mem + (ae - as) > mem_limit) in efi_memmap_init() 1148 ae -= total_mem + (ae - as) - mem_limit; in efi_memmap_init()
|
/arch/alpha/kernel/ |
D | setup.c | 290 move_initrd(unsigned long mem_limit) in move_initrd() argument 297 if (!start || __pa(start) + size > mem_limit) { in move_initrd()
|
/arch/s390/kvm/ |
D | kvm-s390.c | 800 kvm->arch.mem_limit); in kvm_s390_get_mem_control() 801 if (put_user(kvm->arch.mem_limit, (u64 __user *)attr->addr)) in kvm_s390_get_mem_control() 860 if (kvm->arch.mem_limit != KVM_S390_NO_MEM_LIMIT && in kvm_s390_set_mem_control() 861 new_limit > kvm->arch.mem_limit) in kvm_s390_set_mem_control() 2498 kvm->arch.mem_limit = KVM_S390_NO_MEM_LIMIT; in kvm_arch_init_vm() 2501 kvm->arch.mem_limit = TASK_SIZE_MAX; in kvm_arch_init_vm() 2503 kvm->arch.mem_limit = min_t(unsigned long, TASK_SIZE_MAX, in kvm_arch_init_vm() 2505 kvm->arch.gmap = gmap_create(current->mm, kvm->arch.mem_limit - 1); in kvm_arch_init_vm() 4526 if (mem->guest_phys_addr + mem->memory_size > kvm->arch.mem_limit) in kvm_arch_prepare_memory_region()
|
/arch/s390/include/asm/ |
D | kvm_host.h | 851 unsigned long mem_limit; member
|