Searched refs:new_max (Results 1 – 3 of 3) sorted by relevance
92 u32 new_max = find_last_bit(tbl->used_slots, slotid); in nfs4_free_slot() local93 if (new_max < slotid) in nfs4_free_slot()94 tbl->highest_used_slotid = new_max; in nfs4_free_slot()
209 static long scale_pwm_value(long val, long orig_max, long new_max) in scale_pwm_value() argument218 return max(1L, DIV_ROUND_CLOSEST(min(val, orig_max) * new_max, orig_max)); in scale_pwm_value()
5838 int new_max, new_min; in wq_adjust_max_active() local 5843 new_max = 0; in wq_adjust_max_active() 5846 new_max = wq->saved_max_active; in wq_adjust_max_active() 5850 if (wq->max_active == new_max && wq->min_active == new_min) in wq_adjust_max_active() 5859 WRITE_ONCE(wq->max_active, new_max); in wq_adjust_max_active() 5865 if (new_max == 0) in wq_adjust_max_active()