Searched refs:pfd_events (Results 1 – 2 of 2) sorted by relevance
26 static inline int epoll_events_from_pfd(int pfd_events) in epoll_events_from_pfd() argument28 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()
60 static inline int poll_events_from_pfd(int pfd_events) in poll_events_from_pfd() argument62 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()