Searched refs:nevents (Results 1 – 2 of 2) sorted by relevance
278 int nevents; in healthd_mainloop() local285 nevents = epoll_wait(epollfd, events, eventct, timeout); in healthd_mainloop()287 if (nevents == -1) { in healthd_mainloop()294 for (int n = 0; n < nevents; ++n) { in healthd_mainloop()299 if (!nevents) in healthd_mainloop()
799 int nevents; in mainloop() local803 nevents = epoll_wait(epollfd, events, maxevents, -1); in mainloop()805 if (nevents == -1) { in mainloop()812 for (i = 0; i < nevents; ++i) { in mainloop()