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.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/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.pod258 size_t numfds;
286 if (!ASYNC_WAIT_CTX_get_all_fds(ctx, NULL, &numfds)
287 || numfds > 1) {
291 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.h66 size_t *numfds);
H A Dssl.h1945 __owur int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds);
H A Dssl.h.in1873 __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.c3149 size_t numfds; in wait_for_async() local
3152 if (!SSL_get_all_async_fds(s, NULL, &numfds)) in wait_for_async()
3154 if (numfds == 0) in wait_for_async()
3156 fds = app_malloc(sizeof(OSSL_ASYNC_FD) * numfds, "allocate async fds"); in wait_for_async()
3157 if (!SSL_get_all_async_fds(s, fds, &numfds)) { in wait_for_async()
3163 for (i = 0; i < numfds; i++) { in wait_for_async()
/freebsd/usr.bin/truss/
H A Dsyscalls.c1915 int numfds = args[sc->offset + 1]; in print_arg() local
1916 size_t bytes = sizeof(struct pollfd) * numfds; in print_arg()
1924 for (i = 0; i < numfds; i++) { in print_arg()
1942 int numfds = args[0]; in print_arg() local
1943 size_t bytes = _howmany(numfds, _NFDBITS) * _NFDBITS; in print_arg()
1951 for (i = 0; i < numfds; i++) { in print_arg()
/freebsd/crypto/openssl/ssl/
H A Dssl_lib.c1707 int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds) in SSL_get_all_async_fds() argument
1713 return ASYNC_WAIT_CTX_get_all_fds(ctx, fds, numfds); in SSL_get_all_async_fds()