Lines Matching refs:args

303 	libuvfs_cb_vget_arg_t *args = varg;
311 assert(argsize == sizeof (*args));
314 len = libuvfs_name_path(fs, &args->lcvg_fid, 0, NULL, path, MAXPATHLEN);
325 &args->lcvg_fid, NULL);
459 libuvfs_cb_close_arg_t *args = varg;
460 libuvfs_fid_t *fid = &args->lccf_fid;
466 assert(argsize == sizeof (*args));
468 error = fuse_uvfs_close_common(fs, fid, args->lccf_count);
476 libuvfs_cb_lookup_arg_t *args = varg;
479 libuvfs_fid_t *dirfid = &args->lcla_dirfid;
486 assert(argsize == sizeof (*args));
495 fuse_uvfs_path_fixup(path, args->lcla_nm);
507 libuvfs_name_lookup(fs, dirfid, args->lcla_nm, &found);
510 libuvfs_name_store(fs, dirfid, args->lcla_nm, &found, B_TRUE,
524 libuvfs_cb_open_arg_t *args = varg;
525 libuvfs_fid_t *fid = &args->lcof_fid;
530 assert(argsize == sizeof (*args));
540 libuvfs_cb_map_arg_t *args = varg;
541 libuvfs_fid_t *fid = &args->lcma_fid;
546 assert(argsize == sizeof (*args));
556 libuvfs_cb_map_arg_t *args = varg;
557 libuvfs_fid_t *fid = &args->lcma_fid;
563 assert(argsize == sizeof (*args));
565 error = fuse_uvfs_close_common(fs, fid, args->lcma_count);
649 libuvfs_cb_readdir_arg_t *args = varg;
652 libuvfs_fid_t *fid = &args->lcrda_fid;
661 ressize += args->lcrda_length;
665 off = resp->lcrdr_offset = args->lcrda_offset;
680 dirhp->dh_len = args->lcrda_length;
684 dirhp->dh_response_size = args->lcrda_length;
703 fuse_uvfs_fill_buf(dirhp, args->lcrda_length);
745 if (bytes + dp->d_reclen > args->lcrda_length) {
803 libuvfs_common_vop_arg_t *args = varg;
804 libuvfs_fid_t *fid = &args->lca_fid;
810 assert(argsize == sizeof (*args));
835 libuvfs_cb_symlink_arg_t *args = varg;
836 libuvfs_fid_t *dirfid = &args->lcsl_dirfid;
843 assert(argsize == sizeof (*args));
852 fuse_uvfs_path_fixup(path, args->lcsl_name);
853 if ((error = FUSE_OP_SYMLINK(fuse_fs, args->lcsl_link, path)) != 0)
857 libuvfs_name_store(fs, dirfid, args->lcsl_name, &newfid, B_TRUE, NULL);
866 libuvfs_cb_readlink_arg_t *args = varg;
868 libuvfs_fid_t *fid = &args->lcrl_dirfid;
876 assert(argsize == sizeof (*args));
905 libuvfs_cb_link_arg_t *args = varg;
906 libuvfs_fid_t *dirfid = &args->lclf_dirfid;
907 libuvfs_fid_t *srcfid = &args->lclf_sfid;
916 assert(argsize == sizeof (*args));
930 fuse_uvfs_path_fixup(tpath, args->lclf_name);
935 libuvfs_name_store(fs, dirfid, args->lclf_name, srcfid, B_FALSE, NULL);
1020 libuvfs_cb_rmdir_arg_t *args = varg;
1021 libuvfs_fid_t *dirfid = &args->lcrd_fid;
1031 assert(argsize == sizeof (*args));
1044 libuvfs_name_lookup(fs, dirfid, args->lcrd_name, &fid);
1050 fuse_uvfs_path_fixup(path, args->lcrd_name);
1060 args->lcrd_name);
1064 libuvfs_name_delete(fs, dirfid, args->lcrd_name, NULL);
1078 libuvfs_cb_remove_arg_t *args = varg;
1079 libuvfs_fid_t *dirfid = &args->lcrf_fid;
1089 assert(argsize == sizeof (*args));
1096 libuvfs_name_lookup(fs, dirfid, args->lcrf_name, &fid);
1109 fuse_uvfs_path_fixup(path, args->lcrf_name);
1119 args->lcrf_name);
1126 libuvfs_name_delete(fs, dirfid, args->lcrf_name, NULL);
1138 libuvfs_cb_rename_arg_t *args = varg;
1140 libuvfs_fid_t *sdfid = &args->lcrn_sdfid;
1141 libuvfs_fid_t *tdfid = &args->lcrn_tdfid;
1149 assert(argsize == sizeof (*args));
1162 libuvfs_name_lookup(fs, sdfid, args->lcrn_sname, &sfid);
1174 fuse_uvfs_path_fixup(spath, args->lcrn_sname);
1186 libuvfs_name_lookup(fs, tdfid, args->lcrn_tname, &tfid);
1188 fuse_uvfs_path_fixup(tpath, args->lcrn_tname);
1199 tdirpath, args->lcrn_tname))
1207 libuvfs_name_delete(fs, sdfid, args->lcrn_sname, NULL);
1208 libuvfs_name_store(fs, tdfid, args->lcrn_tname, &sfid, B_TRUE, NULL);
1668 fuse_new(struct fuse_chan *ch, struct fuse_args *args,
1769 struct fuse_args args = FUSE_ARGS_INIT(argc, argv);
1777 if (error = fuse_parse_cmdline(&args, &mountpoint,
1780 if ((fch = fuse_mount(mountpoint, &args)) == NULL)
1784 fuse = fuse_new(fch, &args, op, op_size, user_data);