Searched refs:pfdp (Results 1 - 8 of 8) sorted by relevance

/netbsd-current/external/bsd/blocklist/bin/
H A Dblocklistd.c334 addfd(struct pollfd **pfdp, bl_t **blp, size_t *nfd, size_t *maxfd, argument
345 *pfdp = realloc(*pfdp, sizeof(**pfdp) * *maxfd);
346 if (*pfdp == NULL)
350 (*pfdp)[*nfd].fd = bl_getfd(bl);
351 (*pfdp)[*nfd].events = POLLIN;
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dserverloop.c184 int connection_in, int connection_out, struct pollfd **pfdp,
200 channel_prepare_poll(ssh, pfdp, npfd_allocp, npfd_activep, 2, &timeout);
243 (*pfdp)[0].fd = connection_in;
244 (*pfdp)[0].events = POLLIN;
245 (*pfdp)[1].fd = connection_out;
246 (*pfdp)[1].events = ssh_packet_have_data_to_write(ssh) ? POLLOUT : 0;
256 ret = ppoll(*pfdp, *npfd_activep, ptimeout_get_tsp(&timeout), sigsetp);
260 (*pfdp)[p].revents = 0;
266 *conn_in_readyp = (*pfdp)[0].revents != 0;
267 *conn_out_readyp = (*pfdp)[
183 wait_until_can_do_something(struct ssh *ssh, int connection_in, int connection_out, struct pollfd **pfdp, u_int *npfd_allocp, u_int *npfd_activep, sigset_t *sigsetp, int *conn_in_readyp, int *conn_out_readyp) argument
[all...]
H A Dclientloop.c679 client_wait_until_can_do_something(struct ssh *ssh, struct pollfd **pfdp, argument
691 channel_prepare_poll(ssh, pfdp, npfd_allocp, npfd_activep, 2, &timeout);
700 (*pfdp)[p].revents = 0;
707 (*pfdp)[0].fd = connection_in;
708 (*pfdp)[0].events = POLLIN;
709 (*pfdp)[1].fd = connection_out;
710 (*pfdp)[1].events = (oready && ssh_packet_have_data_to_write(ssh)) ?
728 ret = ppoll(*pfdp, *npfd_activep, ptimeout_get_tsp(&timeout), sigsetp);
737 (*pfdp)[p].revents = 0;
745 *conn_in_readyp = (*pfdp)[
[all...]
H A Dssh-agent.c2057 prepare_poll(struct pollfd **pfdp, size_t *npfdp, int *timeoutp, u_int maxfds) argument
2059 struct pollfd *pfd = *pfdp;
2081 *pfdp = pfd;
H A Dchannels.c2761 channel_prepare_poll(struct ssh *ssh, struct pollfd **pfdp, u_int *npfd_allocp, argument
2779 *pfdp = xrecallocarray(*pfdp, *npfd_allocp,
2780 npfd, sizeof(**pfdp));
2797 channel_prepare_pollfd(sc->channels[i], &p, *pfdp, npfd);
/netbsd-current/external/bsd/ipf/dist/
H A Dip_dstlist.c1243 /* pfdp(O) - pointer to storage for selected destination node */
1247 /* used for storage if pfdp is NULL. No permanent reference is currently */
1251 ipf_dstlist_select_node(fin, group, addr, pfdp)
1255 frdest_t *pfdp;
1272 if (pfdp != NULL) {
1273 bcopy(&node->ipfd_dest, pfdp, sizeof(*pfdp));
/netbsd-current/lib/libc/rpc/
H A Dsvc.c762 svc_getreq_poll(struct pollfd *pfdp, int pollretval) argument
767 _DIAGASSERT(pfdp != NULL);
770 struct pollfd *p = &pfdp[i];
/netbsd-current/sys/external/bsd/ipf/netinet/
H A Dip_dstlist.c1189 /* pfdp(O) - pointer to storage for selected destination node */
1193 /* used for storage if pfdp is NULL. No permanent reference is currently */
1198 frdest_t *pfdp)
1215 if (pfdp != NULL) {
1216 bcopy(&node->ipfd_dest, pfdp, sizeof(*pfdp));
1197 ipf_dstlist_select_node(fr_info_t *fin, void *group, u_32_t *addr, frdest_t *pfdp) argument

Completed in 175 milliseconds