HomeSort by: relevance | last modified time | path
    Searched refs:iovcnt (Results 1 - 25 of 43) sorted by relevancy

1 2

  /src/lib/libisns/
isns_fileio.c 42 isns_file_writev(int fd, const struct iovec *iov, int iovcnt)
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)
68 error = wepe_sys_readv(fd, iov, iovcnt, &rval);
72 rval = readv(fd, iov, iovcnt);
isns_socketio.c 90 isns_socket_writev(isns_socket_t s, const struct iovec *iov, int iovcnt)
92 return isns_file_writev(s, iov, iovcnt);
99 isns_socket_readv(isns_socket_t s, const struct iovec *iov, int iovcnt)
101 return isns_file_readv(s, iov, iovcnt);
isns_thread.c 268 int iovcnt, more, transport_evt; local in function:isns_kevent_socket
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...]
isns_task.c 203 int iovcnt, cur_iovec; local in function:isns_task_send_pdu
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--;
  /src/lib/libc/sys/
preadv.c 49 preadv(int fd, const struct iovec *iovp, int iovcnt, off_t offset)
52 return __preadv(fd, iovp, iovcnt, 0, offset);
pwritev.c 49 pwritev(int fd, const struct iovec *iovp, int iovcnt, off_t offset)
52 return __pwritev(fd, iovp, iovcnt, 0, offset);
  /src/lib/libc/gen/
xsyslog.c 155 int opened, iovcnt; local in function:_vxsyslogp_r
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].iov_len = prlen - 1
    [all...]
  /src/lib/libutil/
ttymsg.c 64 ttymsg(struct iovec *iov, int iovcnt, const char *line, int tmout)
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...]
  /src/sys/kern/
sys_generic.c 178 syscallarg(int) iovcnt;
182 SCARG(uap, iovcnt), NULL, FOF_UPDATE_OFFSET, retval);
186 do_filereadv(int fd, const struct iovec *iovp, int iovcnt,
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;
    [all...]
subr_copy.c 178 int iovcnt = uio->uio_iovcnt; local in function:uiopeek
191 KASSERT(iovcnt > 0);
194 KASSERT(iovcnt > 1);
196 iovcnt--;
268 panic("ureadc: non-positive iovcnt");
  /src/sys/compat/netbsd32/
netbsd32_fs.c 117 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)
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);
    [all...]
  /src/share/examples/refuse/ian/libfetch/
common.c 505 _fetch_writev(conn_t *conn, struct iovec *iov, int iovcnt)
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) {
  /src/usr.bin/ftp/
ssl.c 97 fetch_writev(struct fetch_connect *conn, struct iovec *iov, int iovcnt)
111 while (iovcnt > 0) {
136 len = writev(fd, iov, iovcnt);
149 while (iovcnt > 0 && len >= (ssize_t)iov->iov_len) {
152 iovcnt--;
154 if (iovcnt > 0) {
  /src/sys/compat/linux32/common/
linux32_misc.c 398 syscallarg(int) iovcnt;
406 SCARG(&ua, iovcnt) = SCARG(uap, iovcnt);
420 syscallarg(int) iovcnt;
428 SCARG(&ua, iovcnt) = SCARG(uap, iovcnt);
  /src/lib/libpthread/
pthread_cancelstub.c 562 readv(int d, const struct iovec *iov, int iovcnt)
569 retval = _sys_readv(d, iov, iovcnt);
779 writev(int d, const struct iovec *iov, int iovcnt)
786 retval = _sys_writev(d, iov, iovcnt);
  /src/lib/libc/net/
sctp_sys_calls.c 743 const struct iovec *iov, int iovcnt,
763 (iovcnt < 0) ||
766 ((iov == NULL) && (iovcnt > 0)) ||
767 ((iov != NULL) && (iovcnt == 0))) {
940 msg.msg_iovlen = iovcnt;
  /src/sys/external/bsd/compiler_rt/dist/include/sanitizer/
netbsd_syscall_hooks.h 625 #define __sanitizer_syscall_pre_readv(fd, iovp, iovcnt) \
627 (long long)(iovcnt))
628 #define __sanitizer_syscall_post_readv(res, fd, iovp, iovcnt) \
630 (long long)(iovcnt))
631 #define __sanitizer_syscall_pre_writev(fd, iovp, iovcnt) \
633 (long long)(iovcnt))
634 #define __sanitizer_syscall_post_writev(res, fd, iovp, iovcnt) \
636 (long long)(iovp), (long long)(iovcnt))
1507 #define __sanitizer_syscall_pre_preadv(fd, iovp, iovcnt, PAD, offset) \
1509 (long long)(iovcnt), (long long)(PAD),
    [all...]
  /src/lib/librumphijack/
hijack.c 2563 (int fd, const struct iovec *iov, int iovcnt), \
2565 (fd, iov, iovcnt))
2573 (int fd, const struct iovec *iov, int iovcnt, off_t offset), \
2575 (fd, iov, iovcnt, offset))
2578 (int fd, const struct iovec *iov, int iovcnt), \
2580 (fd, iov, iovcnt))
2588 (int fd, const struct iovec *iov, int iovcnt, off_t offset), \
2590 (fd, iov, iovcnt, offset))
  /src/sys/dev/spi/
spi.c 759 int iovcnt)
768 for(int c = 0; c < iovcnt;c++) {
  /src/sys/compat/linux/common/
linux_file.c 854 syscallarg(int) iovcnt;
862 SCARG(&ua, iovcnt) = SCARG(uap, iovcnt);
879 syscallarg(int) iovcnt;
887 SCARG(&ua, iovcnt) = SCARG(uap, iovcnt);
  /src/sys/compat/linux/arch/aarch64/
linux_syscallargs.h 347 syscallarg(int) iovcnt;
355 syscallarg(const struct iovcnt *) iovp;
356 syscallarg(int) iovcnt;
  /src/sys/compat/linux/arch/i386/
linux_syscallargs.h 1330 syscallarg(int) iovcnt;
1338 syscallarg(const struct iovcnt *) iovp;
1339 syscallarg(int) iovcnt;
  /src/sys/compat/linux/arch/m68k/
linux_syscallargs.h 1282 syscallarg(int) iovcnt;
1290 syscallarg(const struct iovcnt *) iovp;
1291 syscallarg(int) iovcnt;
  /src/sys/compat/linux/arch/mips/
linux_syscallargs.h 1329 syscallarg(int) iovcnt;
1337 syscallarg(const struct iovcnt *) iovp;
1338 syscallarg(int) iovcnt;
  /src/sys/compat/linux/arch/powerpc/
linux_syscallargs.h 1216 syscallarg(int) iovcnt;
1224 syscallarg(const struct iovcnt *) iovp;
1225 syscallarg(int) iovcnt;

Completed in 36 milliseconds

1 2