Lines Matching defs:event_set
60 struct pollfd *event_set;
63 int *idxplus1_by_fd; /* Index into event_set by fd; we add 1 so
112 assert(pop->event_set[idx].fd == i);
113 if (pop->event_set[idx].events & POLLIN) {
119 if (pop->event_set[idx].events & POLLOUT) {
127 struct pollfd *pfd = &pop->event_set[i];
147 res = poll(pop->event_set, nfds, msec);
172 what = pop->event_set[i].revents;
229 tmp_event_set = realloc(pop->event_set,
235 pop->event_set = tmp_event_set;
240 /* event_set overallocated; that's okay. */
249 /* event_set and event_r_back overallocated; that's
281 pfd = &pop->event_set[i];
284 pfd = &pop->event_set[i];
328 pfd = &pop->event_set[i];
351 memcpy(&pop->event_set[i], &pop->event_set[pop->nfds],
355 pop->idxplus1_by_fd[pop->event_set[i].fd] = i + 1;
368 if (pop->event_set)
369 free(pop->event_set);