Searched refs:new_limit (Results 1 – 4 of 4) sorted by relevance
29 bool kfd_set_pasid_limit(unsigned int new_limit) in kfd_set_pasid_limit() argument31 if (new_limit < 2) in kfd_set_pasid_limit()34 if (new_limit < (1U << pasid_bits)) { in kfd_set_pasid_limit()41 while (new_limit < (1U << pasid_bits)) in kfd_set_pasid_limit()
768 bool kfd_set_pasid_limit(unsigned int new_limit);
416 u16 cur_limit, new_limit; in ips_cpu_lower() local421 new_limit = cur_limit - 8; /* 1W decrease */ in ips_cpu_lower()424 if (new_limit < (ips->orig_turbo_limit & TURBO_TDP_MASK)) in ips_cpu_lower()425 new_limit = ips->orig_turbo_limit & TURBO_TDP_MASK; in ips_cpu_lower()427 thm_writew(THM_MPCPC, (new_limit * 10) / 8); in ips_cpu_lower()433 turbo_override |= new_limit; in ips_cpu_lower()
791 unsigned long new_limit; in kvm_s390_set_mem_control() local796 if (get_user(new_limit, (u64 __user *)attr->addr)) in kvm_s390_set_mem_control()800 new_limit > kvm->arch.mem_limit) in kvm_s390_set_mem_control()803 if (!new_limit) in kvm_s390_set_mem_control()807 if (new_limit != KVM_S390_NO_MEM_LIMIT) in kvm_s390_set_mem_control()808 new_limit -= 1; in kvm_s390_set_mem_control()814 struct gmap *new = gmap_create(current->mm, new_limit); in kvm_s390_set_mem_control()826 VM_EVENT(kvm, 3, "SET: max guest address: %lu", new_limit); in kvm_s390_set_mem_control()