Lines Matching refs:dargs

60 		trace_xchk_file_op_error(sc, ds->dargs.whichfork,  in xchk_da_process_error()
61 xfs_dir2_da_to_db(ds->dargs.geo, in xchk_da_process_error()
82 trace_xchk_fblock_error(sc, ds->dargs.whichfork, in xchk_da_set_corrupt()
83 xfs_dir2_da_to_db(ds->dargs.geo, in xchk_da_set_corrupt()
109 ents = (char *)ds->dargs.dp->d_ops->leaf_ents_p(baddr); in xchk_da_btree_entry()
113 ents = (char *)ds->dargs.dp->d_ops->leaf_ents_p(baddr); in xchk_da_btree_entry()
117 ents = (char *)ds->dargs.dp->d_ops->node_tree_p(baddr); in xchk_da_btree_entry()
289 xfs_trans_brelse(ds->dargs.trans, ds->state->altpath.blk[level].bp); in xchk_da_btree_block_check_sibling()
340 struct xfs_da_args *dargs = &ds->dargs; in xchk_da_btree_block() local
341 struct xfs_inode *ip = ds->dargs.dp; in xchk_da_btree_block()
352 xfs_trans_brelse(dargs->trans, blk->bp); in xchk_da_btree_block()
362 error = xfs_da_read_buf(dargs->trans, dargs->dp, blk->blkno, -2, in xchk_da_btree_block()
363 &blk->bp, dargs->whichfork, in xchk_da_btree_block()
375 if (ds->dargs.whichfork == XFS_DATA_FORK && level == 0 && in xchk_da_btree_block()
409 xfs_trans_buf_set_type(dargs->trans, blk->bp, in xchk_da_btree_block()
418 xfs_trans_buf_set_type(dargs->trans, blk->bp, in xchk_da_btree_block()
427 xfs_trans_buf_set_type(dargs->trans, blk->bp, in xchk_da_btree_block()
436 xfs_trans_buf_set_type(dargs->trans, blk->bp, in xchk_da_btree_block()
467 xfs_trans_brelse(dargs->trans, blk->bp); in xchk_da_btree_block()
497 ds.dargs.dp = sc->ip; in xchk_da_btree()
498 ds.dargs.whichfork = whichfork; in xchk_da_btree()
499 ds.dargs.trans = sc->tp; in xchk_da_btree()
500 ds.dargs.op_flags = XFS_DA_OP_OKNOENT; in xchk_da_btree()
502 ds.state->args = &ds.dargs; in xchk_da_btree()
507 ds.dargs.geo = mp->m_attr_geo; in xchk_da_btree()
511 ds.dargs.geo = mp->m_dir_geo; in xchk_da_btree()
512 ds.lowest = ds.dargs.geo->leafblk; in xchk_da_btree()
513 ds.highest = ds.dargs.geo->freeblk; in xchk_da_btree()