Searched refs:iovlen (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-11-stable/sbin/mount_cd9660/
H A Dmount_cd9660.c78 static int set_charset(struct iovec **, int *iovlen, const char *);
85 int iovlen; local
93 iovlen = 0;
100 build_iovec(&iov, &iovlen, "brokenjoliet", NULL, (size_t)-1);
103 build_iovec(&iov, &iovlen, "extatt", NULL, (size_t)-1);
106 build_iovec(&iov, &iovlen, "gens", NULL, (size_t)-1);
109 build_iovec(&iov, &iovlen, "nojoliet", NULL, (size_t)-1);
119 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
122 build_iovec(&iov, &iovlen, "norrip", NULL, (size_t)-1);
131 if (set_charset(&iov, &iovlen, optar
238 set_charset(struct iovec **iov, int *iovlen, const char *localcs) argument
[all...]
/freebsd-11-stable/cddl/compat/opensolaris/misc/
H A Dzmount.c45 build_iovec(struct iovec **iov, int *iovlen, const char *name, void *val, argument
50 if (*iovlen < 0)
52 i = *iovlen;
55 *iovlen = -1;
69 *iovlen = ++i;
78 int iovlen, rv; local
94 iovlen = 0;
96 build_iovec(&iov, &iovlen, "ro", NULL, 0);
97 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1);
98 build_iovec(&iov, &iovlen, "fspat
[all...]
/freebsd-11-stable/sbin/mount_msdosfs/
H A Dmount_msdosfs.c67 static int set_charset(struct iovec **iov, int *iovlen, const char *, const char *);
73 int iovlen = 0; local
90 build_iovec(&iov, &iovlen, "shortnames", NULL, (size_t)-1);
93 build_iovec(&iov, &iovlen, "longnames", NULL, (size_t)-1);
96 build_iovec_argf(&iov, &iovlen, "nowin95", "", (size_t)-1);
122 build_iovec_argf(&iov, &iovlen, "cs_local", quirk);
128 build_iovec_argf(&iov, &iovlen, "cs_dos", cs_dos, (size_t)-1);
139 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
158 build_iovec(&iov, &iovlen, "cs_local", cs_local, (size_t)-1);
159 build_iovec(&iov, &iovlen, "cs_do
300 set_charset(struct iovec **iov, int *iovlen, const char *cs_local, const char *cs_dos) argument
[all...]
/freebsd-11-stable/sbin/mount/
H A Dmount_fs.c78 int iovlen; local
91 iovlen = 0;
104 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
126 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1);
127 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1);
128 build_iovec(&iov, &iovlen, "from", dev, (size_t)-1);
129 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg));
131 if (nmount(iov, iovlen, mntflags) == -1) {
H A Dgetmntopts.c141 build_iovec(struct iovec **iov, int *iovlen, const char *name, void *val, argument
146 if (*iovlen < 0)
148 i = *iovlen;
151 *iovlen = -1;
165 *iovlen = ++i;
173 build_iovec_argf(struct iovec **iov, int *iovlen, const char *name, argument
182 build_iovec(iov, iovlen, name, strdup(val), (size_t)-1);
190 free_iovec(struct iovec **iov, int *iovlen) argument
194 for (i = 0; i < *iovlen; i++)
H A Dmntopts.h100 void build_iovec(struct iovec **iov, int *iovlen, const char *name, void *val, size_t len);
101 void build_iovec_argf(struct iovec **iov, int *iovlen, const char *name, const char *fmt, ...);
102 void free_iovec(struct iovec **iovec, int *iovlen);
/freebsd-11-stable/sbin/mount_nullfs/
H A Dmount_nullfs.c71 int ch, iovlen; local
75 iovlen = 0;
87 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
109 build_iovec(&iov, &iovlen, "fstype", nullfs, (size_t)-1);
110 build_iovec(&iov, &iovlen, "fspath", source, (size_t)-1);
111 build_iovec(&iov, &iovlen, "target", target, (size_t)-1);
112 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg));
113 if (nmount(iov, iovlen, 0) < 0) {
/freebsd-11-stable/sbin/mount_udf/
H A Dmount_udf.c80 int ch, iovlen, mntflags, udf_flags, verbose; local
82 iovlen = mntflags = udf_flags = verbose = 0;
124 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1);
125 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1);
126 build_iovec(&iov, &iovlen, "from", dev, (size_t)-1);
127 build_iovec(&iov, &iovlen, "flags", &udf_flags, sizeof(udf_flags));
129 build_iovec(&iov, &iovlen, "cs_disk", cs_disk, (size_t)-1);
130 build_iovec(&iov, &iovlen, "cs_local", cs_local, (size_t)-1);
132 if (nmount(iov, iovlen, mntflags) < 0)
/freebsd-11-stable/contrib/smbfs/mount_smbfs/
H A Dmount_smbfs.c75 unsigned int iovlen; local
92 iovlen = 0;
186 build_iovec(&iov, &iovlen,
203 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
278 build_iovec(&iov, &iovlen, "fstype", strdup("smbfs"), -1);
279 build_iovec(&iov, &iovlen, "fspath", mount_point, -1);
280 build_iovec_argf(&iov, &iovlen, "fd", "%d", fd);
281 build_iovec(&iov, &iovlen, "mountpoint", mount_point, -1);
282 build_iovec_argf(&iov, &iovlen, "uid", "%d", uid);
283 build_iovec_argf(&iov, &iovlen, "gi
[all...]
/freebsd-11-stable/sbin/mount_unionfs/
H A Dmount_unionfs.c132 int ch, iovlen; local
139 iovlen = 0;
146 build_iovec(&iov, &iovlen, "below", NULL, 0);
163 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
187 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1);
188 build_iovec(&iov, &iovlen, "fspath", source, (size_t)-1);
189 build_iovec(&iov, &iovlen, "from", target, (size_t)-1);
190 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg));
192 if (nmount(iov, iovlen, 0))
/freebsd-11-stable/sbin/mksnap_ffs/
H A Dmksnap_ffs.c99 int fd, iovlen; local
162 iovlen = 0;
163 build_iovec(&iov, &iovlen, "fstype", "ffs", 4);
164 build_iovec(&iov, &iovlen, "from", snapname, (size_t)-1);
165 build_iovec(&iov, &iovlen, "fspath", stfsbuf.f_mntonname, (size_t)-1);
166 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg));
167 build_iovec(&iov, &iovlen, "update", NULL, 0);
168 build_iovec(&iov, &iovlen, "snapshot", NULL, 0);
171 if (nmount(iov, iovlen, stfsbuf.f_flags) < 0) {
/freebsd-11-stable/usr.sbin/autofs/
H A Dautomount.c107 int error, iovlen = 0; local
115 build_iovec(&iov, &iovlen, "fstype",
117 build_iovec(&iov, &iovlen, "fspath",
119 build_iovec(&iov, &iovlen, "from",
121 build_iovec(&iov, &iovlen, "errmsg",
128 build_iovec(&iov, &iovlen, "master_options",
130 build_iovec(&iov, &iovlen, "master_prefix",
133 error = nmount(iov, iovlen, 0);
237 int error, iovlen = 0; local
242 build_iovec(&iov, &iovlen, "fstyp
[all...]
/freebsd-11-stable/contrib/netbsd-tests/net/bpf/
H A Dt_bpf.c111 size_t iovlen, sz; local
135 iovlen = 1;
138 iov[iovlen].iov_len = iov[0].iov_len;
139 iov[iovlen].iov_base = iov[0].iov_base;
141 iovlen++;
146 iov[iovlen].iov_len = total - sz;
147 iov[iovlen].iov_base = iov[0].iov_base;
148 iovlen++;
152 ATF_REQUIRE(iovlen >= 1 && iovlen <
[all...]
/freebsd-11-stable/sbin/mount_nfs/
H A Dmount_nfs.c136 static int getnfsargs(char *, struct iovec **iov, int *iovlen);
144 char **errstr, struct iovec **iov, int *iovlen);
152 int num, iovlen; local
159 iovlen = 0;
180 build_iovec(&iov, &iovlen, "readahead", optarg, (size_t)-1);
187 build_iovec(&iov, &iovlen, "noconn", NULL, 0);
192 build_iovec(&iov, &iovlen, "deadthresh", optarg, (size_t)-1);
196 build_iovec(&iov, &iovlen, "dumbtimer", NULL, 0);
204 build_iovec(&iov, &iovlen, "maxgroups", optarg, (size_t)-1);
208 build_iovec(&iov, &iovlen, "readdirsiz
516 getnfsargs(char *spec, struct iovec **iov, int *iovlen) argument
672 nfs_tryproto(struct addrinfo *ai, char *hostp, char *spec, char **errstr, struct iovec **iov, int *iovlen) argument
[all...]
/freebsd-11-stable/sbin/fsck_ffs/
H A Dmain.c241 int iovlen; local
247 iovlen = 0;
380 build_iovec(&iov, &iovlen, "fstype", "ffs", 4);
381 build_iovec(&iov, &iovlen, "from", snapname,
383 build_iovec(&iov, &iovlen, "fspath", mntp->f_mntonname,
385 build_iovec(&iov, &iovlen, "errmsg", errmsg,
387 build_iovec(&iov, &iovlen, "update", NULL, 0);
388 build_iovec(&iov, &iovlen, "snapshot", NULL, 0);
390 while (nmount(iov, iovlen, mntp->f_flags) < 0) {
597 int iovlen; local
[all...]
/freebsd-11-stable/sys/mips/cavium/cryptocteon/
H A Dcryptocteonvar.h37 typedef int octo_encrypt_t(struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp);
38 typedef int octo_decrypt_t(struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp);
H A Dcavium_crypto.c326 struct iovec *iov, size_t iovcnt, size_t iovlen,
336 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL ||
337 (crypt_off & 0x7) || (crypt_off + crypt_len > iovlen))) {
338 dprintf("%s: Bad parameters od=%p iov=%p iovlen=%jd "
340 "icv_off=%d ivp=%p\n", __func__, od, iov, iovlen,
385 struct iovec *iov, size_t iovcnt, size_t iovlen,
395 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL ||
396 (crypt_off & 0x7) || (crypt_off + crypt_len > iovlen))) {
397 dprintf("%s: Bad parameters od=%p iov=%p iovlen=%jd "
399 "icv_off=%d ivp=%p\n", __func__, od, iov, iovlen,
324 octo_des_cbc_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
383 octo_des_cbc_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
443 octo_aes_cbc_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
512 octo_aes_cbc_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
583 octo_null_md5_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
685 octo_null_sha1_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
790 octo_des_cbc_md5_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
938 octo_des_cbc_md5_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
1089 octo_des_cbc_sha1_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
1240 octo_des_cbc_sha1_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
1393 octo_aes_cbc_md5_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
1570 octo_aes_cbc_md5_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
1746 octo_aes_cbc_sha1_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
1942 octo_aes_cbc_sha1_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
[all...]
H A Dcryptocteon.c344 size_t iovcnt, iovlen; local
446 iovlen = 0;
453 iovlen += od->octo_iov[iovcnt++].iov_len;
456 iovlen = 0;
461 iovlen += od->octo_iov[iovcnt].iov_len;
464 iovlen = crp->crp_ilen;
495 (*od->octo_encrypt)(od, od->octo_iov, iovcnt, iovlen, local
498 (*od->octo_decrypt)(od, od->octo_iov, iovcnt, iovlen, local
/freebsd-11-stable/sbin/mount_fusefs/
H A Dmount_fusefs.c116 int mntflags, iovlen, verbose = 0; local
151 iovlen = 0;
291 build_iovec(&iov, &iovlen, mo->m_option, mv->mv_value, mv->mv_len);
297 build_iovec(&iov, &iovlen, mo->m_option,
305 build_iovec(&iov, &iovlen, uscore_opt,
421 build_iovec(&iov, &iovlen, "fstype", __DECONST(void *, "fusefs"), -1);
422 build_iovec(&iov, &iovlen, "fspath", mntpath, -1);
423 build_iovec(&iov, &iovlen, "from", dev, -1);
424 build_iovec(&iov, &iovlen, "fd", fdstr, -1);
429 if (nmount(iov, iovlen, mntflag
[all...]
/freebsd-11-stable/sys/kern/
H A Dsubr_uio.c385 u_int iovlen; local
390 iovlen = iovcnt * sizeof (struct iovec);
391 *iov = malloc(iovlen, M_IOV, M_WAITOK);
392 error = copyin(iovp, *iov, iovlen);
405 u_int iovlen; local
411 iovlen = iovcnt * sizeof (struct iovec);
412 uio = malloc(iovlen + sizeof *uio, M_IOV, M_WAITOK);
414 error = copyin(iovp, iov, iovlen);
440 int iovlen; local
442 iovlen
[all...]
/freebsd-11-stable/usr.sbin/mountd/
H A Dmountd.c1832 int iovlen; local
1872 iovlen = 0;
1886 build_iovec(&iov, &iovlen, "fstype", NULL, 0);
1887 build_iovec(&iov, &iovlen, "fspath", NULL, 0);
1888 build_iovec(&iov, &iovlen, "from", NULL, 0);
1889 build_iovec(&iov, &iovlen, "update", NULL, 0);
1890 build_iovec(&iov, &iovlen, "export", &export,
1892 build_iovec(&iov, &iovlen, "errmsg", errmsg,
1901 if (passno == 1 && compare_nmount_exportlist(iov, iovlen, errmsg) ==
1951 delete_export(iov, iovlen,
2053 compare_nmount_exportlist(struct iovec *iov, int iovlen, char *errmsg) argument
2288 delete_export(struct iovec *iov, int iovlen, struct statfs *fsp, char *errmsg) argument
3006 int i, iovlen; local
[all...]
/freebsd-11-stable/sys/netinet/
H A Dsctp_syscalls.c327 int iovlen,
372 uap->iovlen, &iov, EMSGSIZE);
375 error = copyiniov(uap->iov, uap->iovlen, &iov, EMSGSIZE);
395 auio.uio_iovcnt = uap->iovlen;
402 for (i = 0; i <uap->iovlen; i++, tiov++) {
457 int iovlen,
487 uap->iovlen, &iov, EMSGSIZE);
490 error = copyiniov(uap->iov, uap->iovlen, &iov, EMSGSIZE);
520 auio.uio_iovcnt = uap->iovlen;
527 for (i = 0; i <uap->iovlen;
[all...]
/freebsd-11-stable/sys/dev/hyperv/vmbus/
H A Dvmbus_brvar.h128 const struct iovec iov[], int iovlen, boolean_t *need_sig);
/freebsd-11-stable/bin/df/
H A Ddf.c137 int iovlen = 0; local
275 free_iovec(&iov, &iovlen);
276 build_iovec_argf(&iov, &iovlen, "fstype", "%s",
278 build_iovec_argf(&iov, &iovlen, "fspath", "%s",
280 build_iovec_argf(&iov, &iovlen, "from", "%s",
282 build_iovec(&iov, &iovlen, "errmsg", errmsg,
284 if (nmount(iov, iovlen,
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc134 SIZE_T iovlen, SIZE_T maxlen) {
135 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
145 SIZE_T iovlen, SIZE_T maxlen) {
146 POST_READ(iovec, sizeof(*iovec) * iovlen);
147 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {

Completed in 450 milliseconds

12