Searched refs:fab (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/fs/xfs/scrub/ |
D | agheader_repair.c | 123 struct xrep_find_ag_btree *fab) in xrep_check_btree_root() argument 128 return xfs_verify_agbno(mp, agno, fab->root) && in xrep_check_btree_root() 129 fab->height <= XFS_BTREE_MAXLEVELS; in xrep_check_btree_root() 145 struct xrep_find_ag_btree *fab, in xrep_agf_find_btrees() argument 152 error = xrep_find_ag_btree_roots(sc, agf_bp, fab, agfl_bp); in xrep_agf_find_btrees() 157 if (!xrep_check_btree_root(sc, &fab[XREP_AGF_BNOBT]) || in xrep_agf_find_btrees() 158 !xrep_check_btree_root(sc, &fab[XREP_AGF_CNTBT]) || in xrep_agf_find_btrees() 159 !xrep_check_btree_root(sc, &fab[XREP_AGF_RMAPBT])) in xrep_agf_find_btrees() 166 if (fab[XREP_AGF_RMAPBT].root != in xrep_agf_find_btrees() 172 !xrep_check_btree_root(sc, &fab[XREP_AGF_REFCOUNTBT])) in xrep_agf_find_btrees() [all …]
|
D | repair.c | 692 struct xrep_find_ag_btree *fab, in xrep_findroot_block() argument 731 if (be32_to_cpu(btblock->bb_magic) != fab->magic) in xrep_findroot_block() 736 bp->b_ops = fab->buf_ops; in xrep_findroot_block() 739 if (fab->root != NULLAGBLOCK && in xrep_findroot_block() 740 xfs_btree_get_level(btblock) < fab->height) in xrep_findroot_block() 747 fab->root = agbno; in xrep_findroot_block() 748 fab->height = xfs_btree_get_level(btblock) + 1; in xrep_findroot_block() 752 be32_to_cpu(btblock->bb_magic), fab->height - 1); in xrep_findroot_block() 769 struct xrep_find_ag_btree *fab; in xrep_findroot_rmap() local 781 for (fab = ri->btree_info; fab->buf_ops; fab++) { in xrep_findroot_rmap() [all …]
|