Searched refs:new_max (Results 1 – 4 of 4) sorted by relevance
355 int new_max; in xfs_iroot_realloc() local387 new_max = cur_max + rec_diff; in xfs_iroot_realloc()388 new_size = XFS_BMAP_BROOT_SPACE_CALC(mp, new_max); in xfs_iroot_realloc()409 new_max = cur_max + rec_diff; in xfs_iroot_realloc()410 ASSERT(new_max >= 0); in xfs_iroot_realloc()411 if (new_max > 0) in xfs_iroot_realloc()412 new_size = XFS_BMAP_BROOT_SPACE_CALC(mp, new_max); in xfs_iroot_realloc()430 if (new_max > 0) { in xfs_iroot_realloc()436 memcpy(np, op, new_max * (uint)sizeof(xfs_bmbt_rec_t)); in xfs_iroot_realloc()445 memcpy(np, op, new_max * (uint)sizeof(xfs_fsblock_t)); in xfs_iroot_realloc()
115 int new_max = nr_cpus + cpu - prev - 1; in perf_cpu_map__read() local117 WARN_ONCE(new_max >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__read()120 if (new_max >= max_entries) { in perf_cpu_map__read()121 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()