Lines Matching refs:num_fds
217 poll_cb->num_fds = 0;
218 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0];
219 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
220 poll_cb->num_fds++;
225 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd;
226 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
227 poll_cb->num_fds++;
233 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd;
234 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
235 poll_cb->num_fds++;
244 poll_cb->poll_fds[poll_cb->num_fds].fd = -1;
245 poll_cb->poll_fds[poll_cb->num_fds].events = 0;
246 poll_cb->num_fds++;
277 __func__, poll_cb->poll_type, poll_cb->num_fds,poll_cb);
279 for(i = 0; i < poll_cb->num_fds; i++) {
283 rc = poll(poll_cb->poll_fds, poll_cb->num_fds, poll_cb->timeoutms);
291 for(i=1; i<poll_cb->num_fds; i++) {
335 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0];