Searched refs:mem_limit (Results 1 - 10 of 10) sorted by relevance

/linux-master/include/linux/
H A Dtty_buffer.h43 int mem_limit; member in struct:tty_bufhead
/linux-master/arch/x86/boot/compressed/
H A Dkaslr.c85 static u64 mem_limit; variable
210 if (size > 0 && size < mem_limit)
211 mem_limit = size;
296 if (mem_size < mem_limit)
297 mem_limit = mem_size;
589 region_end = min(entry->start + entry->size, mem_limit);
798 if (minimum + image_size > mem_limit)
813 if (phys_addr < minimum || phys_addr + image_size > mem_limit) {
858 mem_limit = KERNEL_IMAGE_SIZE;
860 mem_limit
[all...]
/linux-master/arch/parisc/mm/
H A Dinit.c81 static unsigned long mem_limit __read_mostly = MAX_MEM;
106 if (limit < mem_limit)
107 mem_limit = limit;
202 if ((mem_max + rsize) > mem_limit) {
203 printk(KERN_WARNING "Memory truncated to %ld MB\n", mem_limit >> 20);
204 if (mem_max == mem_limit)
207 pmem_ranges[i].pages = (mem_limit >> PAGE_SHIFT)
210 mem_max = mem_limit;
638 if (initrd_end && initrd_end > mem_limit) {
/linux-master/arch/powerpc/kexec/
H A Dcore.c184 static unsigned long long mem_limit; variable
207 .value = &mem_limit,
232 mem_limit = cpu_to_be_ulong(memory_limit);
/linux-master/drivers/tty/
H A Dtty_buffer.c96 int space = port->buf.mem_limit - atomic_read(&port->buf.mem_used);
178 if (atomic_read(&port->buf.mem_used) > port->buf.mem_limit)
588 buf->mem_limit = TTYB_DEFAULT_MEM_LIMIT;
604 port->buf.mem_limit = limit;
/linux-master/drivers/pcmcia/
H A Drsrc_nonstatic.c44 INT_MODULE_PARM(mem_limit, 0x10000);
478 * least mem_limit free space, we quit. Returns 0 on usuable ports.
512 if (ok >= mem_limit)
/linux-master/arch/alpha/kernel/
H A Dsetup.c266 move_initrd(unsigned long mem_limit) argument
273 if (!start || __pa(start) + size > mem_limit) {
/linux-master/arch/s390/kvm/
H A Dkvm-s390.c903 kvm->arch.mem_limit);
904 if (put_user(kvm->arch.mem_limit, (u64 __user *)attr->addr))
963 if (kvm->arch.mem_limit != KVM_S390_NO_MEM_LIMIT &&
964 new_limit > kvm->arch.mem_limit)
3397 kvm->arch.mem_limit = KVM_S390_NO_MEM_LIMIT;
3400 kvm->arch.mem_limit = TASK_SIZE_MAX;
3402 kvm->arch.mem_limit = min_t(unsigned long, TASK_SIZE_MAX,
3404 kvm->arch.gmap = gmap_create(current->mm, kvm->arch.mem_limit - 1);
5770 if ((new->base_gfn * PAGE_SIZE) + size > kvm->arch.mem_limit)
/linux-master/arch/s390/include/asm/
H A Dkvm_host.h968 unsigned long mem_limit; member in struct:kvm_arch
/linux-master/drivers/block/zram/
H A Dzram_drv.c2137 static DEVICE_ATTR_WO(mem_limit);

Completed in 268 milliseconds