Searched refs:pollret (Results 1 – 3 of 3) sorted by relevance
286 int pollret; in epoll_wait() local312 pollret = poll(pfds, size, timeout); in epoll_wait()313 if (pollret <= 0) in epoll_wait()314 return pollret; in epoll_wait()318 pollret = _NFDS(pollret) + _NMSGS(pollret); in epoll_wait()324 i < lst->size && i < maxevents && reventcount < pollret; ++i) { in epoll_wait()
57 int pollret = poll(pfd, 1, -1); in WaitForEvent() local59 if (pollret != -1 && (pfd[0].revents & POLLIN)) in WaitForEvent()
1267 int pollret = poll(pfd, 2, -1); in control_thread() local1268 if (pollret != -1 && (pfd[0].revents & POLLIN)) in control_thread()1284 if (pollret == -1) in control_thread()1289 if (pollret == -1 || (pfd[1].revents & POLLIN)) in control_thread()