Lines Matching refs:args
61 struct msdosfstestargs *args;
74 args = calloc(1, sizeof(*args));
75 if (args == NULL)
78 snprintf(args->ta_devpath, MAXPATHLEN, "/dev/device%d.msdosfs", num);
79 snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image);
80 args->ta_uargs.fspec = args->ta_devpath;
81 args->ta_uargs.mask = 0755;
83 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK);
85 free(args);
89 *buf = args;
99 struct msdosfstestargs *args = buf;
101 res = rump_pub_etfs_remove(args->ta_devpath);
105 res = unlink(args->ta_imgpath);
109 free(args);
118 struct msdosfstestargs *args = buf;
124 res = rump_sys_mount(MOUNT_MSDOS, path, flags, &args->ta_uargs,
125 sizeof(args->ta_uargs));