Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/ !
Dkfd_pasid.c31 bool kfd_set_pasid_limit(unsigned int new_limit) in kfd_set_pasid_limit() argument
33 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()
Dkfd_priv.h1068 bool kfd_set_pasid_limit(unsigned int new_limit);
/linux-6.6.21/tools/perf/tests/ !
Ddso-data.c311 static long new_limit(int count) in new_limit() function
316 ret = new_limit(--count); in new_limit()
324 long nr_end, nr = open_files_cnt(), lim = new_limit(3); in test__dso_data_reopen()
/linux-6.6.21/drivers/platform/x86/ !
Dintel_ips.c405 u16 cur_limit, new_limit; in ips_cpu_lower() local
410 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()
/linux-6.6.21/arch/s390/kvm/ !
Dkvm-s390.c949 unsigned long new_limit; in kvm_s390_set_mem_control() local
954 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()