Home
last modified time | relevance | path

Searched refs:iovcnt (Results 1 – 25 of 66) sorted by relevance

123

/netbsd/external/gpl3/gcc.old/dist/libgfortran/runtime/
H A Dstop.c61 iov[iovcnt].iov_len = strlen (iov[iovcnt].iov_base); in report_exception()
62 iovcnt++; in report_exception()
69 iov[iovcnt].iov_len = strlen (iov[iovcnt].iov_base); in report_exception()
70 iovcnt++; in report_exception()
77 iov[iovcnt].iov_len = strlen (iov[iovcnt].iov_base); in report_exception()
78 iovcnt++; in report_exception()
85 iov[iovcnt].iov_len = strlen (iov[iovcnt].iov_base); in report_exception()
86 iovcnt++; in report_exception()
93 iov[iovcnt].iov_len = strlen (iov[iovcnt].iov_base); in report_exception()
101 iov[iovcnt].iov_len = strlen (iov[iovcnt].iov_base); in report_exception()
[all …]
H A Derror.c121 estr_writev (const struct iovec *iov, int iovcnt) in estr_writev() argument
124 return writev (STDERR_FILENO, iov, iovcnt); in estr_writev()
127 for (int i = 0; i < iovcnt; i++) in estr_writev()
/netbsd/external/gpl3/gcc/dist/libgfortran/runtime/
H A Dstop.c61 iov[iovcnt].iov_len = strlen (iov[iovcnt].iov_base); in report_exception()
62 iovcnt++; in report_exception()
69 iov[iovcnt].iov_len = strlen (iov[iovcnt].iov_base); in report_exception()
70 iovcnt++; in report_exception()
77 iov[iovcnt].iov_len = strlen (iov[iovcnt].iov_base); in report_exception()
78 iovcnt++; in report_exception()
85 iov[iovcnt].iov_len = strlen (iov[iovcnt].iov_base); in report_exception()
86 iovcnt++; in report_exception()
93 iov[iovcnt].iov_len = strlen (iov[iovcnt].iov_base); in report_exception()
101 iov[iovcnt].iov_len = strlen (iov[iovcnt].iov_base); in report_exception()
[all …]
/netbsd/lib/libc/gen/
H A Dxsyslog.c155 int opened, iovcnt; in _vxsyslogp_r() local
157 iovcnt = opened = 0; in _vxsyslogp_r()
210 iovcnt++; in _vxsyslogp_r()
219 iovcnt++; in _vxsyslogp_r()
222 iovcnt++; in _vxsyslogp_r()
225 iovcnt++; in _vxsyslogp_r()
232 iovcnt++; in _vxsyslogp_r()
297 iovcnt++; in _vxsyslogp_r()
309 iov[iovcnt].iov_len = 1; in _vxsyslogp_r()
315 piovcnt = iovcnt + 1; in _vxsyslogp_r()
[all …]
/netbsd/crypto/external/bsd/openssh/dist/
H A Datomicio.c102 const struct iovec *_iov, int iovcnt, in atomiciov6() argument
110 if (iovcnt < 0 || iovcnt > IOV_MAX) { in atomiciov6()
115 memcpy(iov, _iov, (size_t)iovcnt * sizeof(*_iov)); in atomiciov6()
119 for (; iovcnt > 0 && iov[0].iov_len > 0;) { in atomiciov6()
120 res = (f) (fd, iov, iovcnt); in atomiciov6()
142 while (iovcnt > 0 && rem >= iov[0].iov_len) { in atomiciov6()
145 iovcnt--; in atomiciov6()
148 if (rem > 0 && (iovcnt <= 0 || rem > iov[0].iov_len)) { in atomiciov6()
152 if (iovcnt == 0) in atomiciov6()
168 const struct iovec *_iov, int iovcnt) in atomiciov() argument
[all …]
H A Datomicio.h50 const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
/netbsd/lib/libisns/
H A Disns_fileio.c42 isns_file_writev(int fd, const struct iovec *iov, int iovcnt) in isns_file_writev() argument
48 error = wepe_sys_writev(fd, iov, iovcnt, &rval); in isns_file_writev()
52 rval = writev(fd, iov, iovcnt); in isns_file_writev()
62 isns_file_readv(int fd, const struct iovec *iov, int iovcnt) in isns_file_readv() argument
68 error = wepe_sys_readv(fd, iov, iovcnt, &rval); in isns_file_readv()
72 rval = readv(fd, iov, iovcnt); in isns_file_readv()
H A Disns_thread.c268 int iovcnt, more, transport_evt; in isns_kevent_socket() local
298 iovcnt = 1; in isns_kevent_socket()
301 rv = isns_socket_readv(cfg_p->sd, iovp, iovcnt); in isns_kevent_socket()
385 iovcnt = 0; in isns_kevent_socket()
387 read_buf[iovcnt].iov_base = isns_buffer_data( in isns_kevent_socket()
389 read_buf[iovcnt].iov_len = curbuf_p->alloc_len - in isns_kevent_socket()
391 iovcnt++; in isns_kevent_socket()
395 read_buf[iovcnt].iov_base = isns_buffer_data(curbuf_p, in isns_kevent_socket()
397 read_buf[iovcnt].iov_len = unread_len; in isns_kevent_socket()
398 iovcnt++; in isns_kevent_socket()
[all …]
H A Disns_socketio.c90 isns_socket_writev(isns_socket_t s, const struct iovec *iov, int iovcnt) in isns_socket_writev() argument
92 return isns_file_writev(s, iov, iovcnt); in isns_socket_writev()
99 isns_socket_readv(isns_socket_t s, const struct iovec *iov, int iovcnt) in isns_socket_readv() argument
101 return isns_file_readv(s, iov, iovcnt); in isns_socket_readv()
H A Disns_task.c203 int iovcnt, cur_iovec; in isns_task_send_pdu() local
232 iovcnt = 1; in isns_task_send_pdu()
236 write_buf[iovcnt].iov_base = isns_buffer_data(buf_p,0); in isns_task_send_pdu()
237 write_buf[iovcnt].iov_len = buf_p->cur_len; in isns_task_send_pdu()
238 bytes_to_write += write_buf[iovcnt].iov_len; in isns_task_send_pdu()
239 iovcnt++; in isns_task_send_pdu()
249 iovcnt); in isns_task_send_pdu()
279 iovcnt--; in isns_task_send_pdu()
/netbsd/lib/libutil/
H A Dttymsg.c64 ttymsg(struct iovec *iov, int iovcnt, const char *line, int tmout) in ttymsg() argument
76 _DIAGASSERT(iovcnt >= 0); in ttymsg()
79 if (iovcnt < 0) { in ttymsg()
85 if ((size_t)iovcnt >= sizeof(localiov) / sizeof(localiov[0])) { in ttymsg()
88 iovcnt, sizeof(localiov) / sizeof(localiov[0])); in ttymsg()
126 for (cnt = left = 0; cnt < (size_t)iovcnt; ++cnt) in ttymsg()
130 wret = writev(fd, iov, iovcnt); in ttymsg()
137 iovcnt * sizeof(struct iovec)); in ttymsg()
143 --iovcnt; in ttymsg()
/netbsd/sys/kern/
H A Dsys_generic.c197 if (iovcnt == 0) in do_filereadv()
227 iovlen = iovcnt * sizeof(struct iovec); in do_filereadv()
232 if ((u_int)iovcnt > UIO_SMALLIOV) { in do_filereadv()
233 if ((u_int)iovcnt > IOV_MAX) { in do_filereadv()
246 auio.uio_iovcnt = iovcnt; in do_filereadv()
251 for (i = 0; i < iovcnt; i++, iov++) { in do_filereadv()
399 if (iovcnt == 0) in do_filewritev()
434 if ((u_int)iovcnt > UIO_SMALLIOV) { in do_filewritev()
435 if ((u_int)iovcnt > IOV_MAX) { in do_filewritev()
448 auio.uio_iovcnt = iovcnt; in do_filewritev()
[all …]
H A Dsubr_copy.c178 int iovcnt = uio->uio_iovcnt; in uiopeek() local
191 KASSERT(iovcnt > 0); in uiopeek()
194 KASSERT(iovcnt > 1); in uiopeek()
196 iovcnt--; in uiopeek()
/netbsd/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dwritev.c41 writev(int d, const struct iovec *iov, int iovcnt) in writev() argument
48 for(i = 0; i < iovcnt; ++i) in writev()
56 for (i = 0; i < iovcnt; ++i) { in writev()
H A Dreadv.c41 readv(int d, const struct iovec *iov, int iovcnt) in readv() argument
48 for(i = 0; i < iovcnt; ++i) in readv()
/netbsd/sys/compat/netbsd32/
H A Dnetbsd32_fs.c149 iovlen = iovcnt * sizeof(struct iovec); in dofilereadv32()
150 if ((u_int)iovcnt > UIO_SMALLIOV) { in dofilereadv32()
151 if ((u_int)iovcnt > IOV_MAX) { in dofilereadv32()
157 } else if ((u_int)iovcnt > 0) { in dofilereadv32()
166 auio.uio_iovcnt = iovcnt; in dofilereadv32()
173 for (i = 0; i < iovcnt; i++) { in dofilereadv32()
256 if ((u_int)iovcnt > UIO_SMALLIOV) { in dofilewritev32()
257 if ((u_int)iovcnt > IOV_MAX) { in dofilewritev32()
263 } else if ((u_int)iovcnt > 0) { in dofilewritev32()
272 auio.uio_iovcnt = iovcnt; in dofilewritev32()
[all …]
/netbsd/external/mit/libuv/dist/src/unix/
H A Dlinux-syscalls.c196 ssize_t uv__preadv(int fd, const struct iovec *iov, int iovcnt, int64_t offset) { in uv__preadv() argument
200 return syscall(__NR_preadv, fd, iov, iovcnt, (long)offset, (long)(offset >> 32)); in uv__preadv()
205 ssize_t uv__pwritev(int fd, const struct iovec *iov, int iovcnt, int64_t offset) { in uv__pwritev() argument
209 return syscall(__NR_pwritev, fd, iov, iovcnt, (long)offset, (long)(offset >> 32)); in uv__pwritev()
H A Dlinux-syscalls.h61 ssize_t uv__preadv(int fd, const struct iovec *iov, int iovcnt, int64_t offset);
62 ssize_t uv__pwritev(int fd, const struct iovec *iov, int iovcnt, int64_t offset);
/netbsd/lib/libc/sys/
H A Dpreadv.c49 preadv(int fd, const struct iovec *iovp, int iovcnt, off_t offset) in preadv() argument
52 return __preadv(fd, iovp, iovcnt, 0, offset); in preadv()
H A Dpwritev.c49 pwritev(int fd, const struct iovec *iovp, int iovcnt, off_t offset) in pwritev() argument
52 return __pwritev(fd, iovp, iovcnt, 0, offset); in pwritev()
/netbsd/share/examples/refuse/ian/libfetch/
H A Dcommon.c505 _fetch_writev(conn_t *conn, struct iovec *iov, int iovcnt) in _fetch_writev() argument
519 while (iovcnt > 0) { in _fetch_writev()
549 wlen = writev(conn->sd, iov, iovcnt); in _fetch_writev()
562 while (iovcnt > 0 && wlen >= (ssize_t)iov->iov_len) { in _fetch_writev()
565 iovcnt--; in _fetch_writev()
567 if (iovcnt > 0) { in _fetch_writev()
/netbsd/usr.bin/ftp/
H A Dssl.c97 fetch_writev(struct fetch_connect *conn, struct iovec *iov, int iovcnt) in fetch_writev() argument
111 while (iovcnt > 0) { in fetch_writev()
135 len = writev(fd, iov, iovcnt); in fetch_writev()
148 while (iovcnt > 0 && len >= (ssize_t)iov->iov_len) { in fetch_writev()
151 iovcnt--; in fetch_writev()
153 if (iovcnt > 0) { in fetch_writev()
/netbsd/sys/compat/linux32/common/
H A Dlinux32_misc.c406 SCARG(&ua, iovcnt) = SCARG(uap, iovcnt); in linux32_sys_preadv()
428 SCARG(&ua, iovcnt) = SCARG(uap, iovcnt); in linux32_sys_pwritev()
/netbsd/external/bsd/tmux/dist/compat/
H A Dimsg.c186 int fd, const struct iovec *iov, int iovcnt) in imsg_composev() argument
191 for (i = 0; i < iovcnt; i++) in imsg_composev()
197 for (i = 0; i < iovcnt; i++) in imsg_composev()
/netbsd/lib/libpthread/
H A Dpthread_cancelstub.c539 readv(int d, const struct iovec *iov, int iovcnt) in readv() argument
546 retval = _sys_readv(d, iov, iovcnt); in readv()
685 writev(int d, const struct iovec *iov, int iovcnt) in writev() argument
692 retval = _sys_writev(d, iov, iovcnt); in writev()

123