Lines Matching refs:agf
40 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_set_root() local
45 agf->agf_roots[btnum] = ptr->s; in xfs_allocbt_set_root()
46 be32_add_cpu(&agf->agf_levels[btnum], inc); in xfs_allocbt_set_root()
114 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_allocbt_update_lastrec() local
133 be32_to_cpu(agf->agf_longest)) in xfs_allocbt_update_lastrec()
158 agf->agf_longest = len; in xfs_allocbt_update_lastrec()
225 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_allocbt_init_ptr_from_cur() local
227 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agf->agf_seqno)); in xfs_allocbt_init_ptr_from_cur()
229 ptr->s = agf->agf_roots[cur->bc_btnum]; in xfs_allocbt_init_ptr_from_cur()
516 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_init_cursor() local
521 cur->bc_nlevels = be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNT]); in xfs_allocbt_init_cursor()
523 cur->bc_nlevels = be32_to_cpu(agf->agf_levels[XFS_BTNUM_BNO]); in xfs_allocbt_init_cursor()
555 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_commit_staged_btree() local
560 agf->agf_roots[cur->bc_btnum] = cpu_to_be32(afake->af_root); in xfs_allocbt_commit_staged_btree()
561 agf->agf_levels[cur->bc_btnum] = cpu_to_be32(afake->af_levels); in xfs_allocbt_commit_staged_btree()