Home
last modified time | relevance | path

Searched refs:XFS_BUF_TO_AGF (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/fs/xfs/libxfs/
Dxfs_refcount_btree.c38 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_refcountbt_set_root()
61 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_refcountbt_alloc_block()
105 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); 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()
323 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_refcountbt_init_cursor()
423 agf = XFS_BUF_TO_AGF(agbp); in xfs_refcountbt_calc_reserves()
Dxfs_rmap_btree.c64 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_rmapbt_set_root()
87 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_rmapbt_alloc_block()
124 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_rmapbt_free_block()
218 struct xfs_agf *agf = XFS_BUF_TO_AGF(cur->bc_private.a.agbp); in xfs_rmapbt_init_ptr_from_cur()
461 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_rmapbt_init_cursor()
572 agf = XFS_BUF_TO_AGF(agbp); in xfs_rmapbt_calc_reserves()
Dxfs_alloc_btree.c39 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_allocbt_set_root()
90 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_allocbt_free_block()
116 struct xfs_agf *agf = XFS_BUF_TO_AGF(cur->bc_private.a.agbp); in xfs_allocbt_update_lastrec()
229 struct xfs_agf *agf = XFS_BUF_TO_AGF(cur->bc_private.a.agbp); in xfs_allocbt_init_ptr_from_cur()
485 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_allocbt_init_cursor()
Dxfs_alloc.c680 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_alloc_update_counters()
736 (be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_flcount) <= in xfs_alloc_ag_vextent_small()
762 fbno < be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length), in xfs_alloc_ag_vextent_small()
958 be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length)); in xfs_alloc_ag_vextent_exact()
1256 ASSERT(ltbno + ltlen <= be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length)); in xfs_alloc_ag_vextent_near()
1455 ASSERT(ltnew + rlen <= be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length)); in xfs_alloc_ag_vextent_near()
1662 be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length), in xfs_alloc_ag_vextent_size()
2164 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_agfl_reset()
2409 agf = XFS_BUF_TO_AGF(agbp); in xfs_alloc_get_freelist()
2487 trace_xfs_agf(tp->t_mountp, XFS_BUF_TO_AGF(bp), fields, _RET_IP_); in xfs_alloc_log_agf()
[all …]
Dxfs_ag.c243 struct xfs_agf *agf = XFS_BUF_TO_AGF(bp); in xfs_agfblock_init()
515 agf = XFS_BUF_TO_AGF(bp); in xfs_ag_extend_space()
573 agf = XFS_BUF_TO_AGF(agf_bp); in xfs_ag_get_geometry()
Dxfs_format.h710 #define XFS_BUF_TO_AGF(bp) ((xfs_agf_t *)((bp)->b_addr)) macro
/Linux-v5.4/fs/xfs/scrub/
Dagheader_repair.c143 struct xfs_agf *old_agf = XFS_BUF_TO_AGF(agf_bp); in xrep_agf_find_btrees()
184 struct xfs_agf *agf = XFS_BUF_TO_AGF(agf_bp); in xrep_agf_init_header()
241 struct xfs_agf *agf = XFS_BUF_TO_AGF(agf_bp); in xrep_agf_calc_from_btrees()
305 struct xfs_agf *agf = XFS_BUF_TO_AGF(agf_bp); in xrep_agf_commit_new()
379 agf = XFS_BUF_TO_AGF(agf_bp); in xrep_agf()
398 error = xfs_agfl_walk(sc->mp, XFS_BUF_TO_AGF(agf_bp), agfl_bp, in xrep_agf()
553 struct xfs_agf *agf = XFS_BUF_TO_AGF(agf_bp); in xrep_agfl_update_agf()
Dagheader.c361 struct xfs_agf *agf = XFS_BUF_TO_AGF(sc->sa.agf_bp); in xchk_agf_xref_freeblks()
381 struct xfs_agf *agf = XFS_BUF_TO_AGF(sc->sa.agf_bp); in xchk_agf_xref_cntbt()
413 struct xfs_agf *agf = XFS_BUF_TO_AGF(sc->sa.agf_bp); in xchk_agf_xref_btreeblks()
459 struct xfs_agf *agf = XFS_BUF_TO_AGF(sc->sa.agf_bp); in xchk_agf_xref_refcblks()
528 agf = XFS_BUF_TO_AGF(sc->sa.agf_bp); in xchk_agf()
714 agf = XFS_BUF_TO_AGF(sc->sa.agf_bp); in xchk_agfl()
731 error = xfs_agfl_walk(sc->mp, XFS_BUF_TO_AGF(sc->sa.agf_bp), in xchk_agfl()
Drepair.c211 aglen = be32_to_cpu(XFS_BUF_TO_AGF(bp)->agf_length); in xrep_calc_ag_resblks()
212 freelen = be32_to_cpu(XFS_BUF_TO_AGF(bp)->agf_freeblks); in xrep_calc_ag_resblks()
880 ri.agf = XFS_BUF_TO_AGF(agf_bp); in xrep_find_ag_btree_roots()
/Linux-v5.4/fs/xfs/
Dxfs_discard.c56 be32_to_cpu(XFS_BUF_TO_AGF(agbp)->agf_longest), &i); in xfs_trim_extents()
74 ASSERT(flen <= be32_to_cpu(XFS_BUF_TO_AGF(agbp)->agf_longest)); in xfs_trim_extents()
Dxfs_log_recover.c5832 agfp = XFS_BUF_TO_AGF(agfbp); in xlog_recover_check_summary()