Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/test/
H A Dasynctest.c257 size_t numfds, numdelfds; in test_ASYNC_WAIT_CTX_get_all_fds() local
264 || !ASYNC_WAIT_CTX_get_all_fds(waitctx, NULL, &numfds) in test_ASYNC_WAIT_CTX_get_all_fds()
265 || numfds != 0 in test_ASYNC_WAIT_CTX_get_all_fds()
266 || !ASYNC_WAIT_CTX_get_changed_fds(waitctx, NULL, &numfds, NULL, in test_ASYNC_WAIT_CTX_get_all_fds()
268 || numfds != 0 in test_ASYNC_WAIT_CTX_get_all_fds()
273 || !ASYNC_WAIT_CTX_get_all_fds(waitctx, NULL, &numfds) in test_ASYNC_WAIT_CTX_get_all_fds()
274 || numfds != 1 in test_ASYNC_WAIT_CTX_get_all_fds()
275 || !ASYNC_WAIT_CTX_get_all_fds(waitctx, &fd, &numfds) in test_ASYNC_WAIT_CTX_get_all_fds()
278 || !ASYNC_WAIT_CTX_get_changed_fds(waitctx, NULL, &numfds, NULL, in test_ASYNC_WAIT_CTX_get_all_fds()
280 || numfds != 1 in test_ASYNC_WAIT_CTX_get_all_fds()
[all …]
/freebsd/crypto/openssl/crypto/async/
H A Dasync_wait.c88 size_t *numfds) in ASYNC_WAIT_CTX_get_all_fds() argument
93 *numfds = 0; in ASYNC_WAIT_CTX_get_all_fds()
104 (*numfds)++; in ASYNC_WAIT_CTX_get_all_fds()
/freebsd/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/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 I<*numfds> and the file descriptors themselves
39 descriptors are returned but I<*numfds> is still populated. It is the callers
H A DASYNC_start_job.pod295 size_t numfds;
325 if (!ASYNC_WAIT_CTX_get_all_fds(ctx, NULL, &numfds)
326 || numfds > 1) {
330 ASYNC_WAIT_CTX_get_all_fds(ctx, &waitfd, &numfds);
H A DASYNC_WAIT_CTX_new.pod33 size_t *numfds);
67 be stored in I<*numfds>. It is the caller's responsibility to ensure that
70 return no file descriptors but will still populate I<*numfds>. Therefore,
/freebsd/crypto/openssl/include/openssl/
H A Dasync.h65 size_t *numfds);
H A Dssl.h1988 __owur int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds);
H A Dssl.h.in1941 __owur int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds);
/freebsd/lib/libthr/thread/
H A Dthr_syscalls.c469 __thr_select(int numfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in __thr_select() argument
477 ret = __sys_select(numfds, readfds, writefds, exceptfds, timeout); in __thr_select()
/freebsd/crypto/openssl/apps/lib/
H A Dapps.c3228 size_t numfds; in wait_for_async() local
3231 if (!SSL_get_all_async_fds(s, NULL, &numfds)) in wait_for_async()
3233 if (numfds == 0) in wait_for_async()
3235 fds = app_malloc(sizeof(OSSL_ASYNC_FD) * numfds, "allocate async fds"); in wait_for_async()
3236 if (!SSL_get_all_async_fds(s, fds, &numfds)) { in wait_for_async()
3242 for (i = 0; i < numfds; i++) { in wait_for_async()
/freebsd/usr.bin/truss/
H A Dsyscalls.c1917 int numfds = args[sc->offset + 1]; in print_arg() local
1918 size_t bytes = sizeof(struct pollfd) * numfds; in print_arg()
1926 for (i = 0; i < numfds; i++) { in print_arg()
1944 int numfds = args[0]; in print_arg() local
1945 size_t bytes = _howmany(numfds, _NFDBITS) * _NFDBITS; in print_arg()
1953 for (i = 0; i < numfds; i++) { in print_arg()
/freebsd/crypto/openssl/ssl/
H A Dssl_lib.c2105 int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds) in SSL_get_all_async_fds() argument
2115 return ASYNC_WAIT_CTX_get_all_fds(ctx, fds, numfds); in SSL_get_all_async_fds()