Searched refs:new_limit (Results 1 – 5 of 5) sorted by relevance
31 bool kfd_set_pasid_limit(unsigned int new_limit) in kfd_set_pasid_limit() argument33 if (new_limit < 2) in kfd_set_pasid_limit()36 if (new_limit < (1U << pasid_bits)) { in kfd_set_pasid_limit()43 while (new_limit < (1U << pasid_bits)) in kfd_set_pasid_limit()
1068 bool kfd_set_pasid_limit(unsigned int new_limit);
311 static long new_limit(int count) in new_limit() function316 ret = new_limit(--count); in new_limit()324 long nr_end, nr = open_files_cnt(), lim = new_limit(3); in test__dso_data_reopen()
405 u16 cur_limit, new_limit; in ips_cpu_lower() local410 new_limit = cur_limit - 8; /* 1W decrease */ in ips_cpu_lower()413 if (new_limit < (ips->orig_turbo_limit & TURBO_TDP_MASK)) in ips_cpu_lower()414 new_limit = ips->orig_turbo_limit & TURBO_TDP_MASK; in ips_cpu_lower()416 thm_writew(THM_MPCPC, (new_limit * 10) / 8); in ips_cpu_lower()422 turbo_override |= new_limit; in ips_cpu_lower()
949 unsigned long new_limit; in kvm_s390_set_mem_control() local954 if (get_user(new_limit, (u64 __user *)attr->addr)) in kvm_s390_set_mem_control()958 new_limit > kvm->arch.mem_limit) in kvm_s390_set_mem_control()961 if (!new_limit) in kvm_s390_set_mem_control()965 if (new_limit != KVM_S390_NO_MEM_LIMIT) in kvm_s390_set_mem_control()966 new_limit -= 1; in kvm_s390_set_mem_control()972 struct gmap *new = gmap_create(current->mm, new_limit); in kvm_s390_set_mem_control()984 VM_EVENT(kvm, 3, "SET: max guest address: %lu", new_limit); in kvm_s390_set_mem_control()