Home
last modified time | relevance | path

Searched refs:numfds (Results 1 – 10 of 10) sorted by relevance

/mirbsd/src/lib/libpthread/uthread/
Duthread_poll.c52 nfds_t n, numfds = nfds; in poll() local
59 if (numfds > (nfds_t)_thread_dtablesize) { in poll()
60 numfds = _thread_dtablesize; in poll()
80 if (((ret = _thread_sys_poll(fds, numfds, 0)) == 0) && (timeout != 0)) { in poll()
81 data.nfds = numfds; in poll()
88 for (n = 0; n < numfds; n++) { in poll()
Duthread_select.c54 select(int numfds, fd_set * readfds, fd_set * writefds, in select() argument
67 if (numfds > _thread_dtablesize) { in select()
68 numfds = _thread_dtablesize; in select()
92 if (numfds && (readfds || writefds || exceptfds)) { in select()
93 for (i = (numfds - 1) / NFDBITS; i >= 0; i--) { in select()
135 for (i = (numfds - 1) / NFDBITS, j = fd_count; in select()
179 numfds = 0; in select()
230 numfds+=got_events; in select()
232 ret = numfds; in select()
/mirbsd/src/gnu/usr.bin/binutils/gdb/
Dser-base.c188 int numfds; in ser_base_wait_for() local
205 numfds = select (scb->fd + 1, &readfds, 0, &exceptfds, &tv); in ser_base_wait_for()
207 numfds = select (scb->fd + 1, &readfds, 0, &exceptfds, 0); in ser_base_wait_for()
209 if (numfds <= 0) in ser_base_wait_for()
211 if (numfds == 0) in ser_base_wait_for()
Dremote-st.c682 int numfds;
708 numfds = select (sizeof (readfds) * 8, &readfds, 0, 0, 0);
710 while (numfds == 0);
712 if (numfds < 0)
Dser-unix.c438 int numfds; in wait_for() local
451 numfds = select (scb->fd + 1, &readfds, 0, 0, &tv); in wait_for()
453 numfds = select (scb->fd + 1, &readfds, 0, 0, 0); in wait_for()
455 if (numfds <= 0) in wait_for()
456 if (numfds == 0) in wait_for()
Dinflow.c639 int numfds; in handle_sigio() local
646 numfds = select (target_activity_fd + 1, &readfds, NULL, NULL, NULL); in handle_sigio()
647 if (numfds >= 0 && FD_ISSET (target_activity_fd, &readfds)) in handle_sigio()
/mirbsd/src/gnu/usr.bin/cvs/m4/
Dsunos57-select.m426 int numfds;
36 while ((numfds = select (fd + 1, &readfds, NULL, NULL, &timeout)) < 0
38 return (numfds <= 0);
/mirbsd/src/gnu/usr.bin/cvs/src/
Dserver.c2468 int status, numfds = -1; in become_proxy() local
2497 numfds = MAX (numfds, to_net_fd); in become_proxy()
2502 numfds = MAX (numfds, to_primary_fd); in become_proxy()
2509 numfds = MAX (numfds, from_net_fd); in become_proxy()
2514 numfds = MAX (numfds, from_primary_fd); in become_proxy()
2520 numfds++; in become_proxy()
2526 numfds = select (numfds, &readfds, &writefds, in become_proxy()
2528 if (numfds < 0 && errno != EINTR) in become_proxy()
2538 } while (numfds < 0); in become_proxy()
2540 if (numfds == 0) in become_proxy()
[all …]
Dbuffer.c1832 int numfds; in fd_buffer_input() local
1838 numfds = fd_select (fb->fd + 1, &readfds, NULL, NULL, NULL); in fd_buffer_input()
1839 if (numfds < 0 && errno != EINTR) in fd_buffer_input()
1844 } while (numfds < 0); in fd_buffer_input()
/mirbsd/src/gnu/usr.bin/cvs/
Dconfigure8503 int numfds;
8513 while ((numfds = select (fd + 1, &readfds, NULL, NULL, &timeout)) < 0
8515 return (numfds <= 0);