Searched refs:iovcnt (Results 1 – 5 of 5) sorted by relevance
/external/openssh/ |
D | atomicio.c | 97 const struct iovec *_iov, int iovcnt, in atomiciov6() argument 105 if (iovcnt > IOV_MAX) { in atomiciov6() 110 memcpy(iov, _iov, iovcnt * sizeof(*_iov)); in atomiciov6() 116 for (; iovcnt > 0 && iov[0].iov_len > 0;) { in atomiciov6() 117 res = (f) (fd, iov, iovcnt); in atomiciov6() 136 while (iovcnt > 0 && rem >= iov[0].iov_len) { in atomiciov6() 139 iovcnt--; in atomiciov6() 142 if (rem > 0 && (iovcnt <= 0 || rem > iov[0].iov_len)) { in atomiciov6() 146 if (iovcnt == 0) in atomiciov6() 162 const struct iovec *_iov, int iovcnt) in atomiciov() argument [all …]
|
D | atomicio.h | 47 const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
|
/external/qemu/ |
D | net-android.c | 550 int iovcnt) in vc_sendv_compat() argument 556 for (i = 0; i < iovcnt; i++) { in vc_sendv_compat() 567 static ssize_t calc_iov_length(const struct iovec *iov, int iovcnt) in calc_iov_length() argument 572 for (i = 0; i < iovcnt; i++) in calc_iov_length() 578 const struct iovec *iov, int iovcnt) in qemu_deliver_packet_iov() argument 593 ret = calc_iov_length(iov, iovcnt); in qemu_deliver_packet_iov() 598 len = vc->receive_iov(vc, iov, iovcnt); in qemu_deliver_packet_iov() 600 len = vc_sendv_compat(vc, iov, iovcnt); in qemu_deliver_packet_iov() 612 const struct iovec *iov, int iovcnt, in qemu_enqueue_packet_iov() argument 619 max_len = calc_iov_length(iov, iovcnt); in qemu_enqueue_packet_iov() [all …]
|
D | net.c | 517 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 …]
|
D | net.h | 66 int iovcnt); 68 int iovcnt, NetPacketSent *sent_cb);
|