Searched refs:cur_max (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/fs/xfs/libxfs/ |
D | xfs_inode_fork.c | 480 int cur_max; in xfs_iroot_realloc() local 514 cur_max = xfs_bmbt_maxrecs(mp, ifp->if_broot_bytes, 0); in xfs_iroot_realloc() 515 new_max = cur_max + rec_diff; in xfs_iroot_realloc() 518 XFS_BMAP_BROOT_SPACE_CALC(mp, cur_max), in xfs_iroot_realloc() 527 memmove(np, op, cur_max * (uint)sizeof(xfs_fsblock_t)); in xfs_iroot_realloc() 537 cur_max = xfs_bmbt_maxrecs(mp, ifp->if_broot_bytes, 0); in xfs_iroot_realloc() 538 new_max = cur_max + rec_diff; in xfs_iroot_realloc()
|
/linux-4.1.27/drivers/block/zram/ |
D | zram_drv.c | 567 unsigned long old_max, cur_max; in update_used_max() local 572 cur_max = old_max; in update_used_max() 573 if (pages > cur_max) in update_used_max() 575 &zram->stats.max_used_pages, cur_max, pages); in update_used_max() 576 } while (old_max != cur_max); in update_used_max()
|