Searched refs:PollFd (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/DataSink/
H A DDataSink.c55 struct pollfd PollFd[ MAX_CONNECTIONS ]; variable in typeref:struct:pollfd
139 PollFd[ Index ].fd = ListenSocket;
140 PollFd[ Index ].events = POLLRDNORM | POLLHUP;
141 PollFd[ Index ].revents = 0;
291 FdCount = poll ( &PollFd[0],
314 if ( 0 != PollFd[ Index ].revents ) {
321 if ( 0 != ( PollFd[ Index ].revents & POLLHUP )) {
323 if ( ListenSocket == PollFd[ Index ].fd ) {
342 CloseStatus = close ( PollFd[ Index ].fd );
347 PollFd[ Inde
[all...]
/vbox/src/VBox/Runtime/r3/posix/
H A Dpipe-posix.cpp435 struct pollfd PollFd; local
436 RT_ZERO(PollFd);
437 PollFd.fd = pThis->fd;
438 PollFd.events = POLLHUP;
439 return poll(&PollFd, 1, 0) >= 1
440 && (PollFd.revents & POLLHUP);
625 struct pollfd PollFd; local
626 RT_ZERO(PollFd);
627 PollFd.fd = pThis->fd;
628 PollFd
[all...]

Completed in 33 milliseconds