Lines Matching refs:agf
38 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_refcountbt_set_root() local
39 xfs_agnumber_t seqno = be32_to_cpu(agf->agf_seqno); in xfs_refcountbt_set_root()
44 agf->agf_refcount_root = ptr->s; in xfs_refcountbt_set_root()
45 be32_add_cpu(&agf->agf_refcount_level, inc); in xfs_refcountbt_set_root()
61 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_refcountbt_alloc_block() local
88 be32_add_cpu(&agf->agf_refcount_blocks, 1); in xfs_refcountbt_alloc_block()
105 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_refcountbt_free_block() local
111 be32_add_cpu(&agf->agf_refcount_blocks, -1); in xfs_refcountbt_free_block()
172 struct xfs_agf *agf = XFS_BUF_TO_AGF(cur->bc_private.a.agbp); in xfs_refcountbt_init_ptr_from_cur() local
174 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agf->agf_seqno)); in xfs_refcountbt_init_ptr_from_cur()
176 ptr->s = agf->agf_refcount_root; in xfs_refcountbt_init_ptr_from_cur()
323 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_refcountbt_init_cursor() local
337 cur->bc_nlevels = be32_to_cpu(agf->agf_refcount_level); in xfs_refcountbt_init_cursor()
410 struct xfs_agf *agf; in xfs_refcountbt_calc_reserves() local
423 agf = XFS_BUF_TO_AGF(agbp); in xfs_refcountbt_calc_reserves()
424 agblocks = be32_to_cpu(agf->agf_length); in xfs_refcountbt_calc_reserves()
425 tree_len = be32_to_cpu(agf->agf_refcount_blocks); in xfs_refcountbt_calc_reserves()