/external/qemu/slirp/ |
D | socket.c | 105 iov[1].iov_len = 0; in sopreprbuf() 107 iov[0].iov_len = sb->sb_rptr - sb->sb_wptr; in sopreprbuf() 109 if (iov[0].iov_len > len) in sopreprbuf() 110 iov[0].iov_len = len; in sopreprbuf() 111 if (iov[0].iov_len > mss) in sopreprbuf() 112 iov[0].iov_len -= iov[0].iov_len%mss; in sopreprbuf() 115 iov[0].iov_len = (sb->sb_data + sb->sb_datalen) - sb->sb_wptr; in sopreprbuf() 117 if (iov[0].iov_len > len) iov[0].iov_len = len; in sopreprbuf() 118 len -= iov[0].iov_len; in sopreprbuf() 121 iov[1].iov_len = sb->sb_rptr - sb->sb_data; in sopreprbuf() [all …]
|
/external/qemu/slirp-android/ |
D | socket.c | 113 iov[1].iov_len = 0; in sopreprbuf() 115 iov[0].iov_len = sb->sb_rptr - sb->sb_wptr; in sopreprbuf() 117 if (iov[0].iov_len > len) in sopreprbuf() 118 iov[0].iov_len = len; in sopreprbuf() 119 if (iov[0].iov_len > mss) in sopreprbuf() 120 iov[0].iov_len -= iov[0].iov_len%mss; in sopreprbuf() 123 iov[0].iov_len = (sb->sb_data + sb->sb_datalen) - sb->sb_wptr; in sopreprbuf() 125 if (iov[0].iov_len > len) iov[0].iov_len = len; in sopreprbuf() 126 len -= iov[0].iov_len; in sopreprbuf() 129 iov[1].iov_len = sb->sb_rptr - sb->sb_data; in sopreprbuf() [all …]
|
/external/qemu/hw/ |
D | scsi-disk.c | 96 r->iov.iov_len = 0; in scsi_new_request() 175 DPRINTF("Data ready tag=0x%x len=%d\n", r->tag, r->iov.iov_len); in scsi_read_complete() 177 s->completion(s->opaque, SCSI_REASON_DATA, r->tag, r->iov.iov_len); in scsi_read_complete() 195 DPRINTF("Read buf_len=%d\n", r->iov.iov_len); in scsi_read_data() 197 s->completion(s->opaque, SCSI_REASON_DATA, r->tag, r->iov.iov_len); in scsi_read_data() 210 r->iov.iov_len = n * 512; in scsi_read_data() 253 n = r->iov.iov_len / 512; in scsi_write_complete() 263 r->iov.iov_len = len; in scsi_write_complete() 274 n = r->iov.iov_len / 512; in scsi_write_request() 429 r->iov.iov_len = 4; in scsi_send_command() [all …]
|
/external/qemu/ |
D | cutils.c | 153 qiov->size += iov[i].iov_len; in qemu_iovec_init_external() 165 qiov->iov[qiov->niov].iov_len = len; in qemu_iovec_add() 185 if (done + src->iov[i].iov_len > size) { in qemu_iovec_concat() 189 qemu_iovec_add(dst, src->iov[i].iov_base, src->iov[i].iov_len); in qemu_iovec_concat() 191 done += src->iov[i].iov_len; in qemu_iovec_concat() 216 memcpy(p, qiov->iov[i].iov_base, qiov->iov[i].iov_len); in qemu_iovec_to_buffer() 217 p += qiov->iov[i].iov_len; in qemu_iovec_to_buffer() 229 if (copy > qiov->iov[i].iov_len) in qemu_iovec_from_buffer() 230 copy = qiov->iov[i].iov_len; in qemu_iovec_from_buffer()
|
D | bt-vhci.c | 101 iv[0].iov_len = 1; in vhci_host_send() 103 iv[1].iov_len = len; in vhci_host_send()
|
D | bt-host.c | 56 iv[0].iov_len = 1; in bt_host_send() 58 iv[1].iov_len = len; in bt_host_send()
|
D | dma-helpers.c | 77 dbs->iov.iov[i].iov_len, !dbs->is_write, in dma_bdrv_unmap() 78 dbs->iov.iov[i].iov_len); in dma_bdrv_unmap()
|
D | qemu-common.h | 44 size_t iov_len; member
|
/external/kernel-headers/original/linux/sunrpc/ |
D | svc.h | 87 iov->iov_len -= sizeof(u32); in svc_getu32() 95 iov->iov_len += sizeof(*vp); in svc_ungetu32() 100 u32 *vp = iov->iov_base + iov->iov_len; in svc_putu32() 102 iov->iov_len += sizeof(u32); in svc_putu32() 177 && cp <= (char*)vec->iov_base + vec->iov_len; in xdr_argsize_check() 186 vec->iov_len = cp - (char*)vec->iov_base; in xdr_ressize_check() 188 return vec->iov_len <= PAGE_SIZE; in xdr_ressize_check()
|
D | xdr.h | 133 return iov->iov_len = ((u8 *) p - (u8 *) iov->iov_base); in xdr_adjust_iovec()
|
/external/kernel-headers/original/linux/ |
D | uio.h | 23 __kernel_size_t iov_len; /* Must be size_t (1003.1g) */ member 30 size_t iov_len; member 60 ret += iov[seg].iov_len; in iov_length()
|
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
D | l2_packet_privsep.c | 42 io[0].iov_len = sizeof(cmd); in wpa_priv_cmd() 44 io[1].iov_len = data_len; in wpa_priv_cmd() 76 io[0].iov_len = sizeof(cmd); in l2_packet_send() 78 io[1].iov_len = ETH_ALEN; in l2_packet_send() 80 io[2].iov_len = 2; in l2_packet_send() 82 io[3].iov_len = len; in l2_packet_send()
|
/external/dnsmasq/contrib/wrt/ |
D | dhcp_release.c | 82 if (size <= iov->iov_len) in expand_buf() 93 memcpy(new, iov->iov_base, iov->iov_len); in expand_buf() 98 iov->iov_len = size; in expand_buf() 132 if (!expand_buf(&iov, iov.iov_len + 100)) in netlink_recv() 260 iov.iov_len = 200; in main() 261 iov.iov_base = malloc(iov.iov_len); in main()
|
/external/dnsmasq/src/ |
D | bpf.c | 23 .iov_len = 0 28 .iov_len = 0 241 iov[0].iov_len = sizeof(ether); in send_via_bpf() 243 iov[1].iov_len = sizeof(ip); in send_via_bpf() 245 iov[2].iov_len = sizeof(udp); in send_via_bpf() 247 iov[3].iov_len = len; in send_via_bpf()
|
D | netlink.c | 71 iov.iov_len = 100; in netlink_init() 72 iov.iov_base = safe_malloc(iov.iov_len); in netlink_init() 97 if ((size_t)rc == iov.iov_len) in netlink_recv()
|
D | util.c | 432 if (size <= (size_t)iov->iov_len) in expand_buf() 443 memcpy(new, iov->iov_base, iov->iov_len); in expand_buf() 448 iov->iov_len = size; in expand_buf()
|
D | dhcp.c | 98 daemon->dhcp_packet.iov_len = sizeof(struct dhcp_packet); in dhcp_init() 99 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len); in dhcp_init() 148 if ((size_t)sz == daemon->dhcp_packet.iov_len) in dhcp_packet() 245 iov.iov_len = dhcp_reply(parm.current, ifr.ifr_name, iface_index, (size_t)sz, in dhcp_packet() 250 if (iov.iov_len == 0) in dhcp_packet() 345 send_via_bpf(mess, iov.iov_len, iface_addr, &ifr); in dhcp_packet()
|
/external/chromium/net/third_party/nss/ssl/ |
D | sslsock.c | 1834 #define KILL_VECTORS while (vectors && !iov->iov_len) { ++iov; --vectors; } in ssl_WriteV() 1864 return ssl_Send(fd, myIov.iov_base, myIov.iov_len, 0, timeout); in ssl_WriteV() 1866 if (myIov.iov_len < first_len) { in ssl_WriteV() 1867 PORT_Memcpy(buf, myIov.iov_base, myIov.iov_len); in ssl_WriteV() 1868 bufLen = myIov.iov_len; in ssl_WriteV() 1873 toCopy = PR_MIN(left, myIov.iov_len); in ssl_WriteV() 1878 myIov.iov_len -= toCopy; in ssl_WriteV() 1883 while (vectors || myIov.iov_len) { in ssl_WriteV() 1885 if (!myIov.iov_len) { in ssl_WriteV() 1888 while (myIov.iov_len >= K16) { in ssl_WriteV() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/ |
D | wpa_priv.c | 448 io[0].iov_len = ETH_ALEN; in wpa_priv_l2_rx() 450 io[1].iov_len = len; in wpa_priv_l2_rx() 822 io[0].iov_len = sizeof(event); in wpa_priv_send_event() 824 io[1].iov_len = data_len; in wpa_priv_send_event() 1035 io[0].iov_len = sizeof(event); in wpa_supplicant_rx_eapol() 1037 io[1].iov_len = ETH_ALEN; in wpa_supplicant_rx_eapol() 1039 io[2].iov_len = len; in wpa_supplicant_rx_eapol() 1080 io[0].iov_len = sizeof(event); in wpa_supplicant_sta_rx() 1082 io[1].iov_len = sizeof(*rx_status); in wpa_supplicant_sta_rx() 1084 io[2].iov_len = len; in wpa_supplicant_sta_rx()
|
/external/iproute2/lib/ |
D | libnetlink.c | 153 { .iov_base = &nlh, .iov_len = sizeof(nlh) }, in rtnl_dump_request() 154 { .iov_base = req, .iov_len = len } in rtnl_dump_request() 193 iov.iov_len = sizeof(buf); in rtnl_dump_filter_l() 284 .iov_len = n->nlmsg_len in rtnl_talk() 316 iov.iov_len = sizeof(buf); in rtnl_talk() 421 iov.iov_len = sizeof(buf); in rtnl_listen()
|
/external/iptables/libipq/ |
D | libipq.c | 334 iov[0].iov_len = sizeof(nlh); in ipq_set_verdict() 336 iov[1].iov_len = sizeof(pm); in ipq_set_verdict() 341 iov[2].iov_len = data_len; in ipq_set_verdict()
|
/external/dhcpcd/ |
D | bpf.c | 149 iov[0].iov_len = ETHER_HDR_LEN; in send_raw_packet() 151 iov[1].iov_len = len; in send_raw_packet()
|
/external/bluetooth/bluez/tools/ |
D | hciattach_tialt.c | 169 iov_cmd[0].iov_len = sizeof(cmdp); in texas_load_firmware() 171 iov_cmd[1].iov_len = cmd->plen; in texas_load_firmware()
|
/external/wpa_supplicant/ |
D | driver_test.c | 656 io[0].iov_len = 6; in wpa_driver_test_send_eapol() 658 io[1].iov_len = sizeof(eth); in wpa_driver_test_send_eapol() 660 io[2].iov_len = data_len; in wpa_driver_test_send_eapol() 789 io[0].iov_len = 5; in wpa_driver_test_send_mlme() 791 io[1].iov_len = data_len; in wpa_driver_test_send_mlme()
|
/external/strace/ |
D | io.c | 119 printstr(tcp, (long) iov.iov_base, iov.iov_len); 120 tprintf(", %lu}", (unsigned long)iov.iov_len);
|