Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/
H A Dxfs_fsops.c94 xfs_rfsblock_t nb, nb_div, nb_mod; in xfs_growfs_data_private() local
116 nb_div = nb; in xfs_growfs_data_private()
117 nb_mod = do_div(nb_div, mp->m_sb.sb_agblocks); in xfs_growfs_data_private()
119 nb_div++; in xfs_growfs_data_private()
121 nb = nb_div * mp->m_sb.sb_agblocks; in xfs_growfs_data_private()
123 if (nb_div > XFS_MAX_AGNUMBER + 1) { in xfs_growfs_data_private()
124 nb_div = XFS_MAX_AGNUMBER + 1; in xfs_growfs_data_private()
125 nb = nb_div * mp->m_sb.sb_agblocks; in xfs_growfs_data_private()
127 nagcount = nb_div; in xfs_growfs_data_private()