Lines Matching refs:nfds
340 nfds_t nfds; in slp_mc_send() local
349 if (make_mc_target(hp, sin, header, &pfd, &nfds, &bcifs) != SLP_OK) in slp_mc_send()
379 mc_recvmsg(pfd, nfds, hp, scopes, header, &collator, final_to, in slp_mc_send()
391 free_pfds(pfd, nfds); in slp_mc_send()
702 struct pollfd **fds, nfds_t *nfds, in make_mc_target() argument
758 *nfds = num_givenifs; in make_mc_target()
778 free_pfds(*fds, *nfds); in make_mc_target()
861 *nfds = 1; in make_mc_target()
865 for (nfd_i = 0; nfd_i < *nfds; nfd_i++) { in make_mc_target()
1007 static void mc_recvmsg(struct pollfd *pfd, nfds_t nfds, slp_handle_impl_t *hp, in mc_recvmsg() argument
1023 final_to, &timeout, sent, now, pfd, nfds); in mc_recvmsg()
1032 for (i = 0; !hp->cancel && i < nfds; i++) { in mc_recvmsg()
1106 static void free_pfds(struct pollfd *pfds, nfds_t nfds) { in free_pfds() argument
1109 for (i = 0; i < nfds; i++) { in free_pfds()
1162 struct pollfd pfd[], nfds_t nfds) { in wait_for_response() argument
1168 pollerr = poll(pfd, nfds, *timeout); in wait_for_response()