Searched refs:epev (Results 1 – 2 of 2) sorted by relevance
/external/libevent/ |
D | epoll.c | 178 struct epoll_event epev; in epoll_apply_one_change() local 262 memset(&epev, 0, sizeof(epev)); in epoll_apply_one_change() 263 epev.data.fd = ch->fd; in epoll_apply_one_change() 264 epev.events = events; in epoll_apply_one_change() 265 if (epoll_ctl(epollop->epfd, op, ch->fd, &epev) == -1) { in epoll_apply_one_change() 271 if (epoll_ctl(epollop->epfd, EPOLL_CTL_ADD, ch->fd, &epev) == -1) { in epoll_apply_one_change() 273 (int)epev.events, ch->fd); in epoll_apply_one_change() 277 (int)epev.events, in epoll_apply_one_change() 288 if (epoll_ctl(epollop->epfd, EPOLL_CTL_MOD, ch->fd, &epev) == -1) { in epoll_apply_one_change() 290 (int)epev.events, ch->fd); in epoll_apply_one_change() [all …]
|
/external/kernel-headers/original/uapi/linux/ |
D | eventpoll.h | 65 static inline void ep_take_care_of_epollwakeup(struct epoll_event *epev) in ep_take_care_of_epollwakeup() argument 67 if ((epev->events & EPOLLWAKEUP) && !capable(CAP_BLOCK_SUSPEND)) in ep_take_care_of_epollwakeup() 68 epev->events &= ~EPOLLWAKEUP; in ep_take_care_of_epollwakeup() 71 static inline void ep_take_care_of_epollwakeup(struct epoll_event *epev) in ep_take_care_of_epollwakeup() argument 73 epev->events &= ~EPOLLWAKEUP; in ep_take_care_of_epollwakeup()
|