Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_inode_fork.c380 int new_max; in xfs_iroot_realloc() local
412 new_max = cur_max + rec_diff; in xfs_iroot_realloc()
413 new_size = XFS_BMAP_BROOT_SPACE_CALC(mp, new_max); in xfs_iroot_realloc()
434 new_max = cur_max + rec_diff; in xfs_iroot_realloc()
435 ASSERT(new_max >= 0); in xfs_iroot_realloc()
436 if (new_max > 0) in xfs_iroot_realloc()
437 new_size = XFS_BMAP_BROOT_SPACE_CALC(mp, new_max); in xfs_iroot_realloc()
454 if (new_max > 0) { in xfs_iroot_realloc()
460 memcpy(np, op, new_max * (uint)sizeof(xfs_bmbt_rec_t)); in xfs_iroot_realloc()
469 memcpy(np, op, new_max * (uint)sizeof(xfs_fsblock_t)); in xfs_iroot_realloc()
/openbmc/linux/tools/lib/perf/
H A Dcpumap.c148 int new_max = nr_cpus + cpu - prev - 1; in perf_cpu_map__read() local
150 WARN_ONCE(new_max >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__read()
153 if (new_max >= max_entries) { in perf_cpu_map__read()
154 max_entries = new_max + MAX_NR_CPUS / 2; in perf_cpu_map__read()
/openbmc/linux/kernel/cgroup/
H A 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()
/openbmc/linux/fs/nfs/
H A 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()
/openbmc/linux/drivers/hwmon/
H A 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()
/openbmc/linux/lib/
H A Dmaple_tree.c2024 struct ma_state *mas, bool new_max) in mab_mas_cp() argument
2048 if (new_max) in mab_mas_cp()