Home
last modified time | relevance | path

Searched refs:cur_max (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_inode_fork.c352 int cur_max; in xfs_iroot_realloc() local
386 cur_max = xfs_bmbt_maxrecs(mp, ifp->if_broot_bytes, 0); in xfs_iroot_realloc()
387 new_max = cur_max + rec_diff; in xfs_iroot_realloc()
398 memmove(np, op, cur_max * (uint)sizeof(xfs_fsblock_t)); in xfs_iroot_realloc()
408 cur_max = xfs_bmbt_maxrecs(mp, ifp->if_broot_bytes, 0); in xfs_iroot_realloc()
409 new_max = cur_max + rec_diff; in xfs_iroot_realloc()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_inode_fork.c377 int cur_max; in xfs_iroot_realloc() local
411 cur_max = xfs_bmbt_maxrecs(mp, ifp->if_broot_bytes, 0); in xfs_iroot_realloc()
412 new_max = cur_max + rec_diff; in xfs_iroot_realloc()
423 memmove(np, op, cur_max * (uint)sizeof(xfs_fsblock_t)); in xfs_iroot_realloc()
433 cur_max = xfs_bmbt_maxrecs(mp, ifp->if_broot_bytes, 0); in xfs_iroot_realloc()
434 new_max = cur_max + rec_diff; in xfs_iroot_realloc()
/kernel/linux/linux-5.10/fs/
H A Dfile.c718 unsigned int cur_max; in __close_range() local
729 cur_max = files_fdtable(cur_fds)->max_fds; in __close_range()
733 cur_max--; in __close_range()
744 if (max_fd >= cur_max) in __close_range()
759 max_fd = min(max_fd, cur_max); in __close_range()
/kernel/linux/linux-5.10/drivers/block/zram/
H A Dzram_drv.c139 unsigned long old_max, cur_max; in update_used_max() local
144 cur_max = old_max; in update_used_max()
145 if (pages > cur_max) in update_used_max()
147 &zram->stats.max_used_pages, cur_max, pages); in update_used_max()
148 } while (old_max != cur_max); in update_used_max()
/kernel/linux/linux-6.6/drivers/block/zram/
H A Dzram_drv.c127 unsigned long cur_max = atomic_long_read(&zram->stats.max_used_pages); in update_used_max() local
130 if (cur_max >= pages) in update_used_max()
133 &cur_max, pages)); in update_used_max()

Completed in 9 milliseconds