Searched refs:new_limit (Results 1 – 5 of 5) sorted by relevance
30 bool kfd_set_pasid_limit(unsigned int new_limit) in kfd_set_pasid_limit() argument32 if (new_limit < 2) in kfd_set_pasid_limit()35 if (new_limit < (1U << pasid_bits)) { in kfd_set_pasid_limit()42 while (new_limit < (1U << pasid_bits)) in kfd_set_pasid_limit()
937 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()
887 unsigned long new_limit; in kvm_s390_set_mem_control() local892 if (get_user(new_limit, (u64 __user *)attr->addr)) in kvm_s390_set_mem_control()896 new_limit > kvm->arch.mem_limit) in kvm_s390_set_mem_control()899 if (!new_limit) in kvm_s390_set_mem_control()903 if (new_limit != KVM_S390_NO_MEM_LIMIT) in kvm_s390_set_mem_control()904 new_limit -= 1; in kvm_s390_set_mem_control()910 struct gmap *new = gmap_create(current->mm, new_limit); in kvm_s390_set_mem_control()922 VM_EVENT(kvm, 3, "SET: max guest address: %lu", new_limit); in kvm_s390_set_mem_control()
Completed in 22 milliseconds