Lines Matching refs:pfd
59 struct lws_pollfd *pfd;
63 pfd = custom_poll_find_fd(cpcx, fd);
64 if (pfd) {
74 pfd = &cpcx->pollfds[cpcx->count_pollfds++];
75 pfd->fd = fd;
76 pfd->events = (short)events;
77 pfd->revents = 0;
85 struct lws_pollfd *pfd;
89 pfd = custom_poll_find_fd(cpcx, fd);
90 if (!pfd) {
96 *pfd = cpcx->pollfds[cpcx->count_pollfds - 1];
107 struct lws_pollfd *pfd;
112 pfd = custom_poll_find_fd(cpcx, fd);
113 if (!pfd)
116 pfd->events = (short)((pfd->events & (~events_remove)) | events_add);