Lines Matching refs:poll_fds
221 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0];
222 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
228 /* fd is valid, we update poll_fds */
229 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd;
230 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
237 /* fd is valid, we update poll_fds to this fd */
238 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd;
239 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
249 poll_cb->poll_fds[poll_cb->num_fds].fd = -1;
250 poll_cb->poll_fds[poll_cb->num_fds].events = 0;
292 poll_cb->poll_fds[i].events = POLLIN|POLLRDNORM|POLLPRI;
295 rc = poll(poll_cb->poll_fds, poll_cb->num_fds, poll_cb->timeoutms);
297 if ((poll_cb->poll_fds[0].revents & POLLIN) &&
298 (poll_cb->poll_fds[0].revents & POLLRDNORM)) {
306 (poll_cb->poll_fds[i].revents & POLLPRI)) {
314 (poll_cb->poll_fds[i].revents & POLLIN) &&
315 (poll_cb->poll_fds[i].revents & POLLRDNORM)) {
348 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0];