Home
last modified time | relevance | path

Searched refs:fdset (Results 1 – 9 of 9) sorted by relevance

/external/igt-gpu-tools/tools/
Dintel_l3_udev_listener.c44 fd_set fdset; in l3_uevent_setup() local
65 FD_ZERO(&fdset); in l3_uevent_setup()
66 FD_SET(fd, &fdset); in l3_uevent_setup()
70 par->fdset = fdset; in l3_uevent_setup()
87 ret = select(par->fd + 1, &par->fdset, NULL, NULL, NULL); in l3_listen()
93 assert(FD_ISSET(par->fd, &par->fdset)); in l3_listen()
Dintel_l3_parity.h11 fd_set fdset; member
/external/curl/lib/
Dwarnless.c460 int curlx_FD_ISSET(int fd, fd_set *fdset) in curlx_FD_ISSET() argument
464 return FD_ISSET(fd, fdset); in curlx_FD_ISSET()
468 void curlx_FD_SET(int fd, fd_set *fdset) in curlx_FD_SET() argument
472 FD_SET(fd, fdset); in curlx_FD_SET()
476 void curlx_FD_ZERO(fd_set *fdset) in curlx_FD_ZERO() argument
480 FD_ZERO(fdset); in curlx_FD_ZERO()
Dwarnless.h87 int curlx_FD_ISSET(int fd, fd_set *fdset);
89 void curlx_FD_SET(int fd, fd_set *fdset);
91 void curlx_FD_ZERO(fd_set *fdset);
/external/arm-trusted-firmware/lib/debugfs/
Ddev.c24 static chan_t fdset[NR_CHANS]; variable
41 if (fdset[i].index == NODEV) { in create_new_channel()
42 channel = &fdset[i]; in create_new_channel()
57 if ((fd < 0) || (fd >= NR_CHANS) || (fdset[fd].index == NODEV)) { in fd_to_channel()
61 return &fdset[fd]; in fd_to_channel()
70 return (channel == NULL) ? -1 : (channel - fdset); in channel_to_fd()
828 for (channel = fdset; channel < &fdset[NR_CHANS]; channel++) { in debugfs_init()
/external/curl/tests/libtest/
Dlib582.c188 static void updateFdSet(struct Sockets* sockets, fd_set* fdset, in updateFdSet() argument
193 FD_SET(sockets->sockets[i], fdset); in updateFdSet()
214 static void checkFdSet(CURLM *curl, struct Sockets *sockets, fd_set *fdset, in checkFdSet() argument
219 if(FD_ISSET(sockets->sockets[i], fdset)) { in checkFdSet()
/external/openssh/
Dsshconnect.c335 fd_set *fdset; in timeout_connect() local
359 fdset = xcalloc(howmany(sockfd + 1, NFDBITS), in timeout_connect()
361 FD_SET(sockfd, fdset); in timeout_connect()
365 rc = select(sockfd + 1, NULL, fdset, NULL, &tv); in timeout_connect()
400 free(fdset); in timeout_connect()
557 fd_set *fdset; in ssh_exchange_identification() local
560 fdset = xcalloc(1, fdsetsz); in ssh_exchange_identification()
579 FD_SET(connection_in, fdset); in ssh_exchange_identification()
580 rc = select(connection_in + 1, fdset, NULL, in ssh_exchange_identification()
581 fdset, &t_remaining); in ssh_exchange_identification()
[all …]
Dsshd.c1148 fd_set *fdset; local
1158 fdset = NULL;
1175 free(fdset);
1176 fdset = xcalloc(howmany(maxfd + 1, NFDBITS),
1180 FD_SET(listen_socks[i], fdset);
1183 FD_SET(startup_pipes[i], fdset);
1186 ret = select(maxfd+1, fdset, NULL, NULL, NULL);
1202 FD_ISSET(startup_pipes[i], fdset)) {
1214 if (!FD_ISSET(listen_socks[i], fdset))
/external/mksh/src/
Dfuncs.c1724 fd_set fdset; in c_read() local
1726 FD_ZERO(&fdset); in c_read()
1727 FD_SET((unsigned int)fd, &fdset); in c_read()
1736 switch (select(fd + 1, &fdset, NULL, NULL, &tv)) { in c_read()