Searched refs:iovcnt (Results 1 - 25 of 34) sorted by relevance

12

/freebsd-9.3-release/lib/libkse/thread/
H A Dthr_readv.c43 ssize_t __readv(int fd, const struct iovec *iov, int iovcnt);
48 __readv(int fd, const struct iovec *iov, int iovcnt) argument
54 ret = __sys_readv(fd, iov, iovcnt);
H A Dthr_writev.c42 ssize_t __writev(int fd, const struct iovec *iov, int iovcnt);
47 __writev(int fd, const struct iovec *iov, int iovcnt) argument
53 ret = __sys_writev(fd, iov, iovcnt);
/freebsd-9.3-release/crypto/openssh/
H A Datomicio.c101 const struct iovec *_iov, int iovcnt,
109 if (iovcnt > IOV_MAX) {
114 memcpy(iov, _iov, iovcnt * sizeof(*_iov));
120 for (; iovcnt > 0 && iov[0].iov_len > 0;) {
121 res = (f) (fd, iov, iovcnt);
140 while (iovcnt > 0 && rem >= iov[0].iov_len) {
143 iovcnt--;
146 if (rem > 0 && (iovcnt <= 0 || rem > iov[0].iov_len)) {
150 if (iovcnt == 0)
166 const struct iovec *_iov, int iovcnt)
100 atomiciov6(ssize_t (f) int, const struct iovec *, int), int fd, const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *cb_arg) argument
165 atomiciov(ssize_t (f) int, const struct iovec *, int), int fd, const struct iovec *_iov, int iovcnt) argument
[all...]
H A Datomicio.h47 const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dwritev.c42 writev(int d, const struct iovec *iov, int iovcnt) argument
49 for(i = 0; i < iovcnt; ++i)
57 for (i = 0; i < iovcnt; ++i) {
H A Dreadv.c42 readv(int d, const struct iovec *iov, int iovcnt) argument
49 for(i = 0; i < iovcnt; ++i)
/freebsd-9.3-release/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_uio.c55 int error, iovcnt; local
57 iovcnt = uio->uio_iovcnt;
60 for (iov = uio->uio_iov; n > 0 && iovcnt > 0; iov++, iovcnt--) {
/freebsd-9.3-release/usr.bin/wall/
H A Dttymsg.c60 ttymsg(struct iovec *iov, int iovcnt, const char *line, int tmout) argument
71 if (iovcnt > (int)(sizeof(localiov) / sizeof(localiov[0])))
97 for (cnt = 0, left = 0; cnt < iovcnt; ++cnt)
101 wret = writev(fd, iov, iovcnt);
108 iovcnt * sizeof(struct iovec));
114 --iovcnt;
/freebsd-9.3-release/contrib/sendmail/libmilter/
H A Dcomm.c231 ** iovcnt -- number of elements in io vector
241 retry_writev(fd, iov, iovcnt, timeout)
244 int iovcnt;
254 while (iovcnt > 0 && iov[0].iov_len == 0)
257 iovcnt--;
259 if (iovcnt <= 0)
280 n = writev(fd, iov, iovcnt);
289 for (i = 0; i < iovcnt; i++)
300 if (i == iovcnt)
330 int iovcnt; local
[all...]
/freebsd-9.3-release/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 Dcryptocteon.c344 size_t iovcnt, iovlen; local
445 iovcnt = 0;
449 od->octo_iov[iovcnt].iov_base = mtod(m, void *);
450 od->octo_iov[iovcnt].iov_len = m->m_len;
453 iovlen += od->octo_iov[iovcnt++].iov_len;
457 for (iovcnt = 0; iovcnt < uiop->uio_iovcnt; iovcnt++) {
458 od->octo_iov[iovcnt].iov_base = uiop->uio_iov[iovcnt]
495 (*od->octo_encrypt)(od, od->octo_iov, iovcnt, iovlen, local
498 (*od->octo_decrypt)(od, od->octo_iov, iovcnt, iovlen, local
[all...]
H A Dcavium_crypto.c345 struct iovec *iov, size_t iovcnt, size_t iovlen,
408 struct iovec *iov, size_t iovcnt, size_t iovlen,
473 struct iovec *iov, size_t iovcnt, size_t iovlen,
547 struct iovec *iov, size_t iovcnt, size_t iovlen,
623 struct iovec *iov, size_t iovcnt, size_t iovlen,
729 struct iovec *iov, size_t iovcnt, size_t iovlen,
838 struct iovec *iov, size_t iovcnt, size_t iovlen,
991 struct iovec *iov, size_t iovcnt, size_t iovlen,
1147 struct iovec *iov, size_t iovcnt, size_t iovlen,
1303 struct iovec *iov, size_t iovcnt, size_
343 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
406 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
471 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
545 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
621 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
727 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
836 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
989 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
1145 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
1301 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
1459 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
1641 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
1822 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
2023 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-9.3-release/sys/sys/
H A Duio.h92 int copyiniov(struct iovec *iovp, u_int iovcnt, struct iovec **iov,
96 int copyinuio(struct iovec *iovp, u_int iovcnt, struct uio **uiop);
/freebsd-9.3-release/sys/kern/
H A Dsubr_uio.c490 copyiniov(struct iovec *iovp, u_int iovcnt, struct iovec **iov, int error) argument
495 if (iovcnt > UIO_MAXIOV)
497 iovlen = iovcnt * sizeof (struct iovec);
508 copyinuio(struct iovec *iovp, u_int iovcnt, struct uio **uiop) argument
516 if (iovcnt > UIO_MAXIOV)
518 iovlen = iovcnt * sizeof (struct iovec);
527 uio->uio_iovcnt = iovcnt;
531 for (i = 0; i < iovcnt; i++) {
H A Dvfs_mount.c265 unsigned int i, iovcnt; local
271 iovcnt = auio->uio_iovcnt;
272 for (i = 0; i < iovcnt; i += 2) {
371 unsigned int iovcnt;
377 u_int iovcnt; local
388 CTR4(KTR_VFS, "%s: iovp %p with iovcnt %d and flags %d", __func__,
389 uap->iovp, uap->iovcnt, flags);
400 iovcnt = uap->iovcnt;
405 if ((iovcnt
[all...]
H A Dsys_generic.c228 u_int iovcnt; member in struct:readv_args
237 error = copyinuio(uap->iovp, uap->iovcnt, &auio);
266 u_int iovcnt; member in struct:preadv_args
276 error = copyinuio(uap->iovp, uap->iovcnt, &auio);
437 u_int iovcnt; member in struct:writev_args
446 error = copyinuio(uap->iovp, uap->iovcnt, &auio);
475 u_int iovcnt; member in struct:pwritev_args
485 error = copyinuio(uap->iovp, uap->iovcnt, &auio);
/freebsd-9.3-release/sys/amd64/linux32/
H A Dlinux32_machdep.c169 linux32_copyinuio(struct l_iovec32 *iovp, l_ulong iovcnt, struct uio **uiop) argument
178 if (iovcnt > UIO_MAXIOV)
180 iovlen = iovcnt * sizeof(struct iovec);
183 for (i = 0; i < iovcnt; i++) {
193 uio->uio_iovcnt = iovcnt;
197 for (i = 0; i < iovcnt; i++) {
210 linux32_copyiniov(struct l_iovec32 *iovp32, l_ulong iovcnt, struct iovec **iovp, argument
219 if (iovcnt > UIO_MAXIOV)
221 iovlen = iovcnt * sizeof(struct iovec);
223 for (i = 0; i < iovcnt;
[all...]
/freebsd-9.3-release/usr.bin/csup/
H A Dmux.c218 sock_writev(int s, struct iovec *iov, int iovcnt) argument
223 nbytes = writev(s, iov, iovcnt);
228 iovcnt--;
785 int error, id, iovcnt, what = 0; local
847 iovcnt = 1;
851 iov[iovcnt].iov_base = buf->data + buf->out;
852 iov[iovcnt].iov_len = len;
853 iovcnt++;
856 iov[iovcnt].iov_base = buf->data;
857 iov[iovcnt]
[all...]
/freebsd-9.3-release/usr.sbin/rtadvd/
H A Dcontrol.c175 int iovcnt; local
184 iovcnt = 1;
189 iovcnt++;
197 cm->cm_type, iovcnt, iov_len_total);
199 len = writev(fd, iov, iovcnt);
/freebsd-9.3-release/sys/compat/freebsd32/
H A Dfreebsd32_util.h110 int freebsd32_copyiniov(struct iovec32 *iovp, u_int iovcnt,
H A Dfreebsd32_misc.c827 freebsd32_copyinuio(struct iovec32 *iovp, u_int iovcnt, struct uio **uiop) argument
836 if (iovcnt > UIO_MAXIOV)
838 iovlen = iovcnt * sizeof(struct iovec);
841 for (i = 0; i < iovcnt; i++) {
851 uio->uio_iovcnt = iovcnt;
855 for (i = 0; i < iovcnt; i++) {
873 error = freebsd32_copyinuio(uap->iovp, uap->iovcnt, &auio);
887 error = freebsd32_copyinuio(uap->iovp, uap->iovcnt, &auio);
901 error = freebsd32_copyinuio(uap->iovp, uap->iovcnt, &auio);
915 error = freebsd32_copyinuio(uap->iovp, uap->iovcnt,
924 freebsd32_copyiniov(struct iovec32 *iovp32, u_int iovcnt, struct iovec **iovp, int error) argument
[all...]
H A Dfreebsd32_proto.h112 char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; member in struct:freebsd32_readv_args
117 char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; member in struct:freebsd32_writev_args
255 char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; member in struct:freebsd32_preadv_args
262 char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; member in struct:freebsd32_pwritev_args
327 char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)]; member in struct:freebsd32_nmount_args
570 char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)]; member in struct:freebsd32_jail_get_args
575 char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)]; member in struct:freebsd32_jail_set_args
/freebsd-9.3-release/lib/libthr/thread/
H A Dthr_syscalls.c474 __readv(int fd, const struct iovec *iov, int iovcnt) argument
480 ret = __sys_readv(fd, iov, iovcnt);
754 __writev(int fd, const struct iovec *iov, int iovcnt) argument
760 ret = __sys_writev(fd, iov, iovcnt);
/freebsd-9.3-release/lib/libfetch/
H A Dcommon.c1083 fetch_writev(conn_t *conn, struct iovec *iov, int iovcnt) argument
1099 while (iovcnt > 0) {
1125 wlen = writev(conn->sd, iov, iovcnt);
1139 while (iovcnt > 0 && wlen >= (ssize_t)iov->iov_len) {
1142 iovcnt--;
1144 if (iovcnt > 0) {
/freebsd-9.3-release/lib/libc/net/
H A Dsctp_sys_calls.c937 const struct iovec *iov, int iovcnt,
955 (iovcnt < 0) ||
958 ((iov == NULL) && (iovcnt > 0)) ||
959 ((iov != NULL) && (iovcnt == 0))) {
1129 msg.msg_iovlen = iovcnt;
936 sctp_sendv(int sd, const struct iovec *iov, int iovcnt, struct sockaddr *addrs, int addrcnt, void *info, socklen_t infolen, unsigned int infotype, int flags) argument

Completed in 189 milliseconds

12