Searched refs:new_max (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_inode_fork.c | 365 int new_max; in xfs_iroot_realloc() local 397 new_max = cur_max + rec_diff; in xfs_iroot_realloc() 398 new_size = XFS_BMAP_BROOT_SPACE_CALC(mp, new_max); in xfs_iroot_realloc() 419 new_max = cur_max + rec_diff; in xfs_iroot_realloc() 420 ASSERT(new_max >= 0); in xfs_iroot_realloc() 421 if (new_max > 0) in xfs_iroot_realloc() 422 new_size = XFS_BMAP_BROOT_SPACE_CALC(mp, new_max); in xfs_iroot_realloc() 439 if (new_max > 0) { in xfs_iroot_realloc() 445 memcpy(np, op, new_max * (uint)sizeof(xfs_bmbt_rec_t)); in xfs_iroot_realloc() 454 memcpy(np, op, new_max * (uint)sizeof(xfs_fsblock_t)); in xfs_iroot_realloc()
|
/linux-6.1.9/tools/lib/perf/ |
D | cpumap.c | 127 int new_max = nr_cpus + cpu - prev - 1; in perf_cpu_map__read() local 129 WARN_ONCE(new_max >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__read() 132 if (new_max >= max_entries) { in perf_cpu_map__read() 133 max_entries = new_max + MAX_NR_CPUS / 2; in perf_cpu_map__read()
|
/linux-6.1.9/kernel/cgroup/ |
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.1.9/fs/nfs/ |
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.1.9/drivers/hwmon/ |
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.1.9/lib/ |
D | maple_tree.c | 1983 struct ma_state *mas, bool new_max) in mab_mas_cp() argument 2007 if (new_max) in mab_mas_cp()
|