Lines Matching refs:pfd
110 struct pollfd *pfd = &pop->event_set[i]; in poll_check_ok() local
111 EVUTIL_ASSERT(pop->idxplus1_by_fd[pfd->fd] == i+1); in poll_check_ok()
214 struct pollfd *pfd = NULL; in poll_add() local
248 pfd = &pop->event_set[i]; in poll_add()
251 pfd = &pop->event_set[i]; in poll_add()
252 pfd->events = 0; in poll_add()
253 pfd->fd = fd; in poll_add()
257 pfd->revents = 0; in poll_add()
259 pfd->events |= POLLOUT; in poll_add()
261 pfd->events |= POLLIN; in poll_add()
275 struct pollfd *pfd = NULL; in poll_del() local
289 pfd = &pop->event_set[i]; in poll_del()
291 pfd->events &= ~POLLIN; in poll_del()
293 pfd->events &= ~POLLOUT; in poll_del()
295 if (pfd->events) in poll_del()