Lines Matching refs:num_fds
122 poll_cb->num_fds = 0;
123 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0];
124 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
125 poll_cb->num_fds++;
130 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd;
131 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
132 poll_cb->num_fds++;
138 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd;
139 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
140 poll_cb->num_fds++;
149 poll_cb->poll_fds[poll_cb->num_fds].fd = -1;
150 poll_cb->poll_fds[poll_cb->num_fds].events = 0;
151 poll_cb->num_fds++;
171 __func__, poll_cb->poll_type, poll_cb->num_fds,poll_cb);
173 for(i = 0; i < poll_cb->num_fds; i++) {
177 rc = poll(poll_cb->poll_fds, poll_cb->num_fds, poll_cb->timeoutms);
185 for(i=1; i<poll_cb->num_fds; i++) {
222 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0];
224 //poll_cb->poll_fds[poll_cb->num_fds++].fd = (((mm_camera_obj_t *)poll_cb->my_obj)->ctrl_fd);