| /Linux-v5.4/fs/xfs/scrub/ |
| D | fscounters.c | 67 struct xfs_buf *agi_bp = NULL; in xchk_fscount_warmup() local 80 error = xfs_ialloc_read_agi(mp, sc->tp, agno, &agi_bp); in xchk_fscount_warmup() 87 if (!agf_bp || !agi_bp) in xchk_fscount_warmup() 100 xfs_buf_relse(agi_bp); in xchk_fscount_warmup() 101 agi_bp = NULL; in xchk_fscount_warmup() 113 if (agi_bp) in xchk_fscount_warmup() 114 xfs_buf_relse(agi_bp); in xchk_fscount_warmup()
|
| D | agheader_repair.c | 765 struct xfs_buf *agi_bp, in xrep_agi_init_header() argument 768 struct xfs_agi *agi = XFS_BUF_TO_AGI(agi_bp); in xrep_agi_init_header() 772 memset(agi, 0, BBTOB(agi_bp->b_length)); in xrep_agi_init_header() 811 struct xfs_buf *agi_bp) in xrep_agi_calc_from_btrees() argument 814 struct xfs_agi *agi = XFS_BUF_TO_AGI(agi_bp); in xrep_agi_calc_from_btrees() 820 cur = xfs_inobt_init_cursor(mp, sc->tp, agi_bp, sc->sa.agno, in xrep_agi_calc_from_btrees() 839 struct xfs_buf *agi_bp) in xrep_agi_commit_new() argument 842 struct xfs_agi *agi = XFS_BUF_TO_AGI(agi_bp); in xrep_agi_commit_new() 848 xfs_trans_buf_set_type(sc->tp, agi_bp, XFS_BLFT_AGI_BUF); in xrep_agi_commit_new() 849 xfs_trans_log_buf(sc->tp, agi_bp, 0, BBTOB(agi_bp->b_length) - 1); in xrep_agi_commit_new() [all …]
|
| D | agheader.c | 522 error = xchk_ag_read_headers(sc, agno, &sc->sa.agi_bp, in xchk_agf() 700 error = xchk_ag_read_headers(sc, agno, &sc->sa.agi_bp, in xchk_agfl() 768 struct xfs_agi *agi = XFS_BUF_TO_AGI(sc->sa.agi_bp); in xchk_agi_xref_icounts() 781 xchk_block_xref_set_corrupt(sc, sc->sa.agi_bp); in xchk_agi_xref_icounts() 831 error = xchk_ag_read_headers(sc, agno, &sc->sa.agi_bp, in xchk_agi() 835 xchk_buffer_recheck(sc, sc->sa.agi_bp); in xchk_agi() 837 agi = XFS_BUF_TO_AGI(sc->sa.agi_bp); in xchk_agi() 842 xchk_block_set_corrupt(sc, sc->sa.agi_bp); in xchk_agi() 847 xchk_block_set_corrupt(sc, sc->sa.agi_bp); in xchk_agi() 851 xchk_block_set_corrupt(sc, sc->sa.agi_bp); in xchk_agi() [all …]
|
| D | common.c | 483 if (sa->agi_bp && in xchk_ag_btcur_init() 485 sa->ino_cur = xfs_inobt_init_cursor(mp, sc->tp, sa->agi_bp, in xchk_ag_btcur_init() 492 if (sa->agi_bp && xfs_sb_version_hasfinobt(&mp->m_sb) && in xchk_ag_btcur_init() 494 sa->fino_cur = xfs_inobt_init_cursor(mp, sc->tp, sa->agi_bp, in xchk_ag_btcur_init() 538 if (sa->agi_bp) { in xchk_ag_free() 539 xfs_trans_brelse(sc->tp, sa->agi_bp); in xchk_ag_free() 540 sa->agi_bp = NULL; in xchk_ag_free() 565 error = xchk_ag_read_headers(sc, agno, &sa->agi_bp, in xchk_ag_init()
|
| D | repair.c | 124 if (sc->sa.agi_bp) in xrep_roll_ag_trans() 125 xfs_trans_bhold(sc->tp, sc->sa.agi_bp); in xrep_roll_ag_trans() 143 if (sc->sa.agi_bp) in xrep_roll_ag_trans() 144 xfs_trans_bjoin(sc->tp, sc->sa.agi_bp); in xrep_roll_ag_trans()
|
| D | scrub.h | 45 struct xfs_buf *agi_bp; member
|
| /Linux-v5.4/fs/xfs/ |
| D | xfs_iwalk.c | 384 struct xfs_buf *agi_bp = NULL; in xfs_iwalk_ag() local 394 error = xfs_iwalk_ag_start(iwag, agno, agino, &cur, &agi_bp, &has_more); in xfs_iwalk_ag() 442 error = xfs_iwalk_run_callbacks(iwag, agno, &cur, &agi_bp, in xfs_iwalk_ag() 450 error = xfs_iwalk_run_callbacks(iwag, agno, &cur, &agi_bp, &has_more); in xfs_iwalk_ag() 453 xfs_iwalk_del_inobt(tp, &cur, &agi_bp, error); in xfs_iwalk_ag()
|
| /Linux-v5.4/fs/xfs/libxfs/ |
| D | xfs_ag.c | 545 struct xfs_buf *agi_bp; in xfs_ag_get_geometry() local 557 error = xfs_ialloc_read_agi(mp, NULL, agno, &agi_bp); in xfs_ag_get_geometry() 569 agi = XFS_BUF_TO_AGI(agi_bp); in xfs_ag_get_geometry() 586 xfs_buf_relse(agi_bp); in xfs_ag_get_geometry()
|