Lines Matching refs:fd
47 if (fds[i].fd < 0) { in poll()
52 if (fds[i].fd >= FD_SETSIZE) { in poll()
59 FD_SET(fds[i].fd, &readfds); in poll()
60 FD_SET(fds[i].fd, &errorfds); in poll()
61 max_fd = MAX(max_fd, fds[i].fd); in poll()
65 FD_SET(fds[i].fd, &writefds); in poll()
66 FD_SET(fds[i].fd, &errorfds); in poll()
67 max_fd = MAX(max_fd, fds[i].fd); in poll()
77 if (FD_ISSET(fds[i].fd, &readfds)) { in poll()
81 if (FD_ISSET(fds[i].fd, &writefds)) { in poll()
85 if (FD_ISSET(fds[i].fd, &errorfds)) { in poll()