Searched refs:epev (Results 1 – 4 of 4) 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 | 89 static inline void ep_take_care_of_epollwakeup(struct epoll_event *epev) in ep_take_care_of_epollwakeup() argument 91 if ((epev->events & EPOLLWAKEUP) && !capable(CAP_BLOCK_SUSPEND)) in ep_take_care_of_epollwakeup() 92 epev->events &= ~EPOLLWAKEUP; in ep_take_care_of_epollwakeup() 95 static inline void ep_take_care_of_epollwakeup(struct epoll_event *epev) in ep_take_care_of_epollwakeup() argument 97 epev->events &= ~EPOLLWAKEUP; in ep_take_care_of_epollwakeup()
|
/external/cronet/third_party/libevent/ |
D | epoll.c | 267 struct epoll_event epev = {0, {0}}; in epoll_add() local 297 epev.data.fd = fd; in epoll_add() 298 epev.events = events; in epoll_add() 299 if (epoll_ctl(epollop->epfd, op, ev->ev_fd, &epev) == -1) in epoll_add() 315 struct epoll_event epev = {0, {0}}; in epoll_del() local 348 epev.events = events; in epoll_del() 349 epev.data.fd = fd; in epoll_del() 356 if (epoll_ctl(epollop->epfd, op, fd, &epev) == -1) in epoll_del()
|
/external/curl/docs/examples/ |
D | ephiperfifo.c | 418 struct epoll_event epev; in init_fifo() local 442 epev.events = EPOLLIN; in init_fifo() 443 epev.data.fd = sockfd; in init_fifo() 444 epoll_ctl(g->epfd, EPOLL_CTL_ADD, sockfd, &epev); in init_fifo()
|