Home
last modified time | relevance | path

Searched refs:agf_bp (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/fs/xfs/scrub/
Dagheader_repair.c144 struct xfs_buf *agf_bp, in xrep_agf_find_btrees() argument
148 struct xfs_agf *old_agf = XFS_BUF_TO_AGF(agf_bp); in xrep_agf_find_btrees()
152 error = xrep_find_ag_btree_roots(sc, agf_bp, fab, agfl_bp); in xrep_agf_find_btrees()
185 struct xfs_buf *agf_bp, in xrep_agf_init_header() argument
189 struct xfs_agf *agf = XFS_BUF_TO_AGF(agf_bp); in xrep_agf_init_header()
192 memset(agf, 0, BBTOB(agf_bp->b_length)); in xrep_agf_init_header()
242 struct xfs_buf *agf_bp) in xrep_agf_calc_from_btrees() argument
246 struct xfs_agf *agf = XFS_BUF_TO_AGF(agf_bp); in xrep_agf_calc_from_btrees()
253 cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno, in xrep_agf_calc_from_btrees()
267 cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno, in xrep_agf_calc_from_btrees()
[all …]
Drepair.c133 if (sc->sa.agf_bp) in xrep_roll_ag_trans()
134 xfs_trans_bhold(sc->tp, sc->sa.agf_bp); in xrep_roll_ag_trans()
146 if (sc->sa.agf_bp) in xrep_roll_ag_trans()
147 xfs_trans_bjoin(sc->tp, sc->sa.agf_bp); in xrep_roll_ag_trans()
161 if (sc->sa.agf_bp) in xrep_roll_ag_trans()
162 xfs_trans_bhold_release(sc->tp, sc->sa.agf_bp); in xrep_roll_ag_trans()
312 error = xfs_alloc_get_freelist(sc->tp, sc->sa.agf_bp, &bno, 1); in xrep_alloc_ag_block()
520 error = xfs_rmap_alloc(sc->tp, sc->sa.agf_bp, sc->sa.agno, agbno, 1, in xrep_put_freelist()
526 error = xfs_alloc_put_freelist(sc->tp, sc->sa.agf_bp, sc->sa.agfl_bp, in xrep_put_freelist()
545 struct xfs_buf *agf_bp = NULL; in xrep_reap_block() local
[all …]
Dagheader.c370 struct xfs_agf *agf = XFS_BUF_TO_AGF(sc->sa.agf_bp); in xchk_agf_xref_freeblks()
382 xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp); in xchk_agf_xref_freeblks()
390 struct xfs_agf *agf = XFS_BUF_TO_AGF(sc->sa.agf_bp); in xchk_agf_xref_cntbt()
405 xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp); in xchk_agf_xref_cntbt()
414 xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp); in xchk_agf_xref_cntbt()
422 struct xfs_agf *agf = XFS_BUF_TO_AGF(sc->sa.agf_bp); in xchk_agf_xref_btreeblks()
435 xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp); in xchk_agf_xref_btreeblks()
460 xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp); in xchk_agf_xref_btreeblks()
468 struct xfs_agf *agf = XFS_BUF_TO_AGF(sc->sa.agf_bp); in xchk_agf_xref_refcblks()
479 xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp); in xchk_agf_xref_refcblks()
[all …]
Dcommon.c461 if (sa->agf_bp) { in xchk_ag_btcur_init()
463 sa->bno_cur = xfs_allocbt_init_cursor(mp, sc->tp, sa->agf_bp, in xchk_ag_btcur_init()
469 sa->cnt_cur = xfs_allocbt_init_cursor(mp, sc->tp, sa->agf_bp, in xchk_ag_btcur_init()
492 if (sa->agf_bp && xfs_sb_version_hasrmapbt(&mp->m_sb)) { in xchk_ag_btcur_init()
493 sa->rmap_cur = xfs_rmapbt_init_cursor(mp, sc->tp, sa->agf_bp, in xchk_ag_btcur_init()
500 if (sa->agf_bp && xfs_sb_version_hasreflink(&mp->m_sb)) { in xchk_ag_btcur_init()
502 sa->agf_bp, agno); in xchk_ag_btcur_init()
523 if (sa->agf_bp) { in xchk_ag_free()
524 xfs_trans_brelse(sc->tp, sa->agf_bp); in xchk_ag_free()
525 sa->agf_bp = NULL; in xchk_ag_free()
[all …]
Drepair.h52 int xrep_find_ag_btree_roots(struct xfs_scrub *sc, struct xfs_buf *agf_bp,
Dscrub.h43 struct xfs_buf *agf_bp; member
/linux-4.19.296/fs/xfs/
Dxfs_fsmap.c163 struct xfs_buf *agf_bp; /* AGF, for refcount queries */ member
216 cur = xfs_refcountbt_init_cursor(mp, tp, info->agf_bp, in xfs_getfsmap_is_shared()
629 xfs_trans_brelse(tp, info->agf_bp); in __xfs_getfsmap_datadev()
630 info->agf_bp = NULL; in __xfs_getfsmap_datadev()
634 &info->agf_bp); in __xfs_getfsmap_datadev()
668 if (info->agf_bp) { in __xfs_getfsmap_datadev()
669 xfs_trans_brelse(tp, info->agf_bp); in __xfs_getfsmap_datadev()
670 info->agf_bp = NULL; in __xfs_getfsmap_datadev()
689 *curpp = xfs_rmapbt_init_cursor(tp->t_mountp, tp, info->agf_bp, in xfs_getfsmap_datadev_rmapbt_query()
722 *curpp = xfs_allocbt_init_cursor(tp->t_mountp, tp, info->agf_bp, in xfs_getfsmap_datadev_bnobt_query()