/linux-master/fs/xfs/scrub/ |
H A D | iscan.c | 87 struct xfs_buf *agi_bp, 116 cur = xfs_inobt_init_cursor(pag, tp, agi_bp); 267 struct xfs_buf *agi_bp; local 284 ret = xfs_ialloc_read_agi(pag, sc->tp, &agi_bp); 289 ret = xchk_iscan_find_next(iscan, agi_bp, pag, allocmaskp, 301 *agi_bpp = agi_bp; 312 xfs_trans_brelse(sc->tp, agi_bp); 322 xfs_trans_brelse(sc->tp, agi_bp); 378 struct xfs_buf *agi_bp, 398 xfs_trans_brelse(sc->tp, agi_bp); 85 xchk_iscan_find_next( struct xchk_iscan *iscan, struct xfs_buf *agi_bp, struct xfs_perag *pag, xfs_inofree_t *allocmaskp, xfs_agino_t *cursor, uint8_t *nr_inodesp) argument 375 xchk_iscan_iget( struct xchk_iscan *iscan, struct xfs_perag *pag, struct xfs_buf *agi_bp, xfs_inofree_t allocmask, uint8_t nr_inodes) argument 522 struct xfs_buf *agi_bp = NULL; local [all...] |
H A D | agheader_repair.c | 841 struct xfs_buf *agi_bp, 844 struct xfs_agi *agi = agi_bp->b_addr; 849 memset(agi, 0, BBTOB(agi_bp->b_length)); 888 struct xfs_buf *agi_bp) 891 struct xfs_agi *agi = agi_bp->b_addr; 897 cur = xfs_inobt_init_cursor(sc->sa.pag, sc->tp, agi_bp); 917 cur = xfs_finobt_init_cursor(sc->sa.pag, sc->tp, agi_bp); 935 struct xfs_buf *agi_bp) 938 struct xfs_agi *agi = agi_bp->b_addr; 944 xfs_trans_buf_set_type(sc->tp, agi_bp, XFS_BLFT_AGI_BU 839 xrep_agi_init_header( struct xfs_scrub *sc, struct xfs_buf *agi_bp, struct xfs_agi *old_agi) argument 886 xrep_agi_calc_from_btrees( struct xfs_scrub *sc, struct xfs_buf *agi_bp) argument 933 xrep_agi_commit_new( struct xfs_scrub *sc, struct xfs_buf *agi_bp) argument 978 struct xfs_buf *agi_bp; local [all...] |
H A D | agheader.c | 797 struct xfs_agi *agi = sc->sa.agi_bp->b_addr; 810 xchk_block_xref_set_corrupt(sc, sc->sa.agi_bp); 818 struct xfs_agi *agi = sc->sa.agi_bp->b_addr; 830 xchk_block_xref_set_corrupt(sc, sc->sa.agi_bp); 838 xchk_block_xref_set_corrupt(sc, sc->sa.agi_bp); 891 xchk_buffer_recheck(sc, sc->sa.agi_bp); 893 agi = sc->sa.agi_bp->b_addr; 899 xchk_block_set_corrupt(sc, sc->sa.agi_bp); 904 xchk_block_set_corrupt(sc, sc->sa.agi_bp); 908 xchk_block_set_corrupt(sc, sc->sa.agi_bp); [all...] |
H A D | fscounters.c | 74 struct xfs_buf *agi_bp = NULL; local 88 error = xfs_ialloc_read_agi(pag, sc->tp, &agi_bp); 107 xfs_buf_relse(agi_bp); 108 agi_bp = NULL; 113 if (agi_bp) 114 xfs_buf_relse(agi_bp);
|
H A D | common.c | 448 error = xfs_ialloc_read_agi(sa->pag, sc->tp, &sa->agi_bp); 471 ASSERT(sa->agi_bp == NULL); 521 if (sa->agi_bp) { 522 xfs_trans_brelse(sc->tp, sa->agi_bp); 523 sa->agi_bp = NULL; 621 if (sa->agi_bp) { 624 sa->agi_bp); 631 sa->agi_bp); 650 if (sa->agi_bp) { 651 xfs_trans_brelse(sc->tp, sa->agi_bp); 935 struct xfs_buf *agi_bp; local [all...] |
H A D | repair.c | 156 if (sc->sa.agi_bp) { 157 xfs_ialloc_log_agi(sc->tp, sc->sa.agi_bp, XFS_AGI_MAGICNUM); 158 xfs_trans_bhold(sc->tp, sc->sa.agi_bp); 177 if (sc->sa.agi_bp) 178 xfs_trans_bjoin(sc->tp, sc->sa.agi_bp); 211 if (sc->sa.agi_bp) { 212 xfs_ialloc_log_agi(sc->tp, sc->sa.agi_bp, XFS_AGI_MAGICNUM); 213 xfs_trans_bhold(sc->tp, sc->sa.agi_bp); 237 if (sc->sa.agi_bp) 238 xfs_trans_bhold_release(sc->tp, sc->sa.agi_bp); [all...] |
H A D | nlinks.c | 660 struct xfs_buf *agi_bp; local 671 error = xchk_iget_agi(xnc->sc, ino, &agi_bp, &ip); 686 if (agi_bp == NULL) { 687 ASSERT(agi_bp != NULL); 717 if (agi_bp) 718 xfs_trans_brelse(tp, agi_bp);
|
H A D | inode.c | 80 struct xfs_buf *agi_bp; local 138 error = xchk_iget_agi(sc, sc->sm->sm_ino, &agi_bp, &ip); 150 if (agi_bp == NULL) { 151 ASSERT(agi_bp != NULL);
|
H A D | scrub.h | 59 struct xfs_buf *agi_bp; member in struct:xchk_ag
|
H A D | ialloc_repair.c | 502 struct xfs_agi *agi = sc->sa.agi_bp->b_addr; 514 xfs_ialloc_log_agi(sc->tp, sc->sa.agi_bp, 730 xfs_inobt_commit_staged_btree(ino_cur, sc->tp, sc->sa.agi_bp); 734 xfs_inobt_commit_staged_btree(fino_cur, sc->tp, sc->sa.agi_bp);
|
H A D | rmap.c | 459 cur = xfs_inobt_init_cursor(sc->sa.pag, sc->tp, sc->sa.agi_bp); 470 sc->sa.agi_bp);
|
H A D | rmap_repair.c | 709 struct xfs_agi *agi = sc->sa.agi_bp->b_addr; 905 sa->agi_bp = NULL;
|
/linux-master/fs/xfs/ |
H A D | xfs_iwalk.c | 403 struct xfs_buf *agi_bp = NULL; local 412 error = xfs_iwalk_ag_start(iwag, agino, &cur, &agi_bp, &has_more); 471 error = xfs_iwalk_run_callbacks(iwag, &cur, &agi_bp, &has_more); 478 error = xfs_iwalk_run_callbacks(iwag, &cur, &agi_bp, &has_more); 481 xfs_iwalk_del_inobt(iwag->tp, &cur, &agi_bp, error);
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_ag.c | 1114 struct xfs_buf *agi_bp; local 1122 error = xfs_ialloc_read_agi(pag, NULL, &agi_bp); 1133 agi = agi_bp->b_addr; 1149 xfs_buf_relse(agi_bp);
|