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;
227 /* fd is valid, we update poll_fds */
228 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd;
229 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
235 /* fd is valid, we update poll_fds to this fd */
236 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd;
237 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
247 poll_cb->poll_fds[poll_cb->num_fds].fd = -1;
248 poll_cb->poll_fds[poll_cb->num_fds].events = 0;
286 poll_cb->poll_fds[i].events = POLLIN|POLLRDNORM|POLLPRI;
289 rc = poll(poll_cb->poll_fds, poll_cb->num_fds, poll_cb->timeoutms);
291 if ((poll_cb->poll_fds[0].revents & POLLIN) &&
292 (poll_cb->poll_fds[0].revents & POLLRDNORM)) {
300 (poll_cb->poll_fds[i].revents & POLLPRI)) {
308 (poll_cb->poll_fds[i].revents & POLLIN) &&
309 (poll_cb->poll_fds[i].revents & POLLRDNORM)) {
342 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0];