Lines Matching refs:event_set
60 struct pollfd *event_set; member
112 assert(pop->event_set[idx].fd == i); in poll_check_ok()
113 if (pop->event_set[idx].events & POLLIN) { in poll_check_ok()
119 if (pop->event_set[idx].events & POLLOUT) { in poll_check_ok()
127 struct pollfd *pfd = &pop->event_set[i]; in poll_check_ok()
147 res = poll(pop->event_set, nfds, msec); in poll_dispatch()
172 what = pop->event_set[i].revents; in poll_dispatch()
229 tmp_event_set = realloc(pop->event_set, in poll_add()
235 pop->event_set = tmp_event_set; in poll_add()
281 pfd = &pop->event_set[i]; in poll_add()
284 pfd = &pop->event_set[i]; in poll_add()
328 pfd = &pop->event_set[i]; in poll_del()
351 memcpy(&pop->event_set[i], &pop->event_set[pop->nfds], in poll_del()
355 pop->idxplus1_by_fd[pop->event_set[i].fd] = i + 1; in poll_del()
368 if (pop->event_set) in poll_dealloc()
369 free(pop->event_set); in poll_dealloc()