Lines Matching refs:args
46 struct xfs_da_args *args,
50 struct xfs_inode *dp = args->dp; /* incore directory inode */
58 struct xfs_da_geometry *geo = args->geo;
140 struct xfs_da_args *args,
144 struct xfs_inode *dp = args->dp; /* incore directory inode */
149 struct xfs_da_geometry *geo = args->geo;
159 error = xfs_dir3_block_read(args->trans, dp, &bp);
231 xfs_trans_brelse(args->trans, bp);
242 struct xfs_da_args *args,
248 struct xfs_inode *dp = args->dp;
250 struct xfs_da_geometry *geo = args->geo;
262 error = xfs_iread_extents(args->trans, dp, XFS_DATA_FORK);
283 error = xfs_dir3_data_read(args->trans, dp, map.br_startoff, 0, &bp);
346 struct xfs_da_args *args,
351 struct xfs_inode *dp = args->dp;
356 struct xfs_da_geometry *geo = args->geo;
390 xfs_trans_brelse(args->trans, bp);
396 error = xfs_dir2_leaf_readbuf(args, bufsize, &curoff,
494 xfs_trans_brelse(args->trans, bp);
513 struct xfs_da_args args = { NULL };
527 args.dp = dp;
528 args.geo = dp->i_mount->m_dir_geo;
529 args.trans = tp;
532 return xfs_dir2_sf_getdents(&args, ctx);
535 error = xfs_dir2_isblock(&args, &isblock);
540 error = xfs_dir2_block_getdents(&args, ctx, &lock_mode);
544 error = xfs_dir2_leaf_getdents(&args, ctx, bufsize, &lock_mode);