Home
last modified time | relevance | path

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

/external/chromium_org/net/quic/
Diovector.h20 inline size_t TotalIovecLength(const struct iovec* iov, size_t iovcnt) { in TotalIovecLength() argument
23 for (size_t i = 0; i < iovcnt; ++i) { in TotalIovecLength()
69 void AppendIovec(const struct iovec* iov, size_t iovcnt) { in AppendIovec() argument
70 for (size_t i = 0; i < iovcnt; ++i) in AppendIovec()
76 size_t iovcnt, in AppendIovecAtMostBytes() argument
79 for (size_t i = 0; i < iovcnt && max_bytes > 0; ++i) { in AppendIovecAtMostBytes()
/external/fio/os/windows/posix/include/sys/
Duio.h13 ssize_t readv(int fildes, const struct iovec *iov, int iovcnt);
14 ssize_t writev(int fildes, const struct iovec *iov, int iovcnt);
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_socket.c594 copyiniov(struct iovec *iovp, u_int iovcnt, struct iovec **iov, int error) in copyiniov() argument
599 if (iovcnt > UIO_MAXIOV) in copyiniov()
601 iovlen = iovcnt * sizeof (struct iovec); in copyiniov()
2768 int iovcnt; local
2850 for (iovcnt = 0; m != NULL && iovcnt < MAXLEN_MBUF_CHAIN; m = m->m_next, iovcnt++) {
2852 send_iovec[iovcnt].iov_base = (caddr_t)m->m_data;
2853 send_iovec[iovcnt].iov_len = SCTP_BUF_LEN(m);
2854 send_count += send_iovec[iovcnt].iov_len;
2856 send_iovec[iovcnt].buf = (caddr_t)m->m_data;
2857 send_iovec[iovcnt].len = SCTP_BUF_LEN(m);
[all …]
/external/qemu/
Dsavevm.c185 unsigned int iovcnt; member
202 static ssize_t socket_writev_buffer(void *opaque, struct iovec *iov, int iovcnt, in socket_writev_buffer() argument
207 ssize_t size = iov_size(iov, iovcnt); in socket_writev_buffer()
209 len = iov_send(s->fd, iov, iovcnt, 0, size); in socket_writev_buffer()
394 static ssize_t unix_writev_buffer(void *opaque, struct iovec *iov, int iovcnt, in unix_writev_buffer() argument
399 ssize_t size = iov_size(iov, iovcnt); in unix_writev_buffer()
402 assert(iovcnt > 0); in unix_writev_buffer()
408 iov++, iovcnt--; in unix_writev_buffer()
412 assert(iovcnt > 0); in unix_writev_buffer()
417 len = writev(s->fd, iov, iovcnt); in unix_writev_buffer()
[all …]
/external/qemu/net/
Dnet.c517 int iovcnt) in vc_sendv_compat() argument
523 for (i = 0; i < iovcnt; i++) { in vc_sendv_compat()
534 static ssize_t calc_iov_length(const struct iovec *iov, int iovcnt) in calc_iov_length() argument
539 for (i = 0; i < iovcnt; i++) in calc_iov_length()
545 const struct iovec *iov, int iovcnt) in qemu_deliver_packet_iov() argument
560 ret = calc_iov_length(iov, iovcnt); in qemu_deliver_packet_iov()
565 len = vc->receive_iov(vc, iov, iovcnt); in qemu_deliver_packet_iov()
567 len = vc_sendv_compat(vc, iov, iovcnt); in qemu_deliver_packet_iov()
579 const struct iovec *iov, int iovcnt, in qemu_enqueue_packet_iov() argument
586 max_len = calc_iov_length(iov, iovcnt); in qemu_enqueue_packet_iov()
[all …]
Dnet-android.c525 int iovcnt) in vc_sendv_compat() argument
531 for (i = 0; i < iovcnt; i++) { in vc_sendv_compat()
542 static ssize_t calc_iov_length(const struct iovec *iov, int iovcnt) in calc_iov_length() argument
547 for (i = 0; i < iovcnt; i++) in calc_iov_length()
553 const struct iovec *iov, int iovcnt) in qemu_deliver_packet_iov() argument
568 ret = calc_iov_length(iov, iovcnt); in qemu_deliver_packet_iov()
573 len = vc->receive_iov(vc, iov, iovcnt); in qemu_deliver_packet_iov()
575 len = vc_sendv_compat(vc, iov, iovcnt); in qemu_deliver_packet_iov()
587 const struct iovec *iov, int iovcnt, in qemu_enqueue_packet_iov() argument
594 max_len = calc_iov_length(iov, iovcnt); in qemu_enqueue_packet_iov()
[all …]
/external/kernel-headers/original/uapi/linux/
Dmic_ioctl.h42 __u32 iovcnt; member
/external/qemu/include/net/
Dnet.h66 int iovcnt);
68 int iovcnt, NetPacketSent *sent_cb);
/external/fio/os/windows/
Dposix.c703 ssize_t readv(int fildes, const struct iovec *iov, int iovcnt) in readv() argument
710 ssize_t writev(int fildes, const struct iovec *iov, int iovcnt) in writev() argument
714 for (i = 0; i < iovcnt; i++) in writev()
/external/qemu/include/migration/
Dqemu-file.h72 int iovcnt, int64_t pos);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc392 int iovcnt) {
394 COMMON_INTERCEPTOR_ENTER(ctx, readv, fd, iov, iovcnt);
396 SSIZE_T res = REAL(readv)(fd, iov, iovcnt);
397 if (res > 0) write_iovec(ctx, iov, iovcnt, res);
407 INTERCEPTOR(SSIZE_T, preadv, int fd, __sanitizer_iovec *iov, int iovcnt,
410 COMMON_INTERCEPTOR_ENTER(ctx, preadv, fd, iov, iovcnt, offset);
412 SSIZE_T res = REAL(preadv)(fd, iov, iovcnt, offset);
413 if (res > 0) write_iovec(ctx, iov, iovcnt, res);
423 INTERCEPTOR(SSIZE_T, preadv64, int fd, __sanitizer_iovec *iov, int iovcnt,
426 COMMON_INTERCEPTOR_ENTER(ctx, preadv64, fd, iov, iovcnt, offset);
[all …]