Searched refs:iov (Results 1 – 3 of 3) sorted by relevance
123 struct iovec iov[1]; in mm_camera_socket_sendmsg() local135 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() local198 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 …]
33 struct iovec iov[] = {{&type, sizeof(type)}, in Send() local37 ret = TEMP_FAILURE_RETRY(writev(uart_fd_, iov, sizeof(iov) / sizeof(iov[0]))); in Send()
261 struct iovec *iov = NULL; in ipa_nl_alloc_msg() local285 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() local336 iov = msgh->msg_iov; in ipa_nl_release_msg()[all …]