Searched refs:new_max (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/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-6.15/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-6.15/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-6.15/fs/bcachefs/ |
| H A D | btree_gc.c | 170 static int set_node_max(struct bch_fs *c, struct btree *b, struct bpos new_max) in set_node_max() argument 180 bch2_bpos_to_text(&buf, new_max); in set_node_max() 195 b->data->max_key = new_max; in set_node_max() 196 new->k.p = new_max; in set_node_max()
|
| /linux-6.15/kernel/ |
| H A D | workqueue.c | 5605 int new_max, new_min; in wq_adjust_max_active() local 5610 new_max = 0; in wq_adjust_max_active() 5613 new_max = wq->saved_max_active; in wq_adjust_max_active() 5617 if (wq->max_active == new_max && wq->min_active == new_min) in wq_adjust_max_active() 5626 WRITE_ONCE(wq->max_active, new_max); in wq_adjust_max_active() 5632 if (new_max == 0) in wq_adjust_max_active()
|
| /linux-6.15/lib/ |
| H A D | maple_tree.c | 1987 struct ma_state *mas, bool new_max) in mab_mas_cp() argument 2011 if (new_max) in mab_mas_cp()
|