Lines Matching full:pfd
142 struct pollfd *pfd = &pop->event_set[i]; in poll_check_ok() local
143 assert(pop->idxplus1_by_fd[pfd->fd] == i+1); in poll_check_ok()
218 struct pollfd *pfd = NULL; in poll_add() local
291 pfd = &pop->event_set[i]; in poll_add()
294 pfd = &pop->event_set[i]; in poll_add()
295 pfd->events = 0; in poll_add()
296 pfd->fd = ev->ev_fd; in poll_add()
301 pfd->revents = 0; in poll_add()
303 pfd->events |= POLLOUT; in poll_add()
307 pfd->events |= POLLIN; in poll_add()
323 struct pollfd *pfd = NULL; in poll_del() local
338 pfd = &pop->event_set[i]; in poll_del()
340 pfd->events &= ~POLLIN; in poll_del()
344 pfd->events &= ~POLLOUT; in poll_del()
348 if (pfd->events) in poll_del()