Lines Matching refs:agf
67 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_set_root() local
72 agf->agf_roots[btnum] = ptr->s; in xfs_rmapbt_set_root()
73 be32_add_cpu(&agf->agf_levels[btnum], inc); in xfs_rmapbt_set_root()
87 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_alloc_block() local
107 be32_add_cpu(&agf->agf_rmap_blocks, 1); in xfs_rmapbt_alloc_block()
122 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_free_block() local
130 be32_add_cpu(&agf->agf_rmap_blocks, -1); in xfs_rmapbt_free_block()
215 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_rmapbt_init_ptr_from_cur() local
217 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agf->agf_seqno)); in xfs_rmapbt_init_ptr_from_cur()
219 ptr->s = agf->agf_roots[cur->bc_btnum]; in xfs_rmapbt_init_ptr_from_cur()
478 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_init_cursor() local
482 cur->bc_nlevels = be32_to_cpu(agf->agf_levels[XFS_BTNUM_RMAP]); in xfs_rmapbt_init_cursor()
511 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_commit_staged_btree() local
516 agf->agf_roots[cur->bc_btnum] = cpu_to_be32(afake->af_root); in xfs_rmapbt_commit_staged_btree()
517 agf->agf_levels[cur->bc_btnum] = cpu_to_be32(afake->af_levels); in xfs_rmapbt_commit_staged_btree()
518 agf->agf_rmap_blocks = cpu_to_be32(afake->af_blocks); in xfs_rmapbt_commit_staged_btree()
647 struct xfs_agf *agf; in xfs_rmapbt_calc_reserves() local
659 agf = agbp->b_addr; in xfs_rmapbt_calc_reserves()
660 agblocks = be32_to_cpu(agf->agf_length); in xfs_rmapbt_calc_reserves()
661 tree_len = be32_to_cpu(agf->agf_rmap_blocks); in xfs_rmapbt_calc_reserves()