Searched refs:agi (Results 1 – 5 of 5) sorted by relevance
168 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_inobt_insert() local169 xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); in xfs_inobt_insert()209 struct xfs_agi *agi) in xfs_check_agi_freecount() argument235 ASSERT(freecount == be32_to_cpu(agi->agi_freecount)); in xfs_check_agi_freecount()240 #define xfs_check_agi_freecount(cur, agi) 0 argument519 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_inobt_insert_sprec() local520 xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); in xfs_inobt_insert_sprec()600 xfs_agi_t *agi; /* allocation group header */ in xfs_ialloc_ag_alloc() local640 agi = XFS_BUF_TO_AGI(agbp); in xfs_ialloc_ag_alloc()641 newino = be32_to_cpu(agi->agi_newino); in xfs_ialloc_ag_alloc()[all …]
61 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_inobt_set_root() local63 agi->agi_root = nptr->s; in xfs_inobt_set_root()64 be32_add_cpu(&agi->agi_level, inc); in xfs_inobt_set_root()75 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_finobt_set_root() local77 agi->agi_free_root = nptr->s; in xfs_finobt_set_root()78 be32_add_cpu(&agi->agi_free_level, inc); in xfs_finobt_set_root()191 struct xfs_agi *agi = XFS_BUF_TO_AGI(cur->bc_private.a.agbp); in xfs_inobt_init_ptr_from_cur() local193 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agi->agi_seqno)); in xfs_inobt_init_ptr_from_cur()195 ptr->s = agi->agi_root; in xfs_inobt_init_ptr_from_cur()203 struct xfs_agi *agi = XFS_BUF_TO_AGI(cur->bc_private.a.agbp); in xfs_finobt_init_ptr_from_cur() local[all …]
150 xfs_agi_t *agi; in xfs_growfs_data_private() local300 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()[all …]
1958 xfs_agi_t *agi; in xfs_iunlink() local1979 agi = XFS_BUF_TO_AGI(agibp); in xfs_iunlink()1988 ASSERT(agi->agi_unlinked[bucket_index]); in xfs_iunlink()1989 ASSERT(be32_to_cpu(agi->agi_unlinked[bucket_index]) != agino); in xfs_iunlink()1991 if (agi->agi_unlinked[bucket_index] != cpu_to_be32(NULLAGINO)) { in xfs_iunlink()2004 dip->di_next_unlinked = agi->agi_unlinked[bucket_index]; in xfs_iunlink()2021 agi->agi_unlinked[bucket_index] = cpu_to_be32(agino); in xfs_iunlink()2040 xfs_agi_t *agi; in xfs_iunlink_remove() local2064 agi = XFS_BUF_TO_AGI(agibp); in xfs_iunlink_remove()2073 ASSERT(agi->agi_unlinked[bucket_index] != cpu_to_be32(NULLAGINO)); in xfs_iunlink_remove()[all …]
3965 xfs_agi_t *agi; in xlog_recover_clear_agi_bucket() local3979 agi = XFS_BUF_TO_AGI(agibp); in xlog_recover_clear_agi_bucket()3980 agi->agi_unlinked[bucket] = cpu_to_be32(NULLAGINO); in xlog_recover_clear_agi_bucket()4073 xfs_agi_t *agi; in xlog_recover_process_iunlinks() local4111 agi = XFS_BUF_TO_AGI(agibp); in xlog_recover_process_iunlinks()4115 agino = be32_to_cpu(agi->agi_unlinked[bucket]); in xlog_recover_process_iunlinks()4793 struct xfs_agi *agi = XFS_BUF_TO_AGI(agibp); in xlog_recover_check_summary() local4795 itotal += be32_to_cpu(agi->agi_count); in xlog_recover_check_summary()4796 ifree += be32_to_cpu(agi->agi_freecount); in xlog_recover_check_summary()