Searched refs:new_max (Results 1 – 4 of 4) sorted by relevance
350 int new_max; in xfs_iroot_realloc() local382 new_max = cur_max + rec_diff; in xfs_iroot_realloc()383 new_size = XFS_BMAP_BROOT_SPACE_CALC(mp, new_max); in xfs_iroot_realloc()404 new_max = cur_max + rec_diff; in xfs_iroot_realloc()405 ASSERT(new_max >= 0); in xfs_iroot_realloc()406 if (new_max > 0) in xfs_iroot_realloc()407 new_size = XFS_BMAP_BROOT_SPACE_CALC(mp, new_max); in xfs_iroot_realloc()425 if (new_max > 0) { in xfs_iroot_realloc()431 memcpy(np, op, new_max * (uint)sizeof(xfs_bmbt_rec_t)); in xfs_iroot_realloc()440 memcpy(np, op, new_max * (uint)sizeof(xfs_fsblock_t)); in xfs_iroot_realloc()
101 int new_max = nr_cpus + cpu - prev - 1; in perf_cpu_map__read() local103 WARN_ONCE(new_max >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__read()106 if (new_max >= max_entries) { in perf_cpu_map__read()107 max_entries = new_max + MAX_NR_CPUS / 2; in perf_cpu_map__read()
83 int index, int new_max) in set_resource_limit() argument85 if (new_max == S32_MAX) { in set_resource_limit()92 rpool->resources[index].max = new_max; in set_resource_limit()
92 u32 new_max = find_last_bit(tbl->used_slots, slotid); in nfs4_free_slot() local93 if (new_max < slotid) in nfs4_free_slot()94 tbl->highest_used_slotid = new_max; in nfs4_free_slot()