Lines Matching refs:agi
150 xfs_agi_t *agi; in xfs_growfs_data_private() local
300 agi = XFS_BUF_TO_AGI(bp); in xfs_growfs_data_private()
301 agi->agi_magicnum = cpu_to_be32(XFS_AGI_MAGIC); in xfs_growfs_data_private()
302 agi->agi_versionnum = cpu_to_be32(XFS_AGI_VERSION); in xfs_growfs_data_private()
303 agi->agi_seqno = cpu_to_be32(agno); in xfs_growfs_data_private()
304 agi->agi_length = cpu_to_be32(agsize); in xfs_growfs_data_private()
305 agi->agi_count = 0; in xfs_growfs_data_private()
306 agi->agi_root = cpu_to_be32(XFS_IBT_BLOCK(mp)); in xfs_growfs_data_private()
307 agi->agi_level = cpu_to_be32(1); in xfs_growfs_data_private()
308 agi->agi_freecount = 0; in xfs_growfs_data_private()
309 agi->agi_newino = cpu_to_be32(NULLAGINO); in xfs_growfs_data_private()
310 agi->agi_dirino = cpu_to_be32(NULLAGINO); in xfs_growfs_data_private()
312 uuid_copy(&agi->agi_uuid, &mp->m_sb.sb_meta_uuid); in xfs_growfs_data_private()
314 agi->agi_free_root = cpu_to_be32(XFS_FIBT_BLOCK(mp)); in xfs_growfs_data_private()
315 agi->agi_free_level = cpu_to_be32(1); in xfs_growfs_data_private()
318 agi->agi_unlinked[bucket] = cpu_to_be32(NULLAGINO); in xfs_growfs_data_private()
450 agi = XFS_BUF_TO_AGI(bp); in xfs_growfs_data_private()
451 be32_add_cpu(&agi->agi_length, new); in xfs_growfs_data_private()
453 be32_to_cpu(agi->agi_length) == mp->m_sb.sb_agblocks); in xfs_growfs_data_private()
466 be32_to_cpu(agi->agi_length)); in xfs_growfs_data_private()