Searched refs:revents (Results 1 – 16 of 16) sorted by relevance
50 item->revents = revent; in lwip_epoll_notify()82 if (poll2epoll(pfd->revents) & item->event.events) { in vfs_epoll_notify()83 item->revents = poll2epoll(pfd->revents); in vfs_epoll_notify()335 node->revents = 0; in epoll_waitting()349 if (!(node->event.events & node->revents)) { in epoll_waitting()351 node->revents = 0; in epoll_waitting()356 data->events[i].events = node->event.events & node->revents; in epoll_waitting()361 node->revents = 0; in epoll_waitting()397 if (!(node->event.events & node->revents)) { in epoll_waitting()399 node->revents = 0; in epoll_waitting()[all …]
123 pfd->revents = 0; in pre_poll()170 if (pfd->revents) { in post_poll()211 pfd->revents |= POLLIN; in aos_poll()214 pfd->revents |= POLLOUT; in aos_poll()217 pfd->revents |= POLLERR; in aos_poll()
45 short revents; member56 uint32_t revents; member
103 pdev->fd->revents |= POLLIN; in _event_write()156 pdev->fd->revents &= ~POLLIN; in event_read()181 pdev->fd->revents |= POLLIN; in event_poll()184 pdev->fd->revents &= ~POLLIN; in event_poll()
87 if (poll_array[0].revents & POLLIN) { in poll_example()
188 int revents; in SNDIO_CaptureFromDevice() local198 revents = SNDIO_sio_revents(this->hidden->dev, this->hidden->pfd); in SNDIO_CaptureFromDevice()199 if (revents & POLLIN) { in SNDIO_CaptureFromDevice()202 if (revents & POLLHUP) { in SNDIO_CaptureFromDevice()
27 short revents; /* returned events */ member
222 if ((pfd->revents & POLLIN) && (readset != NULL)) { in post_select()227 if ((pfd->revents & POLLOUT) && (writeset != NULL)) { in post_select()232 if ((pfd->revents & POLLERR) && (exceptset != NULL)) { in post_select()
390 fd->revents |= POLLIN; in spi_rx_notify()392 fd->revents |= POLLOUT; in spi_rx_notify()443 ((struct pollfd *)fd)->revents &= ~POLLIN; in spi_device_poll()
429 fd->revents |= POLLIN; in uart_rx_notify()431 fd->revents |= POLLOUT; in uart_rx_notify()485 ((struct pollfd *)fd)->revents &= ~POLLIN; in uart_device_poll()
115 short revents; /* not supported yet */ member
328 pfd.revents = 0; in KMSDRM_WaitPageFlip()335 if (pfd.revents & (POLLHUP | POLLERR)) { in KMSDRM_WaitPageFlip()341 if (pfd.revents & POLLIN) { in KMSDRM_WaitPageFlip()
782 fds.revents = 0; in hid_read_timeout()791 if (fds.revents & (POLLERR | POLLHUP | POLLNVAL)) in hid_read_timeout()
268 if (rfd.revents & POLLIN) { in aos_queue_recv()
2042 uint32_t revents = 0; in event_callback() local2044 revents |= EPOLLIN; in event_callback()2047 revents |= EPOLLOUT; in event_callback()2050 revents |= EPOLLERR; in event_callback()2052 sock->epoll_cb(revents, sock->epoll_cb_data); in event_callback()
Completed in 26 milliseconds