Lines Matching refs:events
285 ev.events = kind; in setsock()
442 epev.events = EPOLLIN; in init_fifo()
470 struct epoll_event events[10]; in main() local
495 ev.events = EPOLLIN; in main()
515 int err = epoll_wait(g.epfd, events, in main()
516 sizeof(events)/sizeof(struct epoll_event), 10000); in main()
529 if(events[idx].data.fd == g.fifofd) { in main()
530 fifo_cb(&g, events[idx].events); in main()
532 else if(events[idx].data.fd == g.tfd) { in main()
533 timer_cb(&g, events[idx].events); in main()
536 event_cb(&g, events[idx].data.fd, events[idx].events); in main()