Home
last modified time | relevance | path

Searched refs:new_max (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/fs/xfs/libxfs/
Dxfs_inode_fork.c393 int new_max; in xfs_iroot_realloc() local
426 new_max = cur_max + rec_diff; in xfs_iroot_realloc()
427 new_size = xfs_bmap_broot_space_calc(mp, new_max); in xfs_iroot_realloc()
448 new_max = cur_max + rec_diff; in xfs_iroot_realloc()
449 ASSERT(new_max >= 0); in xfs_iroot_realloc()
450 if (new_max > 0) in xfs_iroot_realloc()
451 new_size = xfs_bmap_broot_space_calc(mp, new_max); in xfs_iroot_realloc()
468 if (new_max > 0) { in xfs_iroot_realloc()
474 memcpy(np, op, new_max * (uint)sizeof(xfs_bmbt_key_t)); in xfs_iroot_realloc()
483 memcpy(np, op, new_max * (uint)sizeof(xfs_fsblock_t)); in xfs_iroot_realloc()
/linux-6.12.1/tools/lib/perf/
Dcpumap.c177 int new_max = nr_cpus + cpu - prev - 1; in perf_cpu_map__read() local
179 WARN_ONCE(new_max >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__read()
182 if (new_max >= max_entries) { in perf_cpu_map__read()
183 max_entries = new_max + MAX_NR_CPUS / 2; in perf_cpu_map__read()
/linux-6.12.1/kernel/cgroup/
Drdma.c83 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.12.1/fs/nfs/
Dnfs4session.c92 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.12.1/drivers/hwmon/
Dnzxt-smart2.c209 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.12.1/fs/bcachefs/
Dbtree_gc.c147 static int set_node_max(struct bch_fs *c, struct btree *b, struct bpos new_max) in set_node_max() argument
157 bch2_bpos_to_text(&buf, new_max); in set_node_max()
172 b->data->max_key = new_max; in set_node_max()
173 new->k.p = new_max; in set_node_max()
/linux-6.12.1/kernel/
Dworkqueue.c5578 int new_max, new_min; in wq_adjust_max_active() local
5583 new_max = 0; in wq_adjust_max_active()
5586 new_max = wq->saved_max_active; in wq_adjust_max_active()
5590 if (wq->max_active == new_max && wq->min_active == new_min) in wq_adjust_max_active()
5599 WRITE_ONCE(wq->max_active, new_max); in wq_adjust_max_active()
5605 if (new_max == 0) in wq_adjust_max_active()
/linux-6.12.1/lib/
Dmaple_tree.c1989 struct ma_state *mas, bool new_max) in mab_mas_cp() argument
2013 if (new_max) in mab_mas_cp()