Lines Matching refs:dargs
52 trace_xchk_file_op_error(sc, ds->dargs.whichfork, in xchk_da_process_error()
53 xfs_dir2_da_to_db(ds->dargs.geo, in xchk_da_process_error()
74 trace_xchk_fblock_error(sc, ds->dargs.whichfork, in xchk_da_set_corrupt()
75 xfs_dir2_da_to_db(ds->dargs.geo, in xchk_da_set_corrupt()
267 xfs_trans_brelse(ds->dargs.trans, altpath->blk[plevel].bp); in xchk_da_btree_block_check_sibling()
320 struct xfs_da_args *dargs = &ds->dargs; in xchk_da_btree_block() local
321 struct xfs_inode *ip = ds->dargs.dp; in xchk_da_btree_block()
332 xfs_trans_brelse(dargs->trans, blk->bp); in xchk_da_btree_block()
342 error = xfs_da_read_buf(dargs->trans, dargs->dp, blk->blkno, in xchk_da_btree_block()
343 XFS_DABUF_MAP_HOLE_OK, &blk->bp, dargs->whichfork, in xchk_da_btree_block()
355 if (ds->dargs.whichfork == XFS_DATA_FORK && level == 0 && in xchk_da_btree_block()
389 xfs_trans_buf_set_type(dargs->trans, blk->bp, in xchk_da_btree_block()
398 xfs_trans_buf_set_type(dargs->trans, blk->bp, in xchk_da_btree_block()
407 xfs_trans_buf_set_type(dargs->trans, blk->bp, in xchk_da_btree_block()
416 xfs_trans_buf_set_type(dargs->trans, blk->bp, in xchk_da_btree_block()
461 xfs_trans_brelse(dargs->trans, blk->bp); in xchk_da_btree_block()
489 ds.dargs.dp = sc->ip; in xchk_da_btree()
490 ds.dargs.whichfork = whichfork; in xchk_da_btree()
491 ds.dargs.trans = sc->tp; in xchk_da_btree()
492 ds.dargs.op_flags = XFS_DA_OP_OKNOENT; in xchk_da_btree()
493 ds.state = xfs_da_state_alloc(&ds.dargs); in xchk_da_btree()
497 ds.dargs.geo = mp->m_attr_geo; in xchk_da_btree()
501 ds.dargs.geo = mp->m_dir_geo; in xchk_da_btree()
502 ds.lowest = ds.dargs.geo->leafblk; in xchk_da_btree()
503 ds.highest = ds.dargs.geo->freeblk; in xchk_da_btree()