Lines Matching refs:poll_entries
128 if (poll_cb->poll_entries[0].fd > 0) {
130 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd;
136 if(poll_cb->poll_entries[i].fd > 0) {
138 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd;
190 if (NULL != poll_cb->poll_entries[i-1].notify_cb) {
191 poll_cb->poll_entries[i-1].notify_cb(poll_cb->poll_entries[i-1].user_data);
199 if (NULL != poll_cb->poll_entries[i-1].notify_cb) {
200 poll_cb->poll_entries[i-1].notify_cb(poll_cb->poll_entries[i-1].user_data);
256 poll_cb->poll_entries[idx].fd = fd;
257 poll_cb->poll_entries[idx].handler = handler;
258 poll_cb->poll_entries[idx].notify_cb = notify_cb;
259 poll_cb->poll_entries[idx].user_data = userdata;
284 (handler == poll_cb->poll_entries[idx].handler)) {
286 poll_cb->poll_entries[idx].fd = -1; /* set fd to invalid */
287 poll_cb->poll_entries[idx].handler = 0;
288 poll_cb->poll_entries[idx].notify_cb = NULL;