Lines Matching refs:nfds
456 int **fds, size_t *nfds) in qio_channel_socket_copy_fds() argument
460 *nfds = 0; in qio_channel_socket_copy_fds()
480 *fds = g_renew(int, *fds, *nfds + gotfds); in qio_channel_socket_copy_fds()
481 memcpy(*fds + *nfds, CMSG_DATA(cmsg), fd_size); in qio_channel_socket_copy_fds()
484 int fd = (*fds)[*nfds + i]; in qio_channel_socket_copy_fds()
496 *nfds += gotfds; in qio_channel_socket_copy_fds()
505 size_t *nfds, in qio_channel_socket_readv() argument
519 if (fds && nfds) { in qio_channel_socket_readv()
547 if (fds && nfds) { in qio_channel_socket_readv()
548 qio_channel_socket_copy_fds(&msg, fds, nfds); in qio_channel_socket_readv()
558 size_t nfds, in qio_channel_socket_writev() argument
566 size_t fdsize = sizeof(int) * nfds; in qio_channel_socket_writev()
575 if (nfds) { in qio_channel_socket_writev()
576 if (nfds > SOCKET_MAX_FDS) { in qio_channel_socket_writev()
579 SOCKET_MAX_FDS, nfds); in qio_channel_socket_writev()
584 msg.msg_controllen = CMSG_SPACE(sizeof(int) * nfds); in qio_channel_socket_writev()
638 size_t *nfds, in qio_channel_socket_readv() argument
686 size_t nfds, in qio_channel_socket_writev() argument