Lines Matching refs:sb_agcount
88 { offsetof(xfs_sb_t, sb_agcount), 0 },
172 sizeof(xfs_perag_t) * mp->m_sb.sb_agcount); in xfs_mount_free()
246 sbp->sb_agcount <= 0 ||
272 (xfs_drfsbno_t)sbp->sb_agcount * sbp->sb_agblocks ||
273 sbp->sb_dblocks < (xfs_drfsbno_t)(sbp->sb_agcount - 1) *
563 mp->m_maxagi = mp->m_sb.sb_agcount;
567 mp->m_agno_log = xfs_highbit32(sbp->sb_agcount - 1) + 1;
952 kmem_zalloc(sbp->sb_agcount * sizeof(xfs_perag_t), KM_SLEEP);
954 mp->m_maxagi = xfs_initialize_perag(mp, sbp->sb_agcount);
1054 for (agno = 0; agno < sbp->sb_agcount; agno++)
1058 kmem_free(mp->m_perag, sbp->sb_agcount * sizeof(xfs_perag_t));
1343 scounter = mp->m_sb.sb_agcount;
1349 mp->m_sb.sb_agcount = scounter;