Lines Matching refs:agf
40 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_refcountbt_set_root() local
41 xfs_agnumber_t seqno = be32_to_cpu(agf->agf_seqno); in xfs_refcountbt_set_root()
46 agf->agf_refcount_root = ptr->s; in xfs_refcountbt_set_root()
47 be32_add_cpu(&agf->agf_refcount_level, inc); in xfs_refcountbt_set_root()
63 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_refcountbt_alloc_block() local
90 be32_add_cpu(&agf->agf_refcount_blocks, 1); in xfs_refcountbt_alloc_block()
107 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_refcountbt_free_block() local
115 be32_add_cpu(&agf->agf_refcount_blocks, -1); in xfs_refcountbt_free_block()
176 struct xfs_agf *agf = XFS_BUF_TO_AGF(cur->bc_private.a.agbp); in xfs_refcountbt_init_ptr_from_cur() local
178 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agf->agf_seqno)); in xfs_refcountbt_init_ptr_from_cur()
180 ptr->s = agf->agf_refcount_root; in xfs_refcountbt_init_ptr_from_cur()
326 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_refcountbt_init_cursor() local
340 cur->bc_nlevels = be32_to_cpu(agf->agf_refcount_level); in xfs_refcountbt_init_cursor()
413 struct xfs_agf *agf; in xfs_refcountbt_calc_reserves() local
426 agf = XFS_BUF_TO_AGF(agbp); in xfs_refcountbt_calc_reserves()
427 agblocks = be32_to_cpu(agf->agf_length); in xfs_refcountbt_calc_reserves()
428 tree_len = be32_to_cpu(agf->agf_refcount_blocks); in xfs_refcountbt_calc_reserves()