Searched refs:new_max (Results 1 – 5 of 5) sorted by relevance
| /linux/kernel/cgroup/ |
| H A D | rdma.c | 83 int index, int new_max) in set_resource_limit() argument 85 if (new_max == S32_MAX) { in set_resource_limit() 92 rpool->resources[index].max = new_max; in set_resource_limit()
|
| /linux/fs/nfs/ |
| H A D | nfs4session.c | 92 u32 new_max = find_last_bit(tbl->used_slots, slotid); in nfs4_free_slot() local 93 if (new_max < slotid) in nfs4_free_slot() 94 tbl->highest_used_slotid = new_max; in nfs4_free_slot()
|
| /linux/drivers/hwmon/ |
| H A D | nzxt-smart2.c | 209 static long scale_pwm_value(long val, long orig_max, long new_max) in scale_pwm_value() argument 218 return max(1L, DIV_ROUND_CLOSEST(min(val, orig_max) * new_max, orig_max)); in scale_pwm_value()
|
| /linux/kernel/ |
| H A D | workqueue.c | 5637 int new_max, new_min; in wq_adjust_max_active() local 5642 new_max = 0; in wq_adjust_max_active() 5645 new_max = wq->saved_max_active; in wq_adjust_max_active() 5649 if (wq->max_active == new_max && wq->min_active == new_min) in wq_adjust_max_active() 5658 WRITE_ONCE(wq->max_active, new_max); in wq_adjust_max_active() 5664 if (new_max == 0) in wq_adjust_max_active()
|
| /linux/lib/ |
| H A D | maple_tree.c | 1804 struct ma_state *mas, bool new_max) in mab_mas_cp() argument 1828 if (new_max) in mab_mas_cp()
|