Searched refs:agi (Results 1 – 6 of 6) sorted by relevance
116 struct xfs_agi *agi) in xfs_check_agi_freecount() argument142 ASSERT(freecount == be32_to_cpu(agi->agi_freecount)); in xfs_check_agi_freecount()147 #define xfs_check_agi_freecount(cur, agi) 0 argument241 xfs_agi_t *agi; /* allocation group header */ in xfs_ialloc_ag_alloc() local271 agi = XFS_BUF_TO_AGI(agbp); in xfs_ialloc_ag_alloc()272 newino = be32_to_cpu(agi->agi_newino); in xfs_ialloc_ag_alloc()273 agno = be32_to_cpu(agi->agi_seqno); in xfs_ialloc_ag_alloc()277 (args.agbno < be32_to_cpu(agi->agi_length)))) { in xfs_ialloc_ag_alloc()328 args.agbno = be32_to_cpu(agi->agi_root); in xfs_ialloc_ag_alloc()351 args.agbno = be32_to_cpu(agi->agi_root); in xfs_ialloc_ag_alloc()[all …]
124 xfs_agi_t *agi; in xfs_growfs_data_private() local229 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()[all …]
63 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_inobt_set_root() local65 agi->agi_root = nptr->s; in xfs_inobt_set_root()66 be32_add_cpu(&agi->agi_level, inc); in xfs_inobt_set_root()170 struct xfs_agi *agi = XFS_BUF_TO_AGI(cur->bc_private.a.agbp); in xfs_inobt_init_ptr_from_cur() local172 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agi->agi_seqno)); in xfs_inobt_init_ptr_from_cur()174 ptr->s = agi->agi_root; in xfs_inobt_init_ptr_from_cur()313 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_inobt_init_cursor() local320 cur->bc_nlevels = be32_to_cpu(agi->agi_level); in xfs_inobt_init_cursor()
204 xfs_agi_t *agi; /* agi header data */ in xfs_bulkstat() local284 agi = XFS_BUF_TO_AGI(agbp); in xfs_bulkstat()368 be32_to_cpu(agi->agi_length)) in xfs_bulkstat()
1687 xfs_agi_t *agi; in xfs_iunlink() local1709 agi = XFS_BUF_TO_AGI(agibp); in xfs_iunlink()1718 ASSERT(agi->agi_unlinked[bucket_index]); in xfs_iunlink()1719 ASSERT(be32_to_cpu(agi->agi_unlinked[bucket_index]) != agino); in xfs_iunlink()1721 if (be32_to_cpu(agi->agi_unlinked[bucket_index]) != NULLAGINO) { in xfs_iunlink()1734 dip->di_next_unlinked = agi->agi_unlinked[bucket_index]; in xfs_iunlink()1747 agi->agi_unlinked[bucket_index] = cpu_to_be32(agino); in xfs_iunlink()1765 xfs_agi_t *agi; in xfs_iunlink_remove() local1789 agi = XFS_BUF_TO_AGI(agibp); in xfs_iunlink_remove()1798 ASSERT(be32_to_cpu(agi->agi_unlinked[bucket_index]) != NULLAGINO); in xfs_iunlink_remove()[all …]
3004 xfs_agi_t *agi; in xlog_recover_clear_agi_bucket() local3019 agi = XFS_BUF_TO_AGI(agibp); in xlog_recover_clear_agi_bucket()3020 agi->agi_unlinked[bucket] = cpu_to_be32(NULLAGINO); in xlog_recover_clear_agi_bucket()3112 xfs_agi_t *agi; in xlog_recover_process_iunlinks() local3141 agi = XFS_BUF_TO_AGI(agibp); in xlog_recover_process_iunlinks()3144 agino = be32_to_cpu(agi->agi_unlinked[bucket]); in xlog_recover_process_iunlinks()3163 agi = XFS_BUF_TO_AGI(agibp); in xlog_recover_process_iunlinks()3845 struct xfs_agi *agi = XFS_BUF_TO_AGI(agibp); in xlog_recover_check_summary() local3847 itotal += be32_to_cpu(agi->agi_count); in xlog_recover_check_summary()3848 ifree += be32_to_cpu(agi->agi_freecount); in xlog_recover_check_summary()