Searched refs:iovlen (Results 1 - 25 of 36) sorted by last modified time

12

/freebsd-11-stable/sys/compat/freebsd32/
H A Dfreebsd32_misc.c740 u_int iovlen; local
746 iovlen = iovcnt * sizeof(struct iovec);
747 uio = malloc(iovlen + sizeof *uio, M_IOV, M_WAITOK);
837 u_int iovlen; local
843 iovlen = iovcnt * sizeof(struct iovec);
844 iov = malloc(iovlen, M_IOV, M_WAITOK);
H A Dfreebsd32_systrace_args.c2492 iarg[2] = p->iovlen; /* int */
2505 iarg[2] = p->iovlen; /* int */
/freebsd-11-stable/sbin/init/
H A Dinit.c725 int error, iovlen; local
728 iovlen = 0;
730 build_iovec(&iov, &iovlen, "fstype",
732 build_iovec(&iov, &iovlen, "fspath",
734 build_iovec(&iov, &iovlen, "errmsg",
737 error = nmount(iov, iovlen, 0);
/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/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) {
H A Dsanitizer_common_interceptors.inc984 SIZE_T iovlen, SIZE_T maxlen) {
985 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
993 SIZE_T iovlen, SIZE_T maxlen) {
994 COMMON_INTERCEPTOR_READ_RANGE(ctx, iovec, sizeof(*iovec) * iovlen);
995 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
3038 R(iovlen);
/freebsd-11-stable/usr.sbin/syslogd/
H A Dsyslogd.c451 static void wallmsg(struct filed *, struct iovec *, const int iovlen);
2109 wallmsg(struct filed *f, struct iovec *iov, const int iovlen) argument
2124 if ((p = ttymsg(iov, iovlen, ut->ut_line,
2136 if ((p = ttymsg_check(iov, iovlen, ut->ut_line,
/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/amd64/linux32/
H A Dlinux32_machdep.c153 uint32_t iovlen; local
159 iovlen = iovcnt * sizeof(struct iovec);
160 uio = malloc(iovlen + sizeof(*uio), M_IOV, M_WAITOK);
194 uint32_t iovlen; local
200 iovlen = iovcnt * sizeof(struct iovec);
201 iov = malloc(iovlen, M_IOV, M_WAITOK);
/freebsd-11-stable/lib/libc/net/
H A Dsctp_sys_calls.c882 int iovlen,
913 msg.msg_iovlen = iovlen;
880 sctp_recvv(int sd, const struct iovec *iov, int iovlen, struct sockaddr *from, socklen_t * fromlen, void *info, socklen_t * infolen, unsigned int *infotype, int *flags) argument
/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/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/sys/sys/
H A Dsysproto.h1407 char iovlen_l_[PADL_(int)]; int iovlen; char iovlen_r_[PADR_(int)]; member in struct:sctp_generic_sendmsg_iov_args
1416 char iovlen_l_[PADL_(int)]; int iovlen; char iovlen_r_[PADR_(int)]; member in struct:sctp_generic_recvmsg_args
/freebsd-11-stable/sys/mips/cavium/cryptocteon/
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...]
/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/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/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/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/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/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/sys/kern/
H A Dsystrace_args.c2654 iarg[2] = p->iovlen; /* int */
2667 iarg[2] = p->iovlen; /* int */
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/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/sys/dev/hyperv/vmbus/
H A Dvmbus_br.c270 vmbus_txbr_write(struct vmbus_txbr *tbr, const struct iovec iov[], int iovlen, argument
278 for (i = 0; i < iovlen; i++)
303 for (i = 0; i < iovlen; i++) {
H A Dvmbus_brvar.h128 const struct iovec iov[], int iovlen, boolean_t *need_sig);

Completed in 348 milliseconds

12