Searched refs:agi_bp (Results 1 – 5 of 5) sorted by relevance
/linux-4.19.296/fs/xfs/scrub/ |
D | agheader_repair.c | 775 struct xfs_buf *agi_bp, in xrep_agi_init_header() argument 778 struct xfs_agi *agi = XFS_BUF_TO_AGI(agi_bp); in xrep_agi_init_header() 782 memset(agi, 0, BBTOB(agi_bp->b_length)); in xrep_agi_init_header() 821 struct xfs_buf *agi_bp) in xrep_agi_calc_from_btrees() argument 824 struct xfs_agi *agi = XFS_BUF_TO_AGI(agi_bp); in xrep_agi_calc_from_btrees() 830 cur = xfs_inobt_init_cursor(mp, sc->tp, agi_bp, sc->sa.agno, in xrep_agi_calc_from_btrees() 849 struct xfs_buf *agi_bp) in xrep_agi_commit_new() argument 852 struct xfs_agi *agi = XFS_BUF_TO_AGI(agi_bp); in xrep_agi_commit_new() 858 xfs_trans_buf_set_type(sc->tp, agi_bp, XFS_BLFT_AGI_BUF); in xrep_agi_commit_new() 859 xfs_trans_log_buf(sc->tp, agi_bp, 0, BBTOB(agi_bp->b_length) - 1); in xrep_agi_commit_new() [all …]
|
D | agheader.c | 532 error = xchk_ag_read_headers(sc, agno, &sc->sa.agi_bp, in xchk_agf() 704 error = xchk_ag_read_headers(sc, agno, &sc->sa.agi_bp, in xchk_agfl() 773 struct xfs_agi *agi = XFS_BUF_TO_AGI(sc->sa.agi_bp); in xchk_agi_xref_icounts() 786 xchk_block_xref_set_corrupt(sc, sc->sa.agi_bp); in xchk_agi_xref_icounts() 837 error = xchk_ag_read_headers(sc, agno, &sc->sa.agi_bp, in xchk_agi() 841 xchk_buffer_recheck(sc, sc->sa.agi_bp); in xchk_agi() 843 agi = XFS_BUF_TO_AGI(sc->sa.agi_bp); in xchk_agi() 848 xchk_block_set_corrupt(sc, sc->sa.agi_bp); in xchk_agi() 853 xchk_block_set_corrupt(sc, sc->sa.agi_bp); in xchk_agi() 857 xchk_block_set_corrupt(sc, sc->sa.agi_bp); in xchk_agi() [all …]
|
D | common.c | 476 if (sa->agi_bp) { in xchk_ag_btcur_init() 477 sa->ino_cur = xfs_inobt_init_cursor(mp, sc->tp, sa->agi_bp, in xchk_ag_btcur_init() 484 if (sa->agi_bp && xfs_sb_version_hasfinobt(&mp->m_sb)) { in xchk_ag_btcur_init() 485 sa->fino_cur = xfs_inobt_init_cursor(mp, sc->tp, sa->agi_bp, in xchk_ag_btcur_init() 527 if (sa->agi_bp) { in xchk_ag_free() 528 xfs_trans_brelse(sc->tp, sa->agi_bp); in xchk_ag_free() 529 sa->agi_bp = NULL; in xchk_ag_free() 554 error = xchk_ag_read_headers(sc, agno, &sa->agi_bp, in xchk_ag_init()
|
D | repair.c | 131 if (sc->sa.agi_bp) in xrep_roll_ag_trans() 132 xfs_trans_bhold(sc->tp, sc->sa.agi_bp); in xrep_roll_ag_trans() 144 if (sc->sa.agi_bp) in xrep_roll_ag_trans() 145 xfs_trans_bjoin(sc->tp, sc->sa.agi_bp); in xrep_roll_ag_trans() 159 if (sc->sa.agi_bp) in xrep_roll_ag_trans() 160 xfs_trans_bhold_release(sc->tp, sc->sa.agi_bp); in xrep_roll_ag_trans()
|
D | scrub.h | 45 struct xfs_buf *agi_bp; member
|