Lines Matching refs:ev_fd
127 assert(sop->event_r_by_fd[i]->ev_fd == i); in check_selectop()
134 assert(sop->event_w_by_fd[i]->ev_fd == i); in check_selectop()
278 if (sop->event_fds < ev->ev_fd) { in select_add()
285 (howmany(ev->ev_fd + 1, NFDBITS) * sizeof(fd_mask))) in select_add()
295 sop->event_fds = ev->ev_fd; in select_add()
299 FD_SET(ev->ev_fd, sop->event_readset_in); in select_add()
300 sop->event_r_by_fd[ev->ev_fd] = ev; in select_add()
303 FD_SET(ev->ev_fd, sop->event_writeset_in); in select_add()
304 sop->event_w_by_fd[ev->ev_fd] = ev; in select_add()
324 if (sop->event_fds < ev->ev_fd) { in select_del()
330 FD_CLR(ev->ev_fd, sop->event_readset_in); in select_del()
331 sop->event_r_by_fd[ev->ev_fd] = NULL; in select_del()
335 FD_CLR(ev->ev_fd, sop->event_writeset_in); in select_del()
336 sop->event_w_by_fd[ev->ev_fd] = NULL; in select_del()