Home
last modified time | relevance | path

Searched refs:iov (Results 1 – 9 of 9) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_sock.c123 struct iovec iov[1]; in mm_camera_socket_sendmsg() local
135 iov[0].iov_base = msg; in mm_camera_socket_sendmsg()
136 iov[0].iov_len = buf_size; in mm_camera_socket_sendmsg()
137 msgh.msg_iov = iov; in mm_camera_socket_sendmsg()
140 (unsigned long long int)iov[0].iov_len); in mm_camera_socket_sendmsg()
185 struct iovec iov[1]; in mm_camera_socket_bundle_sendmsg() local
198 iov[0].iov_base = msg; in mm_camera_socket_bundle_sendmsg()
199 iov[0].iov_len = buf_size; in mm_camera_socket_bundle_sendmsg()
200 msgh.msg_iov = iov; in mm_camera_socket_bundle_sendmsg()
203 (unsigned long long int)iov[0].iov_len); in mm_camera_socket_bundle_sendmsg()
[all …]
/hardware/interfaces/bluetooth/1.0/default/
Dh4_protocol.cc35 struct iovec* iov = iov_array; in Send() local
45 ssize_t ret = TEMP_FAILURE_RETRY(writev(uart_fd_, iov, iovcnt)); in Send()
67 while (ret >= iov->iov_len) { in Send()
68 ret -= iov->iov_len; in Send()
69 ++iov; in Send()
74 iov->iov_base = static_cast<uint8_t*>(iov->iov_base) + ret; in Send()
75 iov->iov_len -= ret; in Send()
/hardware/interfaces/bluetooth/hci/
Dh4_protocol.cc52 struct iovec iov[2]; in Send() local
54 iov[0].iov_base = &type; in Send()
55 iov[0].iov_len = sizeof(type); in Send()
56 iov[1].iov_base = (void*)data; in Send()
57 iov[1].iov_len = length; in Send()
59 ret = TEMP_FAILURE_RETRY(writev(uart_fd_, iov, 2)); in Send()
/hardware/google/gfxstream/host/
Dvirtio-gpu-gfxstream-renderer.cpp300 iovec* iov; member
603 const char* iovBase_const = static_cast<const char*>(res->iov[iovIndex].iov_base); in sync_iov()
604 char* iovBase = static_cast<char*>(res->iov[iovIndex].iov_base); in sync_iov()
605 size_t iovLen = res->iov[iovIndex].iov_len; in sync_iov()
1137 int createResource(struct stream_renderer_resource_create_args* args, struct iovec* iov, in createResource() argument
1162 allocResource(e, iov, num_iovs); in createResource()
1200 if (entry.iov) { in unrefResource()
1201 free(entry.iov); in unrefResource()
1202 entry.iov = nullptr; in unrefResource()
1213 int attachIov(int resId, iovec* iov, int num_iovs) { in attachIov() argument
[all …]
/hardware/google/gfxstream/host/include/gfxstream/
Dvirtio-gpu-gfxstream-renderer.h155 struct iovec* iov, uint32_t num_iovs);
174 struct iovec* iov, int iovec_cnt);
182 VG_EXPORT int stream_renderer_resource_attach_iov(int res_handle, struct iovec* iov, int num_iovs);
183 VG_EXPORT void stream_renderer_resource_detach_iov(int res_handle, struct iovec** iov,
/hardware/google/aemu/base/include/aemu/base/
DIOVector.h50 void push_back(const struct iovec& iov) { mIOVecs.push_back(iov); } in push_back() argument
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Netlink.cpp261 struct iovec *iov = NULL; in ipa_nl_alloc_msg() local
285 iov = (struct iovec *)malloc(sizeof(struct iovec)); in ipa_nl_alloc_msg()
286 if(iov == NULL) in ipa_nl_alloc_msg()
298 free(iov); in ipa_nl_alloc_msg()
310 msgh->msg_iov = iov; in ipa_nl_alloc_msg()
313 memset(iov, 0x0, sizeof(struct iovec)); in ipa_nl_alloc_msg()
314 iov->iov_base = buf; in ipa_nl_alloc_msg()
315 iov->iov_len = msglen; in ipa_nl_alloc_msg()
328 struct iovec *iov = NULL; in ipa_nl_release_msg() local
336 iov = msgh->msg_iov; in ipa_nl_release_msg()
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Netlink.cpp261 struct iovec *iov = NULL; in ipa_nl_alloc_msg() local
285 iov = (struct iovec *)malloc(sizeof(struct iovec)); in ipa_nl_alloc_msg()
286 if(iov == NULL) in ipa_nl_alloc_msg()
298 free(iov); in ipa_nl_alloc_msg()
310 msgh->msg_iov = iov; in ipa_nl_alloc_msg()
313 memset(iov, 0x0, sizeof(struct iovec)); in ipa_nl_alloc_msg()
314 iov->iov_base = buf; in ipa_nl_alloc_msg()
315 iov->iov_len = msglen; in ipa_nl_alloc_msg()
328 struct iovec *iov = NULL; in ipa_nl_release_msg() local
336 iov = msgh->msg_iov; in ipa_nl_release_msg()
[all …]
DIPACM_ConntrackListener.cpp1251 struct iovec iov = { in readConntrack() local
1259 .msg_iov = &iov, in readConntrack()