Home
last modified time | relevance | path

Searched refs:iov_base (Results 1 – 25 of 75) sorted by relevance

123

/external/qemu/
Dcutils.c165 qiov->iov[qiov->niov].iov_base = base; in qemu_iovec_add()
183 void *iov_base; in qemu_iovec_copy() local
196 iov_base = (uint8_t*) src->iov[i].iov_base + skip; in qemu_iovec_copy()
202 qemu_iovec_add(dst, iov_base, size - done); in qemu_iovec_copy()
205 qemu_iovec_add(dst, iov_base, iov_len); in qemu_iovec_copy()
237 memcpy(p, qiov->iov[i].iov_base, qiov->iov[i].iov_len); in qemu_iovec_to_buffer()
252 memcpy(qiov->iov[i].iov_base, p, copy); in qemu_iovec_from_buffer()
265 memset(qiov->iov[i].iov_base, c, n); in qemu_iovec_memset()
275 void *iov_base; in qemu_iovec_memset_skip() local
286 iov_base = (uint8_t*) qiov->iov[i].iov_base + skip; in qemu_iovec_memset_skip()
[all …]
Dbt-vhci.c99 iv[0].iov_base = &pkt; in vhci_host_send()
101 iv[1].iov_base = (void *) data; in vhci_host_send()
Dbt-host.c53 iv[0].iov_base = (void *)&pkt; in bt_host_send()
55 iv[1].iov_base = (void *) data; in bt_host_send()
/external/dnsmasq/src/
Dbpf.c22 .iov_base = NULL,
27 .iov_base = NULL,
51 ifc.ifc_buf = ifconf.iov_base; in iface_enumerate()
83 ifr = (struct ifreq *)ifreq.iov_base; in iface_enumerate()
145 sprintf(ifreq.iov_base, "/dev/bpf%d", i++); in init_bpf()
146 if ((daemon->dhcp_raw_fd = open(ifreq.iov_base, O_RDWR, 0)) != -1) in init_bpf()
240 iov[0].iov_base = &ether; in send_via_bpf()
242 iov[1].iov_base = &ip; in send_via_bpf()
244 iov[2].iov_base = &udp; in send_via_bpf()
246 iov[3].iov_base = mess; in send_via_bpf()
Dutil.c441 if (iov->iov_base) in expand_buf()
443 memcpy(new, iov->iov_base, iov->iov_len); in expand_buf()
444 free(iov->iov_base); in expand_buf()
447 iov->iov_base = new; in expand_buf()
Dnetlink.c72 iov.iov_base = safe_malloc(iov.iov_len); in netlink_init()
170 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) in iface_enumerate()
249 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) in netlink_multicast()
/external/kernel-headers/original/linux/sunrpc/
Dsvc.h84 vp = iov->iov_base; in svc_getu32()
86 iov->iov_base = (void*)vp; in svc_getu32()
93 u32 *vp = (u32 *)iov->iov_base; in svc_ungetu32()
94 iov->iov_base = (void *)(vp - 1); in svc_ungetu32()
100 u32 *vp = iov->iov_base + iov->iov_len; in svc_putu32()
176 return cp >= (char*)vec->iov_base in xdr_argsize_check()
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()
/external/chromium/chrome/browser/
Dcrash_handler_host_linux.cc143 iov[0].iov_base = crash_context; in OnFileCanReadWithoutBlocking()
145 iov[1].iov_base = guid; in OnFileCanReadWithoutBlocking()
147 iov[2].iov_base = crash_url; in OnFileCanReadWithoutBlocking()
149 iov[3].iov_base = distro; in OnFileCanReadWithoutBlocking()
151 iov[4].iov_base = &tid_buf_addr; in OnFileCanReadWithoutBlocking()
153 iov[5].iov_base = &tid_fd; in OnFileCanReadWithoutBlocking()
155 iov[6].iov_base = &uptime; in OnFileCanReadWithoutBlocking()
361 done_iov.iov_base = const_cast<char*>("\x42"); in QueueCrashDumpTask()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_privsep.c35 io[0].iov_base = &cmd; in wpa_priv_cmd()
37 io[1].iov_base = (u8 *) data; in wpa_priv_cmd()
69 io[0].iov_base = &cmd; in l2_packet_send()
71 io[1].iov_base = &dst_addr; in l2_packet_send()
73 io[2].iov_base = &proto; in l2_packet_send()
75 io[3].iov_base = (u8 *) buf; in l2_packet_send()
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/
Dl2_packet_privsep.c41 io[0].iov_base = &cmd; in wpa_priv_cmd()
43 io[1].iov_base = (u8 *) data; in wpa_priv_cmd()
75 io[0].iov_base = &cmd; in l2_packet_send()
77 io[1].iov_base = &dst_addr; in l2_packet_send()
79 io[2].iov_base = &proto; in l2_packet_send()
81 io[3].iov_base = (u8 *) buf; in l2_packet_send()
/external/qemu/slirp/
Dsocket.c103 iov[0].iov_base = sb->sb_wptr; in sopreprbuf()
104 iov[1].iov_base = NULL; in sopreprbuf()
120 iov[1].iov_base = sb->sb_data; in sopreprbuf()
174 nn = recv(so->s, iov[0].iov_base, iov[0].iov_len,0); in soread()
199 ret = recv(so->s, iov[1].iov_base, iov[1].iov_len,0); in soread()
232 memcpy(iov[0].iov_base, buf, nn); in soreadbuf()
240 memcpy(iov[1].iov_base, buf, copy); in soreadbuf()
373 iov[0].iov_base = sb->sb_rptr; in sowrite()
374 iov[1].iov_base = NULL; in sowrite()
386 iov[1].iov_base = sb->sb_data; in sowrite()
[all …]
/external/qemu/slirp-android/
Dsocket.c111 iov[0].iov_base = sb->sb_wptr; in sopreprbuf()
112 iov[1].iov_base = NULL; in sopreprbuf()
128 iov[1].iov_base = sb->sb_data; in sopreprbuf()
182 nn = socket_recv(so->s, iov[0].iov_base, iov[0].iov_len); in soread()
207 ret = socket_recv(so->s, iov[1].iov_base, iov[1].iov_len); in soread()
240 memcpy(iov[0].iov_base, buf, nn); in soreadbuf()
248 memcpy(iov[1].iov_base, buf, copy); in soreadbuf()
381 iov[0].iov_base = sb->sb_rptr; in sowrite()
382 iov[1].iov_base = NULL; in sowrite()
394 iov[1].iov_base = sb->sb_data; in sowrite()
[all …]
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c91 if (iov->iov_base) in expand_buf()
93 memcpy(new, iov->iov_base, iov->iov_len); in expand_buf()
94 free(iov->iov_base); in expand_buf()
97 iov->iov_base = new; in expand_buf()
219 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) in find_interface()
261 iov.iov_base = malloc(iov.iov_len); in main()
/external/kernel-headers/original/linux/
Duio.h22 void __user *iov_base; /* BSD uses caddr_t (1003.1g requires void *) */ member
29 void *iov_base; /* and that should *never* hold a userland pointer */ member
/external/webkit/Source/WebKit2/Platform/CoreIPC/unix/
DConnectionUnix.cpp179 iov[0].iov_base = m_readBuffer.data(); in readyReadHandler()
350 iov[0].iov_base = reinterpret_cast<void*>(&messageInfo); in sendOutgoingMessage()
373 iov[iovLength].iov_base = attachmentSizes.get(); in sendOutgoingMessage()
379 iov[iovLength].iov_base = reinterpret_cast<void*>(arguments->buffer()); in sendOutgoingMessage()
/external/openssh/
Datomicio.c149 iov[0].iov_base = ((char *)iov[0].iov_base) + rem; in atomiciov6()
Dmonitor_fdpass.c77 vec.iov_base = &ch; in mm_send_fd()
126 vec.iov_base = &ch; in mm_receive_fd()
/external/wpa_supplicant_6/wpa_supplicant/
Dwpa_priv.c447 io[0].iov_base = (u8 *) src_addr; in wpa_priv_l2_rx()
449 io[1].iov_base = (u8 *) buf; in wpa_priv_l2_rx()
821 io[0].iov_base = &event; in wpa_priv_send_event()
823 io[1].iov_base = (u8 *) data; in wpa_priv_send_event()
1034 io[0].iov_base = &event; in wpa_supplicant_rx_eapol()
1036 io[1].iov_base = (u8 *) src_addr; in wpa_supplicant_rx_eapol()
1038 io[2].iov_base = (u8 *) buf; in wpa_supplicant_rx_eapol()
1079 io[0].iov_base = &event; in wpa_supplicant_sta_rx()
1081 io[1].iov_base = (u8 *) rx_status; in wpa_supplicant_sta_rx()
1083 io[2].iov_base = (u8 *) buf; in wpa_supplicant_sta_rx()
/external/valgrind/main/none/tests/
Dfdleak_cmsg.c74 iov[0].iov_base = "hello"; in server()
98 iov[0].iov_base = buf; in client()
/external/iproute2/lib/
Dlibnetlink.c153 { .iov_base = &nlh, .iov_len = sizeof(nlh) }, in rtnl_dump_request()
154 { .iov_base = req, .iov_len = len } in rtnl_dump_request()
188 iov.iov_base = buf; in rtnl_dump_filter_l()
283 .iov_base = (void*) n, in rtnl_talk()
313 iov.iov_base = buf; in rtnl_talk()
419 iov.iov_base = buf; in rtnl_listen()
/external/bluetooth/bluez/tools/
Dhciattach_qualcomm.c145 iov_cmd[0].iov_base = cmdp; in qualcomm_load_firmware()
147 iov_cmd[1].iov_base = data; in qualcomm_load_firmware()
Dhciattach_tialt.c168 iov_cmd[0].iov_base = cmdp; in texas_load_firmware()
170 iov_cmd[1].iov_base = data; in texas_load_firmware()
/external/dhcpcd/
Dbpf.c148 iov[0].iov_base = &hw; in send_raw_packet()
150 iov[1].iov_base = UNCONST(data); in send_raw_packet()
/external/iptables/libipq/
Dlibipq.c335 iov[0].iov_base = &nlh; in ipq_set_verdict()
337 iov[1].iov_base = &pm; in ipq_set_verdict()
342 iov[2].iov_base = buf; in ipq_set_verdict()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_priv.c324 io[0].iov_base = (u8 *) src_addr; in wpa_priv_l2_rx()
326 io[1].iov_base = (u8 *) buf; in wpa_priv_l2_rx()
681 io[0].iov_base = &event; in wpa_priv_send_event()
683 io[1].iov_base = (u8 *) data; in wpa_priv_send_event()
894 io[0].iov_base = &event; in wpa_supplicant_rx_eapol()
896 io[1].iov_base = (u8 *) src_addr; in wpa_supplicant_rx_eapol()
898 io[2].iov_base = (u8 *) buf; in wpa_supplicant_rx_eapol()

123