Home
last modified time | relevance | path

Searched refs:mem_limit (Results 1 – 5 of 5) sorted by relevance

/linux/arch/powerpc/kexec/
H A Dcore.c152 static __be_word mem_limit; variable
169 .value = &mem_limit,
192 mem_limit = cpu_to_be_ulong(memory_limit); in export_crashk_values()
/linux/Documentation/admin-guide/blockdev/
H A Dzram.rst182 Set memory limit by writing the value to sysfs node 'mem_limit'.
188 echo $((50*1024*1024)) > /sys/block/zram0/mem_limit
191 echo 256K > /sys/block/zram0/mem_limit
192 echo 512M > /sys/block/zram0/mem_limit
193 echo 1G > /sys/block/zram0/mem_limit
196 echo 0 > /sys/block/zram0/mem_limit
244 mem_limit WO specifies the maximum amount of memory ZRAM can
306 mem_limit the maximum amount of memory ZRAM can use to store
/linux/arch/alpha/kernel/
H A Dsetup.c266 move_initrd(unsigned long mem_limit) in move_initrd() argument
273 if (!start || __pa(start) + size > mem_limit) { in move_initrd()
/linux/arch/s390/kvm/s390/
H A Ds390.c957 kvm->arch.mem_limit); in kvm_s390_get_mem_control()
958 if (put_user(kvm->arch.mem_limit, (u64 __user *)attr->addr)) in kvm_s390_get_mem_control()
1024 if (kvm->arch.mem_limit != KVM_S390_NO_MEM_LIMIT && in kvm_s390_set_mem_control()
1025 new_limit > kvm->arch.mem_limit) in kvm_s390_set_mem_control()
3334 kvm->arch.mem_limit = type & KVM_VM_S390_UCONTROL ? KVM_S390_NO_MEM_LIMIT : sclp.hamax + 1; in kvm_arch_init_vm()
3335 kvm->arch.gmap = gmap_new(kvm, gpa_to_gfn(kvm->arch.mem_limit)); in kvm_arch_init_vm()
/linux/drivers/block/zram/
H A Dzram_drv.c2997 static DEVICE_ATTR_WO(mem_limit);