Searched refs:agf_bp (Results 1 - 15 of 15) sorted by relevance

/linux-master/fs/xfs/scrub/
H A Dagheader_repair.c155 struct xfs_buf *agf_bp,
159 struct xfs_agf *old_agf = agf_bp->b_addr;
163 error = xrep_find_ag_btree_roots(sc, agf_bp, fab, agfl_bp);
195 struct xfs_buf *agf_bp,
200 struct xfs_agf *agf = agf_bp->b_addr;
203 memset(agf, 0, BBTOB(agf_bp->b_length));
247 struct xfs_buf *agf_bp)
251 struct xfs_agf *agf = agf_bp->b_addr;
258 cur = xfs_bnobt_init_cursor(mp, sc->tp, agf_bp, sc->sa.pag);
271 cur = xfs_cntbt_init_cursor(mp, sc->tp, agf_bp, s
153 xrep_agf_find_btrees( struct xfs_scrub *sc, struct xfs_buf *agf_bp, struct xrep_find_ag_btree *fab, struct xfs_buf *agfl_bp) argument
193 xrep_agf_init_header( struct xfs_scrub *sc, struct xfs_buf *agf_bp, struct xfs_agf *old_agf) argument
245 xrep_agf_calc_from_btrees( struct xfs_scrub *sc, struct xfs_buf *agf_bp) argument
308 xrep_agf_commit_new( struct xfs_scrub *sc, struct xfs_buf *agf_bp) argument
368 struct xfs_buf *agf_bp; local
526 xrep_agfl_collect_blocks( struct xfs_scrub *sc, struct xfs_buf *agf_bp, struct xagb_bitmap *agfl_extents, xfs_agblock_t *flcount) argument
596 xrep_agfl_update_agf( struct xfs_scrub *sc, struct xfs_buf *agf_bp, xfs_agblock_t flcount) argument
714 struct xfs_buf *agf_bp; local
808 struct xfs_buf *agf_bp; local
[all...]
H A Dagheader.c383 struct xfs_agf *agf = sc->sa.agf_bp->b_addr;
395 xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp);
403 struct xfs_agf *agf = sc->sa.agf_bp->b_addr;
418 xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp);
427 xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp);
435 struct xfs_agf *agf = sc->sa.agf_bp->b_addr;
452 xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp);
477 xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp);
485 struct xfs_agf *agf = sc->sa.agf_bp->b_addr;
496 xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp);
[all...]
H A Drepair.c161 if (sc->sa.agf_bp) {
162 xfs_alloc_log_agf(sc->tp, sc->sa.agf_bp, XFS_AGF_MAGICNUM);
163 xfs_trans_bhold(sc->tp, sc->sa.agf_bp);
179 if (sc->sa.agf_bp)
180 xfs_trans_bjoin(sc->tp, sc->sa.agf_bp);
216 if (sc->sa.agf_bp) {
217 xfs_alloc_log_agf(sc->tp, sc->sa.agf_bp, XFS_AGF_MAGICNUM);
218 xfs_trans_bhold(sc->tp, sc->sa.agf_bp);
239 if (sc->sa.agf_bp)
240 xfs_trans_bhold_release(sc->tp, sc->sa.agf_bp);
658 xrep_find_ag_btree_roots( struct xfs_scrub *sc, struct xfs_buf *agf_bp, struct xrep_find_ag_btree *btree_info, struct xfs_buf *agfl_bp) argument
[all...]
H A Dreap.c126 error = xfs_rmap_alloc(sc->tp, sc->sa.agf_bp, sc->sa.pag, agbno, 1,
136 error = xfs_alloc_put_freelist(sc->sa.pag, sc->tp, sc->sa.agf_bp,
312 cur = xfs_rmapbt_init_cursor(sc->mp, sc->tp, sc->sa.agf_bp,
395 return xfs_rmap_free(sc->tp, sc->sa.agf_bp, sc->sa.pag, agbno,
568 error = xfs_alloc_read_agf(sc->sa.pag, sc->tp, 0, &sc->sa.agf_bp);
600 xfs_trans_bhold(sc->tp, sc->sa.agf_bp);
602 xfs_trans_bjoin(sc->tp, sc->sa.agf_bp);
612 xfs_trans_brelse(sc->tp, sc->sa.agf_bp);
613 sc->sa.agf_bp = NULL;
H A Dfscounters.c75 struct xfs_buf *agf_bp = NULL; local
91 error = xfs_alloc_read_agf(pag, sc->tp, 0, &agf_bp);
105 xfs_buf_relse(agf_bp);
106 agf_bp = NULL;
111 if (agf_bp)
112 xfs_buf_relse(agf_bp);
H A Dcommon.c452 error = xfs_alloc_read_agf(sa->pag, sc->tp, 0, &sa->agf_bp);
472 ASSERT(sa->agf_bp == NULL);
516 if (sa->agf_bp) {
517 xfs_trans_brelse(sc->tp, sa->agf_bp);
518 sa->agf_bp = NULL;
591 if (sa->agf_bp) {
593 sa->bno_cur = xfs_bnobt_init_cursor(mp, sc->tp, sa->agf_bp,
599 sa->cnt_cur = xfs_cntbt_init_cursor(mp, sc->tp, sa->agf_bp,
607 sa->agf_bp, sa->pag);
615 sa->agf_bp, s
[all...]
H A Drmap_repair.c904 sa->agf_bp = NULL;
952 sc->sa.bno_cur = xfs_bnobt_init_cursor(sc->mp, sc->tp, sc->sa.agf_bp,
1005 struct xfs_agf *agf = sc->sa.agf_bp->b_addr;
1037 sc->sa.bno_cur = xfs_bnobt_init_cursor(sc->mp, sc->tp, sc->sa.agf_bp,
1046 sc->sa.cnt_cur = xfs_cntbt_init_cursor(sc->mp, sc->tp, sc->sa.agf_bp,
1145 struct xfs_agf *agf = sc->sa.agf_bp->b_addr;
1154 xfs_alloc_log_agf(sc->tp, sc->sa.agf_bp, XFS_AGF_BTREEBLKS);
1295 struct xfs_agf *agf = sc->sa.agf_bp->b_addr;
1368 xfs_rmapbt_commit_staged_btree(rmap_cur, sc->tp, sc->sa.agf_bp);
1466 struct xfs_agf *agf = sc->sa.agf_bp
[all...]
H A Dalloc_repair.c367 struct xfs_agf *agf = sc->sa.agf_bp->b_addr;
653 struct xfs_agf *agf = sc->sa.agf_bp->b_addr;
675 xfs_alloc_log_agf(sc->tp, sc->sa.agf_bp, XFS_AGF_BTREEBLKS |
793 xfs_allocbt_commit_staged_btree(bno_cur, sc->tp, sc->sa.agf_bp);
795 xfs_allocbt_commit_staged_btree(cnt_cur, sc->tp, sc->sa.agf_bp);
H A Drmap.c402 struct xfs_agf *agf = sc->sa.agf_bp->b_addr;
424 cur = xfs_bnobt_init_cursor(sc->mp, sc->tp, sc->sa.agf_bp,
434 cur = xfs_cntbt_init_cursor(sc->mp, sc->tp, sc->sa.agf_bp,
483 sc->sa.agf_bp, sc->sa.pag);
H A Drepair.h71 int xrep_find_ag_btree_roots(struct xfs_scrub *sc, struct xfs_buf *agf_bp,
H A Dscrub.h58 struct xfs_buf *agf_bp; member in struct:xchk_ag
H A Drefcount_repair.c649 xfs_refcountbt_commit_staged_btree(refc_cur, sc->tp, sc->sa.agf_bp);
/linux-master/fs/xfs/
H A Dxfs_notify_failure.c166 struct xfs_buf *agf_bp = NULL; local
200 error = xfs_alloc_read_agf(pag, tp, 0, &agf_bp);
206 cur = xfs_rmapbt_init_cursor(mp, tp, agf_bp, pag);
217 agf = agf_bp->b_addr;
226 xfs_trans_brelse(tp, agf_bp);
H A Dxfs_fsmap.c160 struct xfs_buf *agf_bp; /* AGF, for refcount queries */ member in struct:xfs_getfsmap_info
222 cur = xfs_refcountbt_init_cursor(mp, tp, info->agf_bp, info->pag);
664 xfs_trans_brelse(tp, info->agf_bp);
665 info->agf_bp = NULL;
668 error = xfs_alloc_read_agf(pag, tp, 0, &info->agf_bp);
705 if (info->agf_bp) {
706 xfs_trans_brelse(tp, info->agf_bp);
707 info->agf_bp = NULL;
733 *curpp = xfs_rmapbt_init_cursor(tp->t_mountp, tp, info->agf_bp,
766 *curpp = xfs_bnobt_init_cursor(tp->t_mountp, tp, info->agf_bp,
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_ag.c1115 struct xfs_buf *agf_bp; local
1125 error = xfs_alloc_read_agf(pag, NULL, 0, &agf_bp);
1137 agf = agf_bp->b_addr;
1147 xfs_buf_relse(agf_bp);

Completed in 327 milliseconds