Home
last modified time | relevance | path

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

/Linux-v5.10/fs/xfs/libxfs/
Dxfs_inode_fork.c355 int new_max; in xfs_iroot_realloc() local
387 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()
/Linux-v5.10/tools/lib/perf/
Dcpumap.c115 int new_max = nr_cpus + cpu - prev - 1; in perf_cpu_map__read() local
117 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()
/Linux-v5.10/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-v5.10/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()