Lines Matching refs:agi
62 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_inobt_set_root() local
64 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() local
78 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() local
218 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
230 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agi->agi_seqno)); in xfs_finobt_init_ptr_from_cur()
231 ptr->s = agi->agi_free_root; in xfs_finobt_init_ptr_from_cur()
400 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_inobt_init_cursor() local
409 cur->bc_nlevels = be32_to_cpu(agi->agi_level); in xfs_inobt_init_cursor()
413 cur->bc_nlevels = be32_to_cpu(agi->agi_free_level); in xfs_inobt_init_cursor()