Home
last modified time | relevance | path

Searched refs:cur_max (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/libxfs/
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-5.10/fs/
Dfile.c717 unsigned int cur_max; in __close_range() local
728 cur_max = files_fdtable(cur_fds)->max_fds; in __close_range()
732 cur_max--; in __close_range()
743 if (max_fd >= cur_max) in __close_range()
758 max_fd = min(max_fd, cur_max); in __close_range()
/kernel/linux/linux-5.10/drivers/block/zram/
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()