HomeSort by: relevance | last modified time | path
    Searched refs:fdset (Results 1 - 9 of 9) sorted by relevancy

  /src/distrib/alpha/instkernel/
Makefile 3 SUBDIR= ramdisk .WAIT instkernel .WAIT fdset cd-hd-tape
  /src/sys/arch/zaurus/stand/zboot/
unixcons.c 128 fd_set fdset; local in function:common_getc
135 FD_ZERO(&fdset);
138 FD_SET(fd, &fdset);
140 n = uselect(nfds, &fdset, NULL, NULL, &tv);
147 if (FD_ISSET(fd, &fdset)) {
  /src/lib/libc/rpc/
svc_fdset.c 64 fd_set *fdset; member in struct:svc_fdset
102 fprintf(stderr, "%p[%d] fd_set<", fds->fdset, fds->fdmax);
104 if (!FD_ISSET(i, fds->fdset))
146 while (fds->fdmax >= 0 && !FD_ISSET(fds->fdmax, fds->fdset))
151 svc_fdset = *(__fd_set_256 *)(void *)__svc_fdset.fdset;
165 free(fds->fdset);
259 if (fds->fdset && fd < fds->fdsize) {
266 char *newfdset = realloc(fds->fdset, __NFD_BYTES(fd));
274 fds->fdset = (void *)newfdset;
303 DPRINTF("switching to %p", fds->fdset);
    [all...]
  /src/games/hunt/huntd/
extern.c 48 struct pollfd fdset[3+MAXPL+MAXMON]; variable in typeref:struct:pollfd[]
driver.c 246 while (poll(fdset, 3+MAXPL+MAXMON, INFTIM) < 0)
252 if (!localmode && fdset[2].revents & POLLIN) {
313 if (fdset[0].revents & POLLIN)
320 if (fdset[1].revents & POLLIN)
323 if (fdset[i + 3].revents & POLLIN)
330 if (fdset[i + MAXPL + 3].revents & POLLIN)
338 if (poll(fdset, 3+MAXPL+MAXMON, linger) > 0) {
477 fdset[0].fd = huntsock;
478 fdset[0].events = POLLIN;
479 fdset[1].fd = statsock
    [all...]
hunt.h 141 extern struct pollfd fdset[];
answer.c 207 fdset[i].fd = newsock;
208 fdset[i].events = POLLIN;
  /src/usr.sbin/sdpd/
server.c 102 FD_ZERO(&srv->fdset);
204 FD_SET(fd, &srv->fdset);
264 FD_SET(fd, &srv->fdset);
307 fd_set fdset; local in function:server_do
312 memcpy(&fdset, &srv->fdset, sizeof(fdset));
313 n = select(srv->fdmax + 1, &fdset, NULL, NULL, NULL);
319 srv->fdmax + 1, &fdset, strerror(errno), errno);
325 if (!FD_ISSET(fd, &fdset))
    [all...]
sdpd.h 115 fd_set fdset; /* current descriptor set */ member in struct:server

Completed in 13 milliseconds