Lines Matching refs:agi
124 xfs_agi_t *agi; in xfs_growfs_data_private() local
229 agi = XFS_BUF_TO_AGI(bp); in xfs_growfs_data_private()
230 memset(agi, 0, mp->m_sb.sb_sectsize); in xfs_growfs_data_private()
231 agi->agi_magicnum = cpu_to_be32(XFS_AGI_MAGIC); in xfs_growfs_data_private()
232 agi->agi_versionnum = cpu_to_be32(XFS_AGI_VERSION); in xfs_growfs_data_private()
233 agi->agi_seqno = cpu_to_be32(agno); in xfs_growfs_data_private()
234 agi->agi_length = cpu_to_be32(agsize); in xfs_growfs_data_private()
235 agi->agi_count = 0; in xfs_growfs_data_private()
236 agi->agi_root = cpu_to_be32(XFS_IBT_BLOCK(mp)); in xfs_growfs_data_private()
237 agi->agi_level = cpu_to_be32(1); in xfs_growfs_data_private()
238 agi->agi_freecount = 0; in xfs_growfs_data_private()
239 agi->agi_newino = cpu_to_be32(NULLAGINO); in xfs_growfs_data_private()
240 agi->agi_dirino = cpu_to_be32(NULLAGINO); in xfs_growfs_data_private()
242 agi->agi_unlinked[bucket] = cpu_to_be32(NULLAGINO); in xfs_growfs_data_private()
324 agi = XFS_BUF_TO_AGI(bp); in xfs_growfs_data_private()
325 be32_add_cpu(&agi->agi_length, new); in xfs_growfs_data_private()
327 be32_to_cpu(agi->agi_length) == mp->m_sb.sb_agblocks); in xfs_growfs_data_private()
340 be32_to_cpu(agi->agi_length)); in xfs_growfs_data_private()