Searched refs:epev (Results 1 – 3 of 3) sorted by relevance
/external/libevent/ |
D | epoll.c | 196 struct epoll_event epev; in epoll_init() local 197 memset(&epev, 0, sizeof(epev)); in epoll_init() 198 epev.data.fd = epollop->timerfd; in epoll_init() 199 epev.events = EPOLLIN; in epoll_init() 200 if (epoll_ctl(epollop->epfd, EPOLL_CTL_ADD, fd, &epev) < 0) { in epoll_init() 271 struct epoll_event epev; in epoll_apply_one_change() local 287 memset(&epev, 0, sizeof(epev)); in epoll_apply_one_change() 288 epev.data.fd = ch->fd; in epoll_apply_one_change() 289 epev.events = events; in epoll_apply_one_change() 290 if (epoll_ctl(epollop->epfd, op, ch->fd, &epev) == 0) { in epoll_apply_one_change() [all …]
|
/external/kernel-headers/original/uapi/linux/ |
D | eventpoll.h | 83 static inline void ep_take_care_of_epollwakeup(struct epoll_event *epev) in ep_take_care_of_epollwakeup() argument 85 if ((epev->events & EPOLLWAKEUP) && !capable(CAP_BLOCK_SUSPEND)) in ep_take_care_of_epollwakeup() 86 epev->events &= ~EPOLLWAKEUP; in ep_take_care_of_epollwakeup() 89 static inline void ep_take_care_of_epollwakeup(struct epoll_event *epev) in ep_take_care_of_epollwakeup() argument 91 epev->events &= ~EPOLLWAKEUP; in ep_take_care_of_epollwakeup()
|
/external/curl/docs/examples/ |
D | ephiperfifo.c | 423 struct epoll_event epev; in init_fifo() local 447 epev.events = EPOLLIN; in init_fifo() 448 epev.data.fd = sockfd; in init_fifo() 449 epoll_ctl(g->epfd, EPOLL_CTL_ADD, sockfd, &epev); in init_fifo()
|