Lines Matching refs:agi
61 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_inobt_set_root() local
63 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() local
77 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() local
193 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
205 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agi->agi_seqno)); in xfs_finobt_init_ptr_from_cur()
206 ptr->s = agi->agi_free_root; in xfs_finobt_init_ptr_from_cur()
389 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_inobt_init_cursor() local
398 cur->bc_nlevels = be32_to_cpu(agi->agi_level); in xfs_inobt_init_cursor()
401 cur->bc_nlevels = be32_to_cpu(agi->agi_free_level); in xfs_inobt_init_cursor()