Lines Matching refs:args
62 struct msdosfstestargs *args;
75 args = calloc(1, sizeof(*args));
76 if (args == NULL)
79 snprintf(args->ta_devpath, MAXPATHLEN, "/dev/device%d.msdosfs", num);
80 snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image);
81 args->ta_uargs.fspec = args->ta_devpath;
82 args->ta_uargs.mask = 0755;
84 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK);
86 free(args);
90 *buf = args;
100 struct msdosfstestargs *args = buf;
102 res = rump_pub_etfs_remove(args->ta_devpath);
106 res = unlink(args->ta_imgpath);
110 free(args);
119 struct msdosfstestargs *args = buf;
125 res = rump_sys_mount(MOUNT_MSDOS, path, flags, &args->ta_uargs,
126 sizeof(args->ta_uargs));