Lines Matching refs:nagcount
144 xfs_agnumber_t nagcount; in xfs_growfs_data_private() local
169 nagcount = new + (nb_mod != 0); in xfs_growfs_data_private()
171 nagcount--; in xfs_growfs_data_private()
172 nb = nagcount * mp->m_sb.sb_agblocks; in xfs_growfs_data_private()
178 if (nagcount > oagcount) { in xfs_growfs_data_private()
181 sizeof(xfs_perag_t) * nagcount, in xfs_growfs_data_private()
185 (nagcount - oagcount) * sizeof(xfs_perag_t)); in xfs_growfs_data_private()
187 nagimax = xfs_initialize_perag(mp, nagcount); in xfs_growfs_data_private()
198 for (agno = nagcount - 1; agno >= oagcount; agno--, new -= agsize) { in xfs_growfs_data_private()
210 if (agno == nagcount - 1) in xfs_growfs_data_private()
338 ASSERT(nagcount == oagcount || in xfs_growfs_data_private()
363 if (nagcount > oagcount) in xfs_growfs_data_private()
364 xfs_trans_mod_sb(tp, XFS_TRANS_SB_AGCOUNT, nagcount - oagcount); in xfs_growfs_data_private()
385 for (agno = 1; agno < nagcount; agno++) { in xfs_growfs_data_private()