Searched refs:agi (Results 1 – 5 of 5) sorted by relevance
179 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_inobt_insert() local180 xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); in xfs_inobt_insert()220 struct xfs_agi *agi) in xfs_check_agi_freecount() argument246 ASSERT(freecount == be32_to_cpu(agi->agi_freecount)); in xfs_check_agi_freecount()251 #define xfs_check_agi_freecount(cur, agi) 0 argument528 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_inobt_insert_sprec() local529 xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); in xfs_inobt_insert_sprec()609 xfs_agi_t *agi; /* allocation group header */ in xfs_ialloc_ag_alloc() local650 agi = XFS_BUF_TO_AGI(agbp); in xfs_ialloc_ag_alloc()651 newino = be32_to_cpu(agi->agi_newino); in xfs_ialloc_ag_alloc()[all …]
62 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_inobt_set_root() local64 agi->agi_root = nptr->s; in xfs_inobt_set_root()65 be32_add_cpu(&agi->agi_level, inc); in xfs_inobt_set_root()76 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_finobt_set_root() local78 agi->agi_free_root = nptr->s; in xfs_finobt_set_root()79 be32_add_cpu(&agi->agi_free_level, inc); in xfs_finobt_set_root()216 struct xfs_agi *agi = XFS_BUF_TO_AGI(cur->bc_private.a.agbp); in xfs_inobt_init_ptr_from_cur() local218 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agi->agi_seqno)); in xfs_inobt_init_ptr_from_cur()220 ptr->s = agi->agi_root; in xfs_inobt_init_ptr_from_cur()228 struct xfs_agi *agi = XFS_BUF_TO_AGI(cur->bc_private.a.agbp); in xfs_finobt_init_ptr_from_cur() local[all …]
158 xfs_agi_t *agi; in xfs_growfs_data_private() local317 agi = XFS_BUF_TO_AGI(bp); in xfs_growfs_data_private()318 agi->agi_magicnum = cpu_to_be32(XFS_AGI_MAGIC); in xfs_growfs_data_private()319 agi->agi_versionnum = cpu_to_be32(XFS_AGI_VERSION); in xfs_growfs_data_private()320 agi->agi_seqno = cpu_to_be32(agno); in xfs_growfs_data_private()321 agi->agi_length = cpu_to_be32(agsize); in xfs_growfs_data_private()322 agi->agi_count = 0; in xfs_growfs_data_private()323 agi->agi_root = cpu_to_be32(XFS_IBT_BLOCK(mp)); in xfs_growfs_data_private()324 agi->agi_level = cpu_to_be32(1); in xfs_growfs_data_private()325 agi->agi_freecount = 0; in xfs_growfs_data_private()[all …]
1985 xfs_agi_t *agi; in xfs_iunlink() local2003 agi = XFS_BUF_TO_AGI(agibp); in xfs_iunlink()2012 ASSERT(agi->agi_unlinked[bucket_index]); in xfs_iunlink()2013 ASSERT(be32_to_cpu(agi->agi_unlinked[bucket_index]) != agino); in xfs_iunlink()2015 if (agi->agi_unlinked[bucket_index] != cpu_to_be32(NULLAGINO)) { in xfs_iunlink()2028 dip->di_next_unlinked = agi->agi_unlinked[bucket_index]; in xfs_iunlink()2045 agi->agi_unlinked[bucket_index] = cpu_to_be32(agino); in xfs_iunlink()2063 xfs_agi_t *agi; in xfs_iunlink_remove() local2087 agi = XFS_BUF_TO_AGI(agibp); in xfs_iunlink_remove()2096 ASSERT(agi->agi_unlinked[bucket_index] != cpu_to_be32(NULLAGINO)); in xfs_iunlink_remove()[all …]
5006 xfs_agi_t *agi; in xlog_recover_clear_agi_bucket() local5019 agi = XFS_BUF_TO_AGI(agibp); in xlog_recover_clear_agi_bucket()5020 agi->agi_unlinked[bucket] = cpu_to_be32(NULLAGINO); in xlog_recover_clear_agi_bucket()5113 xfs_agi_t *agi; in xlog_recover_process_iunlinks() local5151 agi = XFS_BUF_TO_AGI(agibp); in xlog_recover_process_iunlinks()5155 agino = be32_to_cpu(agi->agi_unlinked[bucket]); in xlog_recover_process_iunlinks()5921 struct xfs_agi *agi = XFS_BUF_TO_AGI(agibp); in xlog_recover_check_summary() local5923 itotal += be32_to_cpu(agi->agi_count); in xlog_recover_check_summary()5924 ifree += be32_to_cpu(agi->agi_freecount); in xlog_recover_check_summary()