Lines Matching refs:args
61 struct ext2fstestargs *args;
74 args = calloc(1, sizeof(*args));
75 if (args == NULL)
78 snprintf(args->ta_devpath, MAXPATHLEN, "/dev/device%d.ext2fs", num);
79 snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image);
80 args->ta_uargs.fspec = args->ta_devpath;
82 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK);
84 free(args);
88 *buf = args;
98 struct ext2fstestargs *args = buf;
100 res = rump_pub_etfs_remove(args->ta_devpath);
104 res = unlink(args->ta_imgpath);
108 free(args);
117 struct ext2fstestargs *args = buf;
123 res = rump_sys_mount(MOUNT_EXT2FS, path, flags, &args->ta_uargs,
124 sizeof(args->ta_uargs));