Lines Matching refs:args
62 struct ffstestargs *args;
79 args = calloc(1, sizeof(*args));
80 if (args == NULL)
83 snprintf(args->ta_devpath, MAXPATHLEN, "/dev/device%d.ffs", num);
84 snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image);
85 args->ta_uargs.fspec = args->ta_devpath;
87 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK);
89 free(args);
93 *buf = args;
104 struct ffstestargs *args = buf;
106 res = rump_pub_etfs_remove(args->ta_devpath);
112 res = unlink(args->ta_imgpath);
116 free(args);
126 struct ffstestargs *args = buf;
132 res = rump_sys_mount(MOUNT_FFS, path, flags, &args->ta_uargs,
133 sizeof(args->ta_uargs));