Lines Matching refs:revents
140 pollmgr.fds[i].revents = 0;
219 newfds[i].revents = 0;
237 pollmgr.fds[slot].revents = 0;
274 pollmgr_chan_recv_ptr(struct pollmgr_handler *handler, SOCKET fd, int revents)
279 if (revents & POLLNVAL) {
284 if (revents & (POLLERR | POLLHUP)) {
289 LWIP_ASSERT1(revents & POLLIN);
377 int revents, nevents;
380 revents = pollmgr.fds[i].revents;
388 if (revents != 0) {
397 if (revents == 0) {
407 if (revents == POLLIN) {
411 DPRINTF2(("%s: ch %d @ revents 0x%x!\n",
412 __func__, i, revents));
416 DPRINTF2(("%s: fd %d @ revents 0x%x\n",
417 __func__, fd, revents));
420 nevents = (*handler->callback)(handler, fd, revents);
447 pollmgr.fds[i].revents = 0;
459 pollmgr.fds[i].revents = 0;
514 pollmgr.fds[last].revents = 0;