Lines Matching defs:fds
339 struct pollfd fds[3], *fdp = &fds[0];
395 fdp = &fds[1];
397 fds[0].events = 0;
400 fdp = &fds[0];
402 fds[0].events = POLLIN|POLLNVAL|POLLERR|POLLHUP;
403 fds[0].fd = 2;
407 fds[1].events = fds[2].events = POLLIN|POLLNVAL|POLLERR|POLLHUP;
408 fds[1].fd = remerr;
409 fds[2].fd = rem;
416 if ((fds[1].events != 0 && checkfd(&fds[1], 2) == -1)
418 || (fds[0].events != 0 && checkfd(&fds[0], remerr) == -1)
422 fds[1].events = 0;
426 fds[0].events = 0;
429 fdp = &fds[2];
431 if (fds[2].events != 0 && checkfd(&fds[2], 1) == -1) {
433 fds[2].events = 0;