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

123

/netbsd-current/external/gpl3/gcc.old/dist/libgfortran/runtime/
H A Dstop.c45 int set_excepts, iovcnt = 1; local
60 iov[iovcnt].iov_base = (char*) " IEEE_INVALID_FLAG";
61 iov[iovcnt].iov_len = strlen (iov[iovcnt].iov_base);
62 iovcnt++;
68 iov[iovcnt].iov_base = (char*) " IEEE_DIVIDE_BY_ZERO";
69 iov[iovcnt].iov_len = strlen (iov[iovcnt].iov_base);
70 iovcnt++;
76 iov[iovcnt]
[all...]
H A Derror.c121 estr_writev (const struct iovec *iov, int iovcnt) argument
124 return writev (STDERR_FILENO, iov, iovcnt);
127 for (int i = 0; i < iovcnt; i++)
/netbsd-current/external/gpl3/gcc/dist/libgfortran/runtime/
H A Dstop.c45 int set_excepts, iovcnt = 1; local
60 iov[iovcnt].iov_base = (char*) " IEEE_INVALID_FLAG";
61 iov[iovcnt].iov_len = strlen (iov[iovcnt].iov_base);
62 iovcnt++;
68 iov[iovcnt].iov_base = (char*) " IEEE_DIVIDE_BY_ZERO";
69 iov[iovcnt].iov_len = strlen (iov[iovcnt].iov_base);
70 iovcnt++;
76 iov[iovcnt]
[all...]
H A Derror.c121 estr_writev (const struct iovec *iov, int iovcnt) argument
124 return writev (STDERR_FILENO, iov, iovcnt);
127 for (int i = 0; i < iovcnt; i++)
/netbsd-current/lib/libisns/
H A Disns_fileio.c42 isns_file_writev(int fd, const struct iovec *iov, int iovcnt) argument
48 error = wepe_sys_writev(fd, iov, iovcnt, &rval);
52 rval = writev(fd, iov, iovcnt);
62 isns_file_readv(int fd, const struct iovec *iov, int iovcnt) argument
68 error = wepe_sys_readv(fd, iov, iovcnt, &rval);
72 rval = readv(fd, iov, iovcnt);
H A Disns_socketio.c90 isns_socket_writev(isns_socket_t s, const struct iovec *iov, int iovcnt) argument
92 return isns_file_writev(s, iov, iovcnt);
99 isns_socket_readv(isns_socket_t s, const struct iovec *iov, int iovcnt) argument
101 return isns_file_readv(s, iov, iovcnt);
H A Disns_thread.c268 int iovcnt, more, transport_evt; local
298 iovcnt = 1;
301 rv = isns_socket_readv(cfg_p->sd, iovp, iovcnt);
385 iovcnt = 0;
387 read_buf[iovcnt].iov_base = isns_buffer_data(
389 read_buf[iovcnt].iov_len = curbuf_p->alloc_len -
391 iovcnt++;
395 read_buf[iovcnt].iov_base = isns_buffer_data(curbuf_p,
397 read_buf[iovcnt].iov_len = unread_len;
398 iovcnt
[all...]
H A Disns_task.c203 int iovcnt, cur_iovec; local
232 iovcnt = 1;
236 write_buf[iovcnt].iov_base = isns_buffer_data(buf_p,0);
237 write_buf[iovcnt].iov_len = buf_p->cur_len;
238 bytes_to_write += write_buf[iovcnt].iov_len;
239 iovcnt++;
243 /* iovcnt and bytes_to_write are initialized */
249 iovcnt);
279 iovcnt--;
/netbsd-current/lib/libc/sys/
H A Dpreadv.c49 preadv(int fd, const struct iovec *iovp, int iovcnt, off_t offset) argument
52 return __preadv(fd, iovp, iovcnt, 0, offset);
H A Dpwritev.c49 pwritev(int fd, const struct iovec *iovp, int iovcnt, off_t offset) argument
52 return __pwritev(fd, iovp, iovcnt, 0, offset);
/netbsd-current/lib/libc/gen/
H A Dxsyslog.c155 int opened, iovcnt; local
157 iovcnt = opened = 0;
208 iov[iovcnt].iov_base = p;
209 iov[iovcnt].iov_len = prlen - 1;
210 iovcnt++;
217 iov[iovcnt].iov_base = __UNCONST("[");
218 iov[iovcnt].iov_len = 1;
219 iovcnt++;
220 iov[iovcnt].iov_base = p;
221 iov[iovcnt]
[all...]
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Datomicio.c102 const struct iovec *_iov, int iovcnt,
110 if (iovcnt < 0 || iovcnt > IOV_MAX) {
115 memcpy(iov, _iov, (size_t)iovcnt * sizeof(*_iov));
119 for (; iovcnt > 0 && iov[0].iov_len > 0;) {
120 res = (f) (fd, iov, iovcnt);
142 while (iovcnt > 0 && rem >= iov[0].iov_len) {
145 iovcnt--;
148 if (rem > 0 && (iovcnt <= 0 || rem > iov[0].iov_len)) {
152 if (iovcnt
101 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
167 atomiciov(ssize_t (f) int, const struct iovec *, int), int fd, const struct iovec *_iov, int iovcnt) argument
[all...]
H A Datomicio.h50 const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dwritev.c41 writev(int d, const struct iovec *iov, int iovcnt) argument
48 for(i = 0; i < iovcnt; ++i)
56 for (i = 0; i < iovcnt; ++i) {
H A Dreadv.c41 readv(int d, const struct iovec *iov, int iovcnt) argument
48 for(i = 0; i < iovcnt; ++i)
/netbsd-current/lib/libutil/
H A Dttymsg.c64 ttymsg(struct iovec *iov, int iovcnt, const char *line, int tmout) argument
76 _DIAGASSERT(iovcnt >= 0);
79 if (iovcnt < 0) {
81 "%s: negative iovcnt", __func__);
85 if ((size_t)iovcnt >= sizeof(localiov) / sizeof(localiov[0])) {
88 iovcnt, sizeof(localiov) / sizeof(localiov[0]));
126 for (cnt = left = 0; cnt < (size_t)iovcnt; ++cnt)
130 wret = writev(fd, iov, iovcnt);
137 iovcnt * sizeof(struct iovec));
143 --iovcnt;
[all...]
/netbsd-current/external/mit/libuv/dist/src/unix/
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);
H A Dlinux-syscalls.c196 ssize_t uv__preadv(int fd, const struct iovec *iov, int iovcnt, int64_t offset) { argument
200 return syscall(__NR_preadv, fd, iov, iovcnt, (long)offset, (long)(offset >> 32));
205 ssize_t uv__pwritev(int fd, const struct iovec *iov, int iovcnt, int64_t offset) { argument
209 return syscall(__NR_pwritev, fd, iov, iovcnt, (long)offset, (long)(offset >> 32));
/netbsd-current/sys/kern/
H A Dsys_generic.c178 syscallarg(int) iovcnt;
182 SCARG(uap, iovcnt), NULL, FOF_UPDATE_OFFSET, retval);
186 do_filereadv(int fd, const struct iovec *iovp, int iovcnt, argument
197 if (iovcnt == 0)
227 iovlen = iovcnt * sizeof(struct iovec);
232 if ((u_int)iovcnt > UIO_SMALLIOV) {
233 if ((u_int)iovcnt > IOV_MAX) {
246 auio.uio_iovcnt = iovcnt;
251 for (i = 0; i < iovcnt; i++, iov++) {
380 syscallarg(int) iovcnt;
388 do_filewritev(int fd, const struct iovec *iovp, int iovcnt, off_t *offset, int flags, register_t *retval) argument
[all...]
H A Dsubr_copy.c178 int iovcnt = uio->uio_iovcnt; local
191 KASSERT(iovcnt > 0);
194 KASSERT(iovcnt > 1);
196 iovcnt--;
268 panic("ureadc: non-positive iovcnt");
/netbsd-current/sys/compat/netbsd32/
H A Dnetbsd32_fs.c117 syscallarg(int) iovcnt;
132 SCARG(uap, iovcnt), &fp->f_offset, FOF_UPDATE_OFFSET, retval);
137 dofilereadv32(int fd, struct file *fp, struct netbsd32_iovec *iovp, int iovcnt, off_t *offset, int flags, register_t *retval) argument
148 /* note: can't use iovlen until iovcnt is validated */
149 iovlen = iovcnt * sizeof(struct iovec);
150 if ((u_int)iovcnt > UIO_SMALLIOV) {
151 if ((u_int)iovcnt > IOV_MAX) {
157 } else if ((u_int)iovcnt > 0) {
166 auio.uio_iovcnt = iovcnt;
169 error = netbsd32_to_iovecin(iovp, iov, iovcnt);
243 dofilewritev32(int fd, struct file *fp, struct netbsd32_iovec *iovp, int iovcnt, off_t *offset, int flags, register_t *retval) argument
[all...]
/netbsd-current/external/bsd/tmux/dist/compat/
H A Dimsg.c186 int fd, const struct iovec *iov, int iovcnt)
191 for (i = 0; i < iovcnt; i++)
197 for (i = 0; i < iovcnt; i++)
185 imsg_composev(struct imsgbuf *ibuf, uint32_t type, uint32_t peerid, pid_t pid, int fd, const struct iovec *iov, int iovcnt) argument
/netbsd-current/share/examples/refuse/ian/libfetch/
H A Dcommon.c505 _fetch_writev(conn_t *conn, struct iovec *iov, int iovcnt) argument
519 while (iovcnt > 0) {
549 wlen = writev(conn->sd, iov, iovcnt);
562 while (iovcnt > 0 && wlen >= (ssize_t)iov->iov_len) {
565 iovcnt--;
567 if (iovcnt > 0) {
/netbsd-current/usr.bin/ftp/
H A Dssl.c97 fetch_writev(struct fetch_connect *conn, struct iovec *iov, int iovcnt) argument
111 while (iovcnt > 0) {
135 len = writev(fd, iov, iovcnt);
148 while (iovcnt > 0 && len >= (ssize_t)iov->iov_len) {
151 iovcnt--;
153 if (iovcnt > 0) {
/netbsd-current/sys/compat/linux32/common/
H A Dlinux32_misc.c398 syscallarg(int) iovcnt;
406 SCARG(&ua, iovcnt) = SCARG(uap, iovcnt);
420 syscallarg(int) iovcnt;
428 SCARG(&ua, iovcnt) = SCARG(uap, iovcnt);

Completed in 271 milliseconds

123