| /freebsd-9-stable/sbin/mount_msdosfs/ |
| D | mount_msdosfs.c | 64 static int set_charset(struct iovec **iov, int *iovlen, const char *, const char *); 70 int iovlen = 0; in main() local 88 build_iovec(&iov, &iovlen, "shortnames", NULL, (size_t)-1); in main() 91 build_iovec(&iov, &iovlen, "longnames", NULL, (size_t)-1); in main() 94 build_iovec_argf(&iov, &iovlen, "nowin95", "", (size_t)-1); in main() 120 build_iovec_argf(&iov, &iovlen, "cs_local", quirk); in main() 126 build_iovec_argf(&iov, &iovlen, "cs_dos", cs_dos, (size_t)-1); in main() 137 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1); in main() 156 build_iovec(&iov, &iovlen, "cs_local", cs_local, (size_t)-1); in main() 157 build_iovec(&iov, &iovlen, "cs_dos", cs_dos, (size_t)-1); in main() [all …]
|
| /freebsd-9-stable/sbin/mount_nfs/ |
| D | mount_nfs.c | 133 static int fallback_mount(struct iovec *iov, int iovlen, int mntflags); 136 static int getnfsargs(char *, struct iovec **iov, int *iovlen); 144 char **errstr, struct iovec **iov, int *iovlen); 152 int mntflags, num, iovlen; in main() local 160 iovlen = 0; in main() 181 build_iovec(&iov, &iovlen, "readahead", optarg, (size_t)-1); in main() 188 build_iovec(&iov, &iovlen, "noconn", NULL, 0); in main() 193 build_iovec(&iov, &iovlen, "deadthresh", optarg, (size_t)-1); in main() 197 build_iovec(&iov, &iovlen, "dumbtimer", NULL, 0); in main() 205 build_iovec(&iov, &iovlen, "maxgroups", optarg, (size_t)-1); in main() [all …]
|
| /freebsd-9-stable/sbin/mount_cd9660/ |
| D | mount_cd9660.c | 78 static int set_charset(struct iovec **, int *iovlen, const char *); 85 int iovlen; in main() local 93 iovlen = 0; in main() 100 build_iovec(&iov, &iovlen, "brokenjoliet", NULL, (size_t)-1); in main() 103 build_iovec(&iov, &iovlen, "extatt", NULL, (size_t)-1); in main() 106 build_iovec(&iov, &iovlen, "gens", NULL, (size_t)-1); in main() 109 build_iovec(&iov, &iovlen, "nojoliet", NULL, (size_t)-1); in main() 119 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1); in main() 122 build_iovec(&iov, &iovlen, "norrip", NULL, (size_t)-1); in main() 131 if (set_charset(&iov, &iovlen, optarg) == -1) in main() [all …]
|
| /freebsd-9-stable/cddl/compat/opensolaris/misc/ |
| D | zmount.c | 45 build_iovec(struct iovec **iov, int *iovlen, const char *name, void *val, in build_iovec() argument 50 if (*iovlen < 0) in build_iovec() 52 i = *iovlen; in build_iovec() 55 *iovlen = -1; in build_iovec() 69 *iovlen = ++i; in build_iovec() 78 int iovlen, rv; in zmount() local 94 iovlen = 0; in zmount() 96 build_iovec(&iov, &iovlen, "ro", NULL, 0); in zmount() 97 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in zmount() 98 build_iovec(&iov, &iovlen, "fspath", __DECONST(char *, dir), in zmount() [all …]
|
| /freebsd-9-stable/contrib/smbfs/mount_smbfs/ |
| D | mount_smbfs.c | 75 unsigned int iovlen; in main() local 92 iovlen = 0; in main() 186 build_iovec(&iov, &iovlen, in main() 271 build_iovec(&iov, &iovlen, "fstype", strdup("smbfs"), -1); in main() 272 build_iovec(&iov, &iovlen, "fspath", mount_point, -1); in main() 273 build_iovec_argf(&iov, &iovlen, "dev", "%d", dev); in main() 274 build_iovec(&iov, &iovlen, "mountpoint", mount_point, -1); in main() 275 build_iovec_argf(&iov, &iovlen, "uid", "%d", uid); in main() 276 build_iovec_argf(&iov, &iovlen, "gid", "%d", gid); in main() 277 build_iovec_argf(&iov, &iovlen, "file_mode", "%d", file_mode); in main() [all …]
|
| /freebsd-9-stable/sbin/mksnap_ffs/ |
| D | mksnap_ffs.c | 70 int fd, iovlen; in main() local 116 iovlen = 0; in main() 117 build_iovec(&iov, &iovlen, "fstype", "ffs", 4); in main() 118 build_iovec(&iov, &iovlen, "from", snapname, (size_t)-1); in main() 119 build_iovec(&iov, &iovlen, "fspath", stfsbuf.f_mntonname, (size_t)-1); in main() 120 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg)); in main() 121 build_iovec(&iov, &iovlen, "update", NULL, 0); in main() 122 build_iovec(&iov, &iovlen, "snapshot", NULL, 0); in main() 125 if (nmount(iov, iovlen, stfsbuf.f_flags) < 0) { in main()
|
| /freebsd-9-stable/sbin/mount/ |
| D | mount_fs.c | 78 int iovlen; in mount_fs() local 91 iovlen = 0; in mount_fs() 104 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1); in mount_fs() 123 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in mount_fs() 124 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in mount_fs() 125 build_iovec(&iov, &iovlen, "from", dev, (size_t)-1); in mount_fs() 126 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg)); in mount_fs() 128 if (nmount(iov, iovlen, mntflags) == -1) { in mount_fs()
|
| D | getmntopts.c | 140 build_iovec(struct iovec **iov, int *iovlen, const char *name, void *val, in build_iovec() argument 145 if (*iovlen < 0) in build_iovec() 147 i = *iovlen; in build_iovec() 150 *iovlen = -1; in build_iovec() 164 *iovlen = ++i; in build_iovec() 172 build_iovec_argf(struct iovec **iov, int *iovlen, const char *name, in build_iovec_argf() argument 181 build_iovec(iov, iovlen, name, strdup(val), (size_t)-1); in build_iovec_argf()
|
| D | mntopts.h | 98 void build_iovec(struct iovec **iov, int *iovlen, const char *name, void *val, size_t len); 99 void build_iovec_argf(struct iovec **iov, int *iovlen, const char *name, const char *fmt, ...);
|
| /freebsd-9-stable/sbin/mount_nullfs/ |
| D | mount_nullfs.c | 71 int ch, mntflags, iovlen; in main() local 75 iovlen = 0; in main() 88 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1); in main() 108 build_iovec(&iov, &iovlen, "fstype", nullfs, (size_t)-1); in main() 109 build_iovec(&iov, &iovlen, "fspath", source, (size_t)-1); in main() 110 build_iovec(&iov, &iovlen, "target", target, (size_t)-1); in main() 111 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg)); in main() 112 if (nmount(iov, iovlen, mntflags) < 0) { in main()
|
| /freebsd-9-stable/sbin/fsck_ffs/ |
| D | main.c | 220 int iovlen; in checkfilesys() local 226 iovlen = 0; in checkfilesys() 358 build_iovec(&iov, &iovlen, "fstype", "ffs", 4); in checkfilesys() 359 build_iovec(&iov, &iovlen, "from", snapname, in checkfilesys() 361 build_iovec(&iov, &iovlen, "fspath", mntp->f_mntonname, in checkfilesys() 363 build_iovec(&iov, &iovlen, "errmsg", errmsg, in checkfilesys() 365 build_iovec(&iov, &iovlen, "update", NULL, 0); in checkfilesys() 366 build_iovec(&iov, &iovlen, "snapshot", NULL, 0); in checkfilesys() 368 while (nmount(iov, iovlen, mntp->f_flags) < 0) { in checkfilesys() 568 int iovlen; in chkdoreload() local [all …]
|
| /freebsd-9-stable/sbin/mount_unionfs/ |
| D | mount_unionfs.c | 132 int ch, mntflags, iovlen; in main() local 139 iovlen = 0; in main() 147 build_iovec(&iov, &iovlen, "below", NULL, 0); in main() 164 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1); in main() 186 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in main() 187 build_iovec(&iov, &iovlen, "fspath", source, (size_t)-1); in main() 188 build_iovec(&iov, &iovlen, "from", target, (size_t)-1); in main() 189 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg)); in main() 191 if (nmount(iov, iovlen, mntflags)) in main()
|
| /freebsd-9-stable/sbin/mount_ext2fs/ |
| D | mount_ext2fs.c | 63 int ch, iovlen; in main() local 74 iovlen = 0; in main() 86 build_iovec(&iov, &iovlen, optarg, val, strlen(val)+1); in main() 109 build_iovec(&iov, &iovlen, "fstype", fstype, strlen(fstype) + 1); in main() 110 build_iovec(&iov, &iovlen, "fspath", mntpath, strlen(mntpath) + 1); in main() 111 build_iovec(&iov, &iovlen, "from", fspec, strlen(fspec) + 1); in main() 113 if (nmount(iov, iovlen, 0) < 0) in main()
|
| /freebsd-9-stable/sbin/mount_reiserfs/ |
| D | mount_reiserfs.c | 53 int ch, mntflags, iovlen; in main() local 90 iovlen = 0; in main() 91 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in main() 92 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main() 93 build_iovec(&iov, &iovlen, "from", dev, (size_t)-1); in main() 95 if (nmount(iov, iovlen, mntflags) < 0) in main()
|
| /freebsd-9-stable/sys/mips/cavium/cryptocteon/ |
| D | cavium_crypto.c | 345 struct iovec *iov, size_t iovcnt, size_t iovlen, in octo_des_cbc_encrypt() argument 356 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL || in octo_des_cbc_encrypt() 357 (crypt_off & 0x7) || (crypt_off + crypt_len > iovlen))) { in octo_des_cbc_encrypt() 360 "icv_off=%d ivp=%p\n", __func__, od, iov, iovlen, in octo_des_cbc_encrypt() 408 struct iovec *iov, size_t iovcnt, size_t iovlen, in octo_des_cbc_decrypt() argument 419 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL || in octo_des_cbc_decrypt() 420 (crypt_off & 0x7) || (crypt_off + crypt_len > iovlen))) { in octo_des_cbc_decrypt() 423 "icv_off=%d ivp=%p\n", __func__, od, iov, iovlen, in octo_des_cbc_decrypt() 473 struct iovec *iov, size_t iovcnt, size_t iovlen, in octo_aes_cbc_encrypt() argument 484 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL || in octo_aes_cbc_encrypt() [all …]
|
| D | cryptocteon.c | 344 size_t iovcnt, iovlen; in cryptocteon_process() local 446 iovlen = 0; in cryptocteon_process() 453 iovlen += od->octo_iov[iovcnt++].iov_len; in cryptocteon_process() 456 iovlen = 0; in cryptocteon_process() 461 iovlen += od->octo_iov[iovcnt].iov_len; in cryptocteon_process() 464 iovlen = crp->crp_ilen; in cryptocteon_process() 495 (*od->octo_encrypt)(od, od->octo_iov, iovcnt, iovlen, in cryptocteon_process() 498 (*od->octo_decrypt)(od, od->octo_iov, iovcnt, iovlen, in cryptocteon_process()
|
| D | cryptocteonvar.h | 37 typedef int octo_encrypt_t(struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, i… 38 typedef int octo_decrypt_t(struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, i…
|
| /freebsd-9-stable/sys/kern/ |
| D | subr_uio.c | 492 u_int iovlen; in copyiniov() local 497 iovlen = iovcnt * sizeof (struct iovec); in copyiniov() 498 *iov = malloc(iovlen, M_IOV, M_WAITOK); in copyiniov() 499 error = copyin(iovp, *iov, iovlen); in copyiniov() 512 u_int iovlen; in copyinuio() local 518 iovlen = iovcnt * sizeof (struct iovec); in copyinuio() 519 uio = malloc(iovlen + sizeof *uio, M_IOV, M_WAITOK); in copyinuio() 521 error = copyin(iovp, iov, iovlen); in copyinuio() 547 int iovlen; in cloneuio() local 549 iovlen = uiop->uio_iovcnt * sizeof (struct iovec); in cloneuio() [all …]
|
| D | uipc_syscalls.c | 2620 uap->iovlen, &iov, EMSGSIZE); 2623 error = copyiniov(uap->iov, uap->iovlen, &iov, EMSGSIZE); 2643 auio.uio_iovcnt = uap->iovlen; 2650 for (i = 0; i <uap->iovlen; i++, tiov++) { 2733 uap->iovlen, &iov, EMSGSIZE); 2736 error = copyiniov(uap->iov, uap->iovlen, &iov, EMSGSIZE); 2770 auio.uio_iovcnt = uap->iovlen; 2777 for (i = 0; i <uap->iovlen; i++, tiov++) {
|
| /freebsd-9-stable/usr.sbin/mountd/ |
| D | mountd.c | 1672 int iovlen; in get_exportlist() local 1684 iovlen = 0; in get_exportlist() 1729 build_iovec(&iov, &iovlen, "fstype", NULL, 0); in get_exportlist() 1730 build_iovec(&iov, &iovlen, "fspath", NULL, 0); in get_exportlist() 1731 build_iovec(&iov, &iovlen, "from", NULL, 0); in get_exportlist() 1732 build_iovec(&iov, &iovlen, "update", NULL, 0); in get_exportlist() 1733 build_iovec(&iov, &iovlen, "export", &export, sizeof(export)); in get_exportlist() 1734 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg)); in get_exportlist() 1761 if (nmount(iov, iovlen, fsp->f_flags) < 0 && in get_exportlist() 1780 iovlen = 0; in get_exportlist() [all …]
|
| /freebsd-9-stable/sbin/growfs/ |
| D | growfs.c | 1730 int iovlen; in mount_reload() local 1733 iovlen = 0; in mount_reload() 1735 build_iovec(&iov, &iovlen, "fstype", __DECONST(char *, "ffs"), 4); in mount_reload() 1736 build_iovec(&iov, &iovlen, "fspath", __DECONST(char *, stfs->f_mntonname), (size_t)-1); in mount_reload() 1737 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg)); in mount_reload() 1738 build_iovec(&iov, &iovlen, "update", NULL, 0); in mount_reload() 1739 build_iovec(&iov, &iovlen, "reload", NULL, 0); in mount_reload() 1741 if (nmount(iov, iovlen, stfs->f_flags) < 0) { in mount_reload()
|
| /freebsd-9-stable/sys/amd64/linux32/ |
| D | linux32_machdep.c | 174 uint32_t iovlen; in linux32_copyinuio() local 180 iovlen = iovcnt * sizeof(struct iovec); in linux32_copyinuio() 181 uio = malloc(iovlen + sizeof(*uio), M_IOV, M_WAITOK); in linux32_copyinuio() 215 uint32_t iovlen; in linux32_copyiniov() local 221 iovlen = iovcnt * sizeof(struct iovec); in linux32_copyiniov() 222 iov = malloc(iovlen, M_IOV, M_WAITOK); in linux32_copyiniov()
|
| /freebsd-9-stable/share/doc/psd/05.sysman/ |
| D | spell.ok | 176 iovlen
|
| /freebsd-9-stable/sys/compat/freebsd32/ |
| D | freebsd32_misc.c | 832 u_int iovlen; in freebsd32_copyinuio() local 838 iovlen = iovcnt * sizeof(struct iovec); in freebsd32_copyinuio() 839 uio = malloc(iovlen + sizeof *uio, M_IOV, M_WAITOK); in freebsd32_copyinuio() 929 u_int iovlen; in freebsd32_copyiniov() local 935 iovlen = iovcnt * sizeof(struct iovec); in freebsd32_copyiniov() 936 iov = malloc(iovlen, M_IOV, M_WAITOK); in freebsd32_copyiniov()
|
| /freebsd-9-stable/usr.sbin/syslogd/ |
| D | syslogd.c | 336 static void wallmsg(struct filed *, struct iovec *, const int iovlen); 1360 wallmsg(struct filed *f, struct iovec *iov, const int iovlen) in wallmsg() argument 1375 if ((p = ttymsg(iov, iovlen, ut->ut_line, in wallmsg() 1387 if ((p = ttymsg(iov, iovlen, ut->ut_line, in wallmsg()
|