Lines Matching full:pfd
127 struct pollfd *pfd = &pop->event_set[i]; in poll_check_ok() local
128 EVUTIL_ASSERT(pop->idxplus1_by_fd[pfd->fd] == i+1); in poll_check_ok()
233 struct pollfd *pfd = NULL; in poll_add() local
267 pfd = &pop->event_set[i]; in poll_add()
270 pfd = &pop->event_set[i]; in poll_add()
271 pfd->events = 0; in poll_add()
272 pfd->fd = fd; in poll_add()
276 pfd->revents = 0; in poll_add()
278 pfd->events |= POLLOUT; in poll_add()
280 pfd->events |= POLLIN; in poll_add()
282 pfd->events |= POLLRDHUP; in poll_add()
296 struct pollfd *pfd = NULL; in poll_del() local
310 pfd = &pop->event_set[i]; in poll_del()
312 pfd->events &= ~POLLIN; in poll_del()
314 pfd->events &= ~POLLOUT; in poll_del()
316 pfd->events &= ~POLLRDHUP; in poll_del()
318 if (pfd->events) in poll_del()