Searched refs:pfd (Results 1 – 3 of 3) sorted by relevance
207 struct pollfd pfd; in NET_Timeout() local214 pfd.fd = s; in NET_Timeout()215 pfd.events = POLLIN | POLLERR; in NET_Timeout()221 rv = poll(&pfd, 1, timeout); in NET_Timeout()
275 struct pollfd pfd; in PlainSocketImpl_socketConnect() local276 pfd.fd = fd; in PlainSocketImpl_socketConnect()277 pfd.events = POLLOUT; in PlainSocketImpl_socketConnect()279 connect_rv = NET_Poll(&pfd, 1, -1); in PlainSocketImpl_socketConnect()353 struct pollfd pfd; in PlainSocketImpl_socketConnect() local354 pfd.fd = fd; in PlainSocketImpl_socketConnect()355 pfd.events = POLLOUT; in PlainSocketImpl_socketConnect()358 connect_rv = NET_Poll(&pfd, 1, timeout); in PlainSocketImpl_socketConnect()
1376 struct pollfd pfd; in NET_Wait() local1377 pfd.fd = fd; in NET_Wait()1378 pfd.events = 0; in NET_Wait()1380 pfd.events |= POLLIN; in NET_Wait()1382 pfd.events |= POLLOUT; in NET_Wait()1384 pfd.events |= POLLOUT; in NET_Wait()1387 read_rv = NET_Poll(&pfd, 1, timeout); in NET_Wait()