Home
last modified time | relevance | path

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

/Linux-v5.4/fs/xfs/libxfs/
Dxfs_inode_fork.c350 int new_max; in xfs_iroot_realloc() local
382 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()
/Linux-v5.4/tools/perf/lib/
Dcpumap.c101 int new_max = nr_cpus + cpu - prev - 1; in perf_cpu_map__read() local
103 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()
/Linux-v5.4/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.4/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()