Lines Matching defs:ev
525 struct epoll_event ev = {};
532 ev.events = events;
533 ev.data.ptr = s;
536 ev.events |= EPOLLONESHOT;
539 r = epoll_ctl(s->event->epoll_fd, EPOLL_CTL_MOD, s->io.fd, &ev);
541 r = epoll_ctl(s->event->epoll_fd, EPOLL_CTL_ADD, s->io.fd, &ev);
628 struct epoll_event ev = {};
693 ev.events = EPOLLIN;
694 ev.data.ptr = d;
696 r = epoll_ctl(e->epoll_fd, EPOLL_CTL_ADD, d->fd, &ev);
1024 struct epoll_event ev = {};
1037 ev.events = EPOLLIN;
1038 ev.data.ptr = d;
1040 r = epoll_ctl(e->epoll_fd, EPOLL_CTL_ADD, fd, &ev);
2840 struct epoll_event ev = {};
2858 ev.events = EPOLLIN;
2859 ev.data.ptr = INT_TO_PTR(SOURCE_WATCHDOG);
2861 r = epoll_ctl(e->epoll_fd, EPOLL_CTL_ADD, e->watchdog_fd, &ev);