Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/xfs/libxfs/
H A 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()
/OK3568_Linux_fs/kernel/tools/lib/perf/
H A 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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/external/mpp/mpp/base/
H A Dmpp_buffer_impl.cpp708 RK_U32 new_max = MPP_MAX(total, old_max); in inc_total() local
710 ret = MPP_BOOL_CAS(&total_max, old_max, new_max); in inc_total()