Home
last modified time | relevance | path

Searched refs:pfd_events (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/util/
H A Dfdmon-epoll.c26 static inline int epoll_events_from_pfd(int pfd_events) in epoll_events_from_pfd() argument
28 return (pfd_events & G_IO_IN ? EPOLLIN : 0) | in epoll_events_from_pfd()
29 (pfd_events & G_IO_OUT ? EPOLLOUT : 0) | in epoll_events_from_pfd()
30 (pfd_events & G_IO_HUP ? EPOLLHUP : 0) | in epoll_events_from_pfd()
31 (pfd_events & G_IO_ERR ? EPOLLERR : 0); in epoll_events_from_pfd()
H A Dfdmon-io_uring.c60 static inline int poll_events_from_pfd(int pfd_events) in poll_events_from_pfd() argument
62 return (pfd_events & G_IO_IN ? POLLIN : 0) | in poll_events_from_pfd()
63 (pfd_events & G_IO_OUT ? POLLOUT : 0) | in poll_events_from_pfd()
64 (pfd_events & G_IO_HUP ? POLLHUP : 0) | in poll_events_from_pfd()
65 (pfd_events & G_IO_ERR ? POLLERR : 0); in poll_events_from_pfd()