Home
last modified time | relevance | path

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

/openbmc/linux/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()
/openbmc/linux/drivers/block/zram/
H A Dzram_drv.c188 unsigned long cur_max = atomic_long_read(&zram->stats.max_used_pages); in update_used_max() local
191 if (cur_max >= pages) in update_used_max()
194 &cur_max, pages)); in update_used_max()