Searched refs:cur_max (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/fs/xfs/libxfs/ |
D | xfs_inode_fork.c | 352 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()
|
/Linux-v5.10/fs/ |
D | file.c | 688 unsigned int cur_max; in __close_range() local 699 cur_max = files_fdtable(cur_fds)->max_fds; in __close_range() 703 cur_max--; in __close_range() 714 if (max_fd >= cur_max) in __close_range() 729 max_fd = min(max_fd, cur_max); in __close_range()
|
/Linux-v5.10/drivers/block/zram/ |
D | zram_drv.c | 193 unsigned long old_max, cur_max; in update_used_max() local 198 cur_max = old_max; in update_used_max() 199 if (pages > cur_max) in update_used_max() 201 &zram->stats.max_used_pages, cur_max, pages); in update_used_max() 202 } while (old_max != cur_max); in update_used_max()
|