Lines Matching refs:idxplus1_by_fd
63 int *idxplus1_by_fd; /* Index into event_set by fd; we add 1 so member
109 idx = pop->idxplus1_by_fd[i]-1; in poll_check_ok()
128 assert(pop->idxplus1_by_fd[pfd->fd] == i+1); in poll_check_ok()
268 realloc(pop->idxplus1_by_fd, new_count * sizeof(int)); in poll_add()
273 pop->idxplus1_by_fd = tmp_idxplus1_by_fd; in poll_add()
274 memset(pop->idxplus1_by_fd + pop->fd_count, in poll_add()
279 i = pop->idxplus1_by_fd[ev->ev_fd] - 1; in poll_add()
288 pop->idxplus1_by_fd[ev->ev_fd] = i + 1; in poll_add()
323 i = pop->idxplus1_by_fd[ev->ev_fd] - 1; in poll_del()
343 pop->idxplus1_by_fd[ev->ev_fd] = 0; in poll_del()
355 pop->idxplus1_by_fd[pop->event_set[i].fd] = i + 1; in poll_del()
374 if (pop->idxplus1_by_fd) in poll_dealloc()
375 free(pop->idxplus1_by_fd); in poll_dealloc()