Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/gdb/gdb/
H A Dser-unix.c448 int numfds; in wait_for() local
461 numfds = select (scb->fd + 1, &readfds, 0, 0, &tv); in wait_for()
463 numfds = select (scb->fd + 1, &readfds, 0, 0, 0); in wait_for()
465 if (numfds <= 0) in wait_for()
466 if (numfds == 0) in wait_for()
902 int numfds; in ser_unix_wait_for() local
919 numfds = select (scb->fd + 1, &readfds, 0, &exceptfds, &tv); in ser_unix_wait_for()
921 numfds = select (scb->fd + 1, &readfds, 0, &exceptfds, 0); in ser_unix_wait_for()
923 if (numfds <= 0) in ser_unix_wait_for()
925 if (numfds == 0) in ser_unix_wait_for()
H A Dremote-st.c681 int numfds;
707 numfds = select (sizeof (readfds) * 8, &readfds, 0, 0, 0);
709 while (numfds == 0);
711 if (numfds < 0)
H A Dinflow.c640 int numfds; in handle_sigio() local
647 numfds = select (target_activity_fd + 1, &readfds, NULL, NULL, NULL); in handle_sigio()
648 if (numfds >= 0 && FD_ISSET (target_activity_fd, &readfds)) in handle_sigio()
/freebsd-12.1/crypto/openssl/crypto/async/
H A Dasync_wait.c89 size_t *numfds) in ASYNC_WAIT_CTX_get_all_fds() argument
94 *numfds = 0; in ASYNC_WAIT_CTX_get_all_fds()
105 (*numfds)++; in ASYNC_WAIT_CTX_get_all_fds()
/freebsd-12.1/crypto/openssl/doc/man3/
H A DSSL_get_all_async_fds.pod18 int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fd, size_t *numfds);
37 descriptors returned is stored in B<*numfds> and the file descriptors themselves
39 descriptors are returned but B<*numfds> is still populated. It is the callers
H A DASYNC_WAIT_CTX_new.pod24 size_t *numfds);
50 B<*numfds>. It is the caller's responsibility to ensure that sufficient memory
53 descriptors but will still populate B<*numfds>. Therefore application code is
H A DASYNC_start_job.pod254 size_t numfds;
282 if (!ASYNC_WAIT_CTX_get_all_fds(ctx, NULL, &numfds)
283 || numfds > 1) {
287 ASYNC_WAIT_CTX_get_all_fds(ctx, &waitfd, &numfds);
/freebsd-12.1/contrib/ofed/infiniband-diags/src/
H A Drdma-ndd.c309 int numfds = 1; in monitor() local
314 numfds = 2; in monitor()
334 rc = poll(fds, numfds, -1); in monitor()
/freebsd-12.1/crypto/openssl/include/openssl/
H A Dasync.h54 size_t *numfds);
H A Dssl.h1821 __owur int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds);
/freebsd-12.1/lib/libthr/thread/
H A Dthr_syscalls.c487 __thr_select(int numfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in __thr_select() argument
495 ret = __sys_select(numfds, readfds, writefds, exceptfds, timeout); in __thr_select()
/freebsd-12.1/crypto/openssl/apps/
H A Dapps.c2674 size_t numfds; in wait_for_async() local
2677 if (!SSL_get_all_async_fds(s, NULL, &numfds)) in wait_for_async()
2679 if (numfds == 0) in wait_for_async()
2681 fds = app_malloc(sizeof(OSSL_ASYNC_FD) * numfds, "allocate async fds"); in wait_for_async()
2682 if (!SSL_get_all_async_fds(s, fds, &numfds)) { in wait_for_async()
2688 for (i = 0; i < numfds; i++) { in wait_for_async()
/freebsd-12.1/usr.bin/truss/
H A Dsyscalls.c1878 int numfds = args[sc->offset + 1]; in print_arg() local
1879 size_t bytes = sizeof(struct pollfd) * numfds; in print_arg()
1888 for (i = 0; i < numfds; i++) { in print_arg()
1906 int numfds = args[0]; in print_arg() local
1907 size_t bytes = _howmany(numfds, _NFDBITS) * _NFDBITS; in print_arg()
1916 for (i = 0; i < numfds; i++) { in print_arg()
/freebsd-12.1/crypto/openssl/ssl/
H A Dssl_lib.c1625 int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds) in SSL_get_all_async_fds() argument
1631 return ASYNC_WAIT_CTX_get_all_fds(ctx, fds, numfds); in SSL_get_all_async_fds()