build_iovec
build_iovec(&iov, &iovlen, "fstype", __DECONST(void *, "ffs"), 4);
build_iovec(&iov, &iovlen, "from", mntp->f_mntfromname, (size_t)-1);
build_iovec(&iov, &iovlen, "fspath", mntp->f_mntonname, (size_t)-1);
build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg));
build_iovec(&iov, &iovlen, "update", NULL, 0);
build_iovec(&iov, &iovlen, "reload", NULL, 0);
build_iovec(&iov, &iovlen, "ro", NULL, 0);
build_iovec(iov, iovlen, name, strdup(val), (size_t)-1);
void build_iovec(struct iovec **iov, int *iovlen, const char *name, void *val, size_t len);
build_iovec(&iov, &iovlen, "fstype", "ffs", 4);
build_iovec(&iov, &iovlen, "from", snapname, (size_t)-1);
build_iovec(&iov, &iovlen, "fspath", mntp->f_mntonname, (size_t)-1);
build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg));
build_iovec(&iov, &iovlen, "update", NULL, 0);
build_iovec(&iov, &iovlen, "snapshot", NULL, 0);
build_iovec(&iov, &iovlen, "fstype",
build_iovec(&iov, &iovlen, "fspath",
build_iovec(&iov, &iovlen, "errmsg",
build_iovec(&iov, &iovlen, "fstype", "ffs", 4);
build_iovec(&iov, &iovlen, "from", snapname, (size_t)-1);
build_iovec(&iov, &iovlen, "fspath", stfsbuf.f_mntonname, (size_t)-1);
build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg));
build_iovec(&iov, &iovlen, "update", NULL, 0);
build_iovec(&iov, &iovlen, "snapshot", NULL, 0);
build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1);
build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1);
build_iovec(&iov, &iovlen, "from", dev, (size_t)-1);
build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg));
build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
build_iovec(&iov, &iovlen, "nojoliet", NULL, (size_t)-1);
build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
build_iovec(&iov, &iovlen, "norrip", NULL, (size_t)-1);
build_iovec(&iov, &iovlen, "kiconv", NULL, (size_t)-1);
build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1);
build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1);
build_iovec(&iov, &iovlen, "from", dev, (size_t)-1);
build_iovec(iov, iovlen, "cs_disk", cs_disk, (size_t)-1);
build_iovec(iov, iovlen, "cs_local", cs_local, (size_t)-1);
build_iovec(&iov, &iovlen, "brokenjoliet", NULL, (size_t)-1);
build_iovec(&iov, &iovlen, "extatt", NULL, (size_t)-1);
build_iovec(&iov, &iovlen, "gens", NULL, (size_t)-1);
build_iovec(&iov, &iovlen, mo->m_option, mv->mv_value, mv->mv_len);
build_iovec(&iov, &iovlen, mo->m_option,
build_iovec(&iov, &iovlen, uscore_opt,
build_iovec(&iov, &iovlen, "fstype", __DECONST(void *, "fusefs"), -1);
build_iovec(&iov, &iovlen, "fspath", mntpath, -1);
build_iovec(&iov, &iovlen, "from", dev, -1);
build_iovec(&iov, &iovlen, "fd", fdstr, -1);
build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
build_iovec(&iov, &iovlen, "cs_local", cs_local, (size_t)-1);
build_iovec(&iov, &iovlen, "cs_dos", cs_dos, (size_t)-1);
build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1);
build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1);
build_iovec(&iov, &iovlen, "from", dev, (size_t)-1);
build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg));
build_iovec(&iov, &iovlen, "shortnames", NULL, (size_t)-1);
build_iovec(&iov, &iovlen, "longnames", NULL, (size_t)-1);
build_iovec(iov, iovlen, "addr", addr, addrlen);
build_iovec(iov, iovlen, "fh", fh, fhsize);
build_iovec(iov, iovlen, "sec",
build_iovec(iov, iovlen, "nfsv3", NULL, 0);
build_iovec(&iov, &iovlen, "readahead", optarg, (size_t)-1);
build_iovec(&iov, &iovlen, "noconn", NULL, 0);
build_iovec(&iov, &iovlen, "deadthresh", optarg, (size_t)-1);
build_iovec(&iov, &iovlen, "dumbtimer", NULL, 0);
build_iovec(&iov, &iovlen, "maxgroups", optarg, (size_t)-1);
build_iovec(&iov, &iovlen, "readdirsize", optarg, (size_t)-1);
build_iovec(&iov, &iovlen, "intr", NULL, 0);
build_iovec(&iov, &iovlen, "nolockd", NULL, 0);
build_iovec(&iov, &iovlen, "rdirplus", NULL, 0);
build_iovec(&iov, &iovlen,
build_iovec(&iov, &iovlen,
build_iovec(&iov, &iovlen,
build_iovec(&iov, &iovlen,
build_iovec(&iov, &iovlen,
build_iovec(&iov, &iovlen, opt,
build_iovec(&iov, &iovlen, "noresvport", NULL, 0);
build_iovec(&iov, &iovlen, "rsize", optarg, (size_t)-1);
build_iovec(&iov, &iovlen, "soft", NULL, 0);
build_iovec(&iov, &iovlen, "timeout", optarg, (size_t)-1);
build_iovec(&iov, &iovlen, "wsize", optarg, (size_t)-1);
build_iovec(&iov, &iovlen, "retrans", optarg, (size_t)-1);
build_iovec(&iov, &iovlen, "mntudp", NULL, 0);
build_iovec(&iov, &iovlen, "gssname",
build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1);
build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg));
build_iovec(iov, iovlen, "principal", pname,
build_iovec(iov, iovlen, "hostname", nam, (size_t)-1);
build_iovec(iov, iovlen, "addr", addr, addrlen);
build_iovec(iov, iovlen, "sec",
build_iovec(iov, iovlen, "nfsv4", NULL, 0);
build_iovec(iov, iovlen, "dirpath", spec, (size_t)-1);
build_iovec(&iov, &iovlen, "fstype", nullfs, (size_t)-1);
build_iovec(&iov, &iovlen, "fspath", mountpoint, (size_t)-1);
build_iovec(&iov, &iovlen, "target", target, (size_t)-1);
build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg));
build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1);
build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1);
build_iovec(&iov, &iovlen, "from", dev, (size_t)-1);
build_iovec(&iov, &iovlen, "flags", &udf_flags, sizeof(udf_flags));
build_iovec(&iov, &iovlen, "cs_disk", cs_disk, (size_t)-1);
build_iovec(&iov, &iovlen, "cs_local", cs_local, (size_t)-1);
build_iovec(&iov, &iovlen, "below", NULL, 0);
build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1);
build_iovec(&iov, &iovlen, "fspath", source, (size_t)-1);
build_iovec(&iov, &iovlen, "from", target, (size_t)-1);
build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg));
build_iovec(&iov, &iovlen, "fstype", (void*)statbuf.f_fstypename, -1);
build_iovec(&iov, &iovlen, "fspath", (void*)statbuf.f_mntonname, -1);
build_iovec(&iov, &iovlen, "from", __DECONST(void *, "/dev/fuse"), -1);
build_iovec(&iov, &iovlen, "fstype", (void*)statbuf.f_fstypename, -1);
build_iovec(&iov, &iovlen, "fspath", (void*)statbuf.f_mntonname, -1);
build_iovec(&iov, &iovlen, "from", __DECONST(void *, "/dev/fuse"), -1);
build_iovec(&iov, &iovlen, "fstype", __DECONST(void *, "fusefs"), -1);
build_iovec(&iov, &iovlen, "fspath",
build_iovec(&iov, &iovlen, "from", __DECONST(void *, "/dev/fuse"), -1);
build_iovec(&iov, &iovlen, "fd", fdstr, -1);
build_iovec(&iov, &iovlen, "max_read=", &val, -1);
build_iovec(&iov, &iovlen, "allow_other",
build_iovec(&iov, &iovlen, "default_permissions",
build_iovec(&iov, &iovlen, "push_symlinks_in",
build_iovec(&iov, &iovlen, "ro",
build_iovec(&iov, &iovlen, "async", __DECONST(void*, &trueval),
build_iovec(&iov, &iovlen, "noatime",
build_iovec(&iov, &iovlen, "noclusterr",
build_iovec(&iov, &iovlen, "nointr",
build_iovec(&iov, &iovlen, "intr",
build_iovec(&iov, &iovlen, "auto_unmount",
build_iovec(&iov, &iovlen, "fsname=",
build_iovec(&iov, &iovlen, "subtype=",
build_iovec(&iov, &iovlen, "fstype", (void*)statbuf.f_fstypename, -1);
build_iovec(&iov, &iovlen, "fspath", (void*)statbuf.f_mntonname, -1);
build_iovec(&iov, &iovlen, "from", __DECONST(void *, "/dev/fuse"), -1);
build_iovec(&iov, &iovlen, "fstype", (void*)statbuf.f_fstypename, -1);
build_iovec(&iov, &iovlen, "fspath", (void*)statbuf.f_mntonname, -1);
build_iovec(&iov, &iovlen, "from", __DECONST(void *, "/dev/fuse"), -1);
build_iovec(&iov, &iovlen, "fstype", "nullfs", (size_t)-1);
build_iovec(&iov, &iovlen, "fspath", dir, (size_t)-1);
build_iovec(&iov, &iovlen, "target", src, (size_t)-1);
build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg));
build_iovec(&iov, &iovlen, "fstype", "tmpfs", (size_t)-1);
build_iovec(&iov, &iovlen, "fspath", __DECONST(char *, dir),
build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg));
build_iovec(&iov, &iovlen, __DECONST(char *, "fstype"),
build_iovec(&iov, &iovlen, __DECONST(char *, "fspath"),
build_iovec(&iov, &iovlen, __DECONST(char *, "from"),
build_iovec(&iov, &iovlen, __DECONST(char *, "errmsg"),
build_iovec(&iov, &iovlen, "fstype",
build_iovec(&iov, &iovlen, "fspath",
build_iovec(&iov, &iovlen, "from",
build_iovec(&iov, &iovlen, "errmsg",
build_iovec(&iov, &iovlen, "master_options",
build_iovec(&iov, &iovlen, "master_prefix",
build_iovec(&iov, &iovlen, "fstype",
build_iovec(&iov, &iovlen, "fspath",
build_iovec(&iov, &iovlen, "fsid",
build_iovec(&iov, &iovlen, "errmsg",
build_iovec(&iov, &iovlen, "fstype", NULL, 0);
build_iovec(&iov, &iovlen, "fspath", NULL, 0);
build_iovec(&iov, &iovlen, "from", NULL, 0);
build_iovec(&iov, &iovlen, "update", NULL, 0);
build_iovec(&iov, &iovlen, "export", &export,
build_iovec(&iov, &iovlen, "errmsg", errmsg,
build_iovec(&iov, &iovlen, "fstype", NULL, 0);
build_iovec(&iov, &iovlen, "fspath", NULL, 0);
build_iovec(&iov, &iovlen, "from", NULL, 0);
build_iovec(&iov, &iovlen, "update", NULL, 0);
build_iovec(&iov, &iovlen, "export", eap,
build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg));