Home
last modified time | relevance | path

Searched refs:agi_bp (Results 1 – 10 of 10) sorted by relevance

/linux/fs/xfs/scrub/
H A Dagheader.c864 struct xfs_agi *agi = sc->sa.agi_bp->b_addr; in xchk_agi_xref_icounts()
877 xchk_block_xref_set_corrupt(sc, sc->sa.agi_bp); in xchk_agi_xref_icounts()
885 struct xfs_agi *agi = sc->sa.agi_bp->b_addr; in xchk_agi_xref_fiblocks()
897 xchk_block_xref_set_corrupt(sc, sc->sa.agi_bp); in xchk_agi_xref_fiblocks()
905 xchk_block_xref_set_corrupt(sc, sc->sa.agi_bp); in xchk_agi_xref_fiblocks()
952 xchk_block_set_corrupt(sc, sc->sa.agi_bp); in xchk_iunlink()
958 xchk_block_set_corrupt(sc, sc->sa.agi_bp); in xchk_iunlink()
963 xchk_block_set_corrupt(sc, sc->sa.agi_bp); in xchk_iunlink()
995 xchk_buffer_recheck(sc, sc->sa.agi_bp); in xchk_agi()
997 agi = sc->sa.agi_bp->b_addr; in xchk_agi()
[all …]
H A Dagheader_repair.c810 struct xfs_buf *agi_bp; member
894 struct xfs_buf *agi_bp = ragi->agi_bp; in xrep_agi_init_header() local
896 struct xfs_agi *agi = agi_bp->b_addr; in xrep_agi_init_header()
901 memset(agi, 0, BBTOB(agi_bp->b_length)); in xrep_agi_init_header()
922 struct xfs_agi *agi = ragi->agi_bp->b_addr; in xrep_agi_set_roots()
940 struct xfs_buf *agi_bp = ragi->agi_bp; in xrep_agi_calc_from_btrees() local
942 struct xfs_agi *agi = agi_bp->b_addr; in xrep_agi_calc_from_btrees()
948 cur = xfs_inobt_init_cursor(sc->sa.pag, sc->tp, agi_bp); in xrep_agi_calc_from_btrees()
968 cur = xfs_finobt_init_cursor(sc->sa.pag, sc->tp, agi_bp); in xrep_agi_calc_from_btrees()
1084 struct xfs_agi *agi = sc->sa.agi_bp->b_addr; in xrep_iunlink_walk_ondisk_bucket()
[all …]
H A Dfscounters.c75 struct xfs_buf *agi_bp = NULL; in xchk_fscount_warmup() local
88 error = xfs_ialloc_read_agi(pag, sc->tp, 0, &agi_bp); in xchk_fscount_warmup()
107 xfs_buf_relse(agi_bp); in xchk_fscount_warmup()
108 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()
H A Dnlinks.c808 struct xfs_buf *agi_bp; in xchk_nlinks_compare_inum() local
819 error = xchk_iget_agi(xnc->sc, ino, &agi_bp, &ip); in xchk_nlinks_compare_inum()
834 if (agi_bp == NULL) { in xchk_nlinks_compare_inum()
835 ASSERT(agi_bp != NULL); in xchk_nlinks_compare_inum()
865 if (agi_bp) in xchk_nlinks_compare_inum()
866 xfs_trans_brelse(tp, agi_bp); in xchk_nlinks_compare_inum()
H A Dialloc_repair.c498 struct xfs_agi *agi = sc->sa.agi_bp->b_addr; in xrep_ibt_reset_counters()
510 xfs_ialloc_log_agi(sc->tp, sc->sa.agi_bp, in xrep_ibt_reset_counters()
723 xfs_inobt_commit_staged_btree(ino_cur, sc->tp, sc->sa.agi_bp); in xrep_ibt_build_new_trees()
727 xfs_inobt_commit_staged_btree(fino_cur, sc->tp, sc->sa.agi_bp); in xrep_ibt_build_new_trees()
H A Drmap.c459 cur = xfs_inobt_init_cursor(sc->sa.pag, sc->tp, sc->sa.agi_bp); in xchk_rmapbt_walk_ag_metadata()
470 sc->sa.agi_bp); in xchk_rmapbt_walk_ag_metadata()
H A Dscrub.h111 struct xfs_buf *agi_bp; member
H A Drmap_repair.c753 struct xfs_agi *agi = sc->sa.agi_bp->b_addr; in xrep_rmap_find_inode_rmaps()
949 sa->agi_bp = NULL; in xrep_rmap_find_rmaps()
/linux/fs/xfs/
H A Dxfs_iwalk.c398 struct xfs_buf *agi_bp = NULL; in xfs_iwalk_ag() local
407 error = xfs_iwalk_ag_start(iwag, agino, &cur, &agi_bp, &has_more); in xfs_iwalk_ag()
466 error = xfs_iwalk_run_callbacks(iwag, &cur, &agi_bp, &has_more); in xfs_iwalk_ag()
473 error = xfs_iwalk_run_callbacks(iwag, &cur, &agi_bp, &has_more); in xfs_iwalk_ag()
476 xfs_iwalk_del_inobt(iwag->tp, &cur, &agi_bp, error); in xfs_iwalk_ag()
/linux/fs/xfs/libxfs/
H A Dxfs_ag.c960 struct xfs_buf *agi_bp; in xfs_ag_get_geometry() local
968 error = xfs_ialloc_read_agi(pag, NULL, 0, &agi_bp); in xfs_ag_get_geometry()
979 agi = agi_bp->b_addr; in xfs_ag_get_geometry()
995 xfs_buf_relse(agi_bp); in xfs_ag_get_geometry()