Home
last modified time | relevance | path

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

/Linux-v5.4/fs/xfs/libxfs/
Dxfs_inode_fork.c347 int cur_max; in xfs_iroot_realloc() local
381 cur_max = xfs_bmbt_maxrecs(mp, ifp->if_broot_bytes, 0); in xfs_iroot_realloc()
382 new_max = cur_max + rec_diff; in xfs_iroot_realloc()
393 memmove(np, op, cur_max * (uint)sizeof(xfs_fsblock_t)); in xfs_iroot_realloc()
403 cur_max = xfs_bmbt_maxrecs(mp, ifp->if_broot_bytes, 0); in xfs_iroot_realloc()
404 new_max = cur_max + rec_diff; in xfs_iroot_realloc()
/Linux-v5.4/drivers/block/zram/
Dzram_drv.c189 unsigned long old_max, cur_max; in update_used_max() local
194 cur_max = old_max; in update_used_max()
195 if (pages > cur_max) in update_used_max()
197 &zram->stats.max_used_pages, cur_max, pages); in update_used_max()
198 } while (old_max != cur_max); in update_used_max()