Searched refs:fdsize (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | libqmp.c | 105 size_t fdsize = sizeof(int) * fds_num; in socket_send_fds() local 116 msg.msg_controllen = CMSG_SPACE(fdsize); in socket_send_fds() 119 cmsg->cmsg_len = CMSG_LEN(fdsize); in socket_send_fds() 122 memcpy(CMSG_DATA(cmsg), fds, fdsize); in socket_send_fds()
|
/openbmc/qemu/io/ |
H A D | channel-socket.c | 566 size_t fdsize = sizeof(int) * nfds; in qio_channel_socket_writev() local 587 cmsg->cmsg_len = CMSG_LEN(fdsize); in qio_channel_socket_writev() 590 memcpy(CMSG_DATA(cmsg), fds, fdsize); in qio_channel_socket_writev()
|
/openbmc/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user.c | 626 size_t fdsize = vmsg->fd_num * sizeof(int); in vu_message_write() local 627 msg.msg_controllen = CMSG_SPACE(fdsize); in vu_message_write() 629 cmsg->cmsg_len = CMSG_LEN(fdsize); in vu_message_write() 632 memcpy(CMSG_DATA(cmsg), vmsg->fds, fdsize); in vu_message_write()
|
/openbmc/qemu/hw/virtio/ |
H A D | vhost-user.c | 1794 size_t fdsize = 0; in backend_read() local 1801 if (qio_channel_readv_full_all(ioc, &iov, 1, &fd, &fdsize, &local_err)) { in backend_read() 1868 for (i = 0; i < fdsize; i++) { in backend_read()
|