| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | ser-unix.c | 448 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 D | remote-st.c | 681 int numfds; 707 numfds = select (sizeof (readfds) * 8, &readfds, 0, 0, 0); 709 while (numfds == 0); 711 if (numfds < 0)
|
| H A D | inflow.c | 640 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 D | async_wait.c | 89 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 D | SSL_get_all_async_fds.pod | 18 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 D | ASYNC_WAIT_CTX_new.pod | 24 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 D | ASYNC_start_job.pod | 254 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 D | rdma-ndd.c | 309 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 D | async.h | 54 size_t *numfds);
|
| H A D | ssl.h | 1821 __owur int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds);
|
| /freebsd-12.1/lib/libthr/thread/ |
| H A D | thr_syscalls.c | 487 __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 D | apps.c | 2674 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 D | syscalls.c | 1878 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 D | ssl_lib.c | 1625 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()
|