Lines Matching refs:dargs
53 trace_xchk_file_op_error(sc, ds->dargs.whichfork, in xchk_da_process_error()
54 xfs_dir2_da_to_db(ds->dargs.geo, in xchk_da_process_error()
75 trace_xchk_fblock_error(sc, ds->dargs.whichfork, in xchk_da_set_corrupt()
76 xfs_dir2_da_to_db(ds->dargs.geo, in xchk_da_set_corrupt()
268 xfs_trans_brelse(ds->dargs.trans, altpath->blk[plevel].bp); in xchk_da_btree_block_check_sibling()
321 struct xfs_da_args *dargs = &ds->dargs; in xchk_da_btree_block() local
322 struct xfs_inode *ip = ds->dargs.dp; in xchk_da_btree_block()
333 xfs_trans_brelse(dargs->trans, blk->bp); in xchk_da_btree_block()
343 error = xfs_da_read_buf(dargs->trans, dargs->dp, blk->blkno, in xchk_da_btree_block()
344 XFS_DABUF_MAP_HOLE_OK, &blk->bp, dargs->whichfork, in xchk_da_btree_block()
356 if (ds->dargs.whichfork == XFS_DATA_FORK && level == 0 && in xchk_da_btree_block()
390 xfs_trans_buf_set_type(dargs->trans, blk->bp, in xchk_da_btree_block()
399 xfs_trans_buf_set_type(dargs->trans, blk->bp, in xchk_da_btree_block()
408 xfs_trans_buf_set_type(dargs->trans, blk->bp, in xchk_da_btree_block()
417 xfs_trans_buf_set_type(dargs->trans, blk->bp, in xchk_da_btree_block()
462 xfs_trans_brelse(dargs->trans, blk->bp); in xchk_da_btree_block()
493 ds->dargs.dp = sc->ip; in xchk_da_btree()
494 ds->dargs.whichfork = whichfork; in xchk_da_btree()
495 ds->dargs.trans = sc->tp; in xchk_da_btree()
496 ds->dargs.op_flags = XFS_DA_OP_OKNOENT; in xchk_da_btree()
497 ds->state = xfs_da_state_alloc(&ds->dargs); in xchk_da_btree()
501 ds->dargs.geo = mp->m_attr_geo; in xchk_da_btree()
505 ds->dargs.geo = mp->m_dir_geo; in xchk_da_btree()
506 ds->lowest = ds->dargs.geo->leafblk; in xchk_da_btree()
507 ds->highest = ds->dargs.geo->freeblk; in xchk_da_btree()