Searched refs:nevents (Results 1 – 2 of 2) sorted by relevance
281 int nevents; in healthd_mainloop() local288 nevents = epoll_wait(epollfd, events, eventct, timeout); in healthd_mainloop()290 if (nevents == -1) { in healthd_mainloop()297 for (int n = 0; n < nevents; ++n) { in healthd_mainloop()302 if (!nevents) in healthd_mainloop()
785 int nevents; in mainloop() local789 nevents = epoll_wait(epollfd, events, maxevents, -1); in mainloop()791 if (nevents == -1) { in mainloop()798 for (i = 0; i < nevents; ++i) { in mainloop()