Lines Matching refs:num_fds
218 poll_cb->num_fds = 0;
219 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0];
220 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
221 poll_cb->num_fds++;
226 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd;
227 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
228 poll_cb->num_fds++;
234 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd;
235 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
236 poll_cb->num_fds++;
245 poll_cb->poll_fds[poll_cb->num_fds].fd = -1;
246 poll_cb->poll_fds[poll_cb->num_fds].events = 0;
247 poll_cb->num_fds++;
278 __func__, poll_cb->poll_type, poll_cb->num_fds,poll_cb);
280 for(i = 0; i < poll_cb->num_fds; i++) {
284 rc = poll(poll_cb->poll_fds, poll_cb->num_fds, poll_cb->timeoutms);
292 for(i=1; i<poll_cb->num_fds; i++) {
337 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0];