Searched refs:msgh (Results 1 – 5 of 5) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/android/ion/ |
D | ipcsocket.c | 111 struct msghdr msgh; in sendtosocket() local 137 memset(&msgh, 0, sizeof(msgh)); in sendtosocket() 138 msgh.msg_control = &cmsg_b; in sendtosocket() 139 msgh.msg_controllen = CMSG_LEN(len); in sendtosocket() 142 msgh.msg_iov = &iov; in sendtosocket() 143 msgh.msg_iovlen = 1; in sendtosocket() 144 cmsg = CMSG_FIRSTHDR(&msgh); in sendtosocket() 150 ret = sendmsg(sockfd, &msgh, MSG_DONTWAIT); in sendtosocket() 167 struct msghdr msgh; in receivefromsocket() local 190 memset(&msgh, 0, sizeof(msgh)); in receivefromsocket() [all …]
|
/external/iputils/ninfod/ |
D | ninfod.c | 290 struct msghdr msgh; in ni_recv() local 301 memset(&msgh, 0, sizeof(msgh)); in ni_recv() 302 msgh.msg_name = (struct sockaddr *)&p->addr; in ni_recv() 303 msgh.msg_namelen = sizeof(p->addr); in ni_recv() 304 msgh.msg_iov = iov; in ni_recv() 305 msgh.msg_iovlen = 1; in ni_recv() 306 msgh.msg_control = recvcbuf; in ni_recv() 307 msgh.msg_controllen = sizeof(recvcbuf); in ni_recv() 309 if ((cc = recvmsg(sock, &msgh, 0)) < 0) in ni_recv() 313 p->addrlen = msgh.msg_namelen; in ni_recv() [all …]
|
/external/mesa3d/src/gallium/winsys/virgl/vtest/ |
D | virgl_vtest_socket.c | 78 struct msghdr msgh = { 0 }; in virgl_vtest_receive_fd() local 85 msgh.msg_name = NULL; in virgl_vtest_receive_fd() 86 msgh.msg_namelen = 0; in virgl_vtest_receive_fd() 87 msgh.msg_iov = &iovec; in virgl_vtest_receive_fd() 88 msgh.msg_iovlen = 1; in virgl_vtest_receive_fd() 89 msgh.msg_control = buf; in virgl_vtest_receive_fd() 90 msgh.msg_controllen = sizeof(buf); in virgl_vtest_receive_fd() 91 msgh.msg_flags = 0; in virgl_vtest_receive_fd() 93 int size = recvmsg(socket_fd, &msgh, 0); in virgl_vtest_receive_fd() 99 cmsgh = CMSG_FIRSTHDR(&msgh); in virgl_vtest_receive_fd()
|
/external/selinux/libselinux/src/ |
D | setrans_client.c | 83 struct msghdr msgh; in send_request() local 111 memset(&msgh, 0, sizeof(msgh)); in send_request() 112 msgh.msg_iov = iov; in send_request() 113 msgh.msg_iovlen = sizeof(iov) / sizeof(iov[0]); in send_request() 119 while (((count = sendmsg(fd, &msgh, MSG_NOSIGNAL)) < 0) in send_request()
|
/external/libchrome/ipc/ |
D | ipc_channel_nacl.cc | 298 NaClAbiNaClImcMsgHdr msgh = {&iov, 1, fds.data(), num_fds}; in ProcessOutgoingMessages() local 299 ssize_t bytes_written = imc_sendmsg(pipe_, &msgh, 0); in ProcessOutgoingMessages()
|