Lines Matching refs:fab

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()
213 struct xrep_find_ag_btree *fab) in xrep_agf_set_roots() argument
216 cpu_to_be32(fab[XREP_AGF_BNOBT].root); in xrep_agf_set_roots()
218 cpu_to_be32(fab[XREP_AGF_BNOBT].height); in xrep_agf_set_roots()
221 cpu_to_be32(fab[XREP_AGF_CNTBT].root); in xrep_agf_set_roots()
223 cpu_to_be32(fab[XREP_AGF_CNTBT].height); in xrep_agf_set_roots()
226 cpu_to_be32(fab[XREP_AGF_RMAPBT].root); in xrep_agf_set_roots()
228 cpu_to_be32(fab[XREP_AGF_RMAPBT].height); in xrep_agf_set_roots()
232 cpu_to_be32(fab[XREP_AGF_REFCOUNTBT].root); in xrep_agf_set_roots()
234 cpu_to_be32(fab[XREP_AGF_REFCOUNTBT].height); in xrep_agf_set_roots()
341 struct xrep_find_ag_btree fab[XREP_AGF_MAX] = { in xrep_agf() local
416 error = xrep_agf_find_btrees(sc, agf_bp, fab, agfl_bp); in xrep_agf()
422 xrep_agf_set_roots(sc, agf, fab); in xrep_agf()
738 struct xrep_find_ag_btree *fab) in xrep_agi_find_btrees() argument
752 error = xrep_find_ag_btree_roots(sc, agf_bp, fab, NULL); in xrep_agi_find_btrees()
757 if (!xrep_check_btree_root(sc, &fab[XREP_AGI_INOBT])) in xrep_agi_find_btrees()
762 !xrep_check_btree_root(sc, &fab[XREP_AGI_FINOBT])) in xrep_agi_find_btrees()
806 struct xrep_find_ag_btree *fab) in xrep_agi_set_roots() argument
808 agi->agi_root = cpu_to_be32(fab[XREP_AGI_INOBT].root); in xrep_agi_set_roots()
809 agi->agi_level = cpu_to_be32(fab[XREP_AGI_INOBT].height); in xrep_agi_set_roots()
812 agi->agi_free_root = cpu_to_be32(fab[XREP_AGI_FINOBT].root); in xrep_agi_set_roots()
813 agi->agi_free_level = cpu_to_be32(fab[XREP_AGI_FINOBT].height); in xrep_agi_set_roots()
875 struct xrep_find_ag_btree fab[XREP_AGI_MAX] = { in xrep_agi() local
914 error = xrep_agi_find_btrees(sc, fab); in xrep_agi()
920 xrep_agi_set_roots(sc, agi, fab); in xrep_agi()