Lines Matching refs:cur

105 	struct xfs_mount		*mp = bs->cur->bc_mp;  in xchk_iallocbt_chunk()
106 xfs_agnumber_t agno = bs->cur->bc_private.a.agno; in xchk_iallocbt_chunk()
113 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_iallocbt_chunk()
140 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_check_cluster_freemask()
153 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_iallocbt_check_cluster_freemask()
159 error = xfs_icache_inode_is_allocated(mp, bs->cur->bc_tp, in xchk_iallocbt_check_cluster_freemask()
178 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_iallocbt_check_cluster_freemask()
191 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_check_freemask()
213 fsino = XFS_AGINO_TO_INO(mp, bs->cur->bc_private.a.agno, agino); in xchk_iallocbt_check_freemask()
226 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_iallocbt_check_freemask()
241 imap.im_blkno = XFS_AGB_TO_DADDR(mp, bs->cur->bc_private.a.agno, in xchk_iallocbt_check_freemask()
246 error = xfs_imap_to_bp(mp, bs->cur->bc_tp, &imap, in xchk_iallocbt_check_freemask()
248 if (!xchk_btree_xref_process_error(bs->sc, bs->cur, 0, in xchk_iallocbt_check_freemask()
257 xfs_trans_brelse(bs->cur->bc_tp, bp); in xchk_iallocbt_check_freemask()
262 xfs_trans_brelse(bs->cur->bc_tp, bp); in xchk_iallocbt_check_freemask()
274 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_rec()
278 xfs_agnumber_t agno = bs->cur->bc_private.a.agno; in xchk_iallocbt_rec()
292 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_iallocbt_rec()
297 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_iallocbt_rec()
303 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_iallocbt_rec()
311 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_iallocbt_rec()
321 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_iallocbt_rec()
336 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_iallocbt_rec()
349 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_iallocbt_rec()
433 struct xfs_btree_cur *cur; in xchk_iallocbt() local
439 cur = which == XFS_BTNUM_INO ? sc->sa.ino_cur : sc->sa.fino_cur; in xchk_iallocbt()
440 error = xchk_btree(sc, cur, xchk_iallocbt_rec, &oinfo, in xchk_iallocbt()