Lines Matching refs:poll_entries
224 if (poll_cb->poll_entries[0].fd > 0) {
226 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd;
232 if(poll_cb->poll_entries[i].fd > 0) {
234 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd;
297 if (NULL != poll_cb->poll_entries[i-1].notify_cb) {
298 poll_cb->poll_entries[i-1].notify_cb(poll_cb->poll_entries[i-1].user_data);
306 if (NULL != poll_cb->poll_entries[i-1].notify_cb) {
307 poll_cb->poll_entries[i-1].notify_cb(poll_cb->poll_entries[i-1].user_data);
396 poll_cb->poll_entries[idx].fd = fd;
397 poll_cb->poll_entries[idx].handler = handler;
398 poll_cb->poll_entries[idx].notify_cb = notify_cb;
399 poll_cb->poll_entries[idx].user_data = userdata;
441 (handler == poll_cb->poll_entries[idx].handler)) {
443 poll_cb->poll_entries[idx].fd = -1; /* set fd to invalid */
444 poll_cb->poll_entries[idx].handler = 0;
445 poll_cb->poll_entries[idx].notify_cb = NULL;