Home
last modified time | relevance | path

Searched refs:fds (Results 1 – 12 of 12) sorted by relevance

/openssl/crypto/async/
H A Dasync_wait.c28 curr = ctx->fds; in ASYNC_WAIT_CTX_free()
58 fdlookup->next = ctx->fds; in ASYNC_WAIT_CTX_set_wait_fd()
59 ctx->fds = fdlookup; in ASYNC_WAIT_CTX_set_wait_fd()
69 curr = ctx->fds; in ASYNC_WAIT_CTX_get_fd()
91 curr = ctx->fds; in ASYNC_WAIT_CTX_get_all_fds()
120 curr = ctx->fds; in ASYNC_WAIT_CTX_get_changed_fds()
142 curr = ctx->fds; in ASYNC_WAIT_CTX_clear_fd()
154 if (ctx->fds == curr) { in ASYNC_WAIT_CTX_clear_fd()
225 curr = ctx->fds; in async_wait_ctx_reset_counts()
230 ctx->fds = curr->next; in async_wait_ctx_reset_counts()
[all …]
H A Dasync_local.h60 struct fd_lookup_st *fds; member
/openssl/demos/guide/
H A Dtls-client-non-block.c105 fd_set fds; in wait_for_activity() local
111 FD_ZERO(&fds); in wait_for_activity()
112 FD_SET(sock, &fds); in wait_for_activity()
133 select(width, NULL, &fds, NULL, NULL); in wait_for_activity()
135 select(width, &fds, NULL, NULL, NULL); in wait_for_activity()
/openssl/doc/man3/
H A DSSL_get_all_async_fds.pod38 are in I<*fds>. The I<fds> parameter may be NULL in which case no file
40 responsibility to ensure sufficient memory is allocated at I<*fds> so typically
41 this function is called twice (once with a NULL I<fds> parameter and once
49 sufficient memory allocated, although they may be NULL. The number of added fds
50 and the number of deleted fds are stored in I<*numaddfds> and I<*numdelfds>
H A DASYNC_WAIT_CTX_new.pod72 the number of fds, and then again when sufficient memory has been allocated. If
77 The function ASYNC_WAIT_CTX_get_changed_fds() can be used to detect if any fds
81 with the number of fds added or deleted respectively. I<*addfd> and I<*delfd>
82 will be populated with the list of added and deleted fds respectively. Similarly
88 "churn" of regularly changing fds - although no guarantees of this are provided
H A DASYNC_start_job.pod327 printf("Unexpected number of fds\n");
/openssl/providers/implementations/rands/seeding/
H A Drand_unix.c438 fd_set fds; in wait_random_seeded() local
465 FD_ZERO(&fds); in wait_random_seeded()
466 FD_SET(fd, &fds); in wait_random_seeded()
467 while ((r = select(fd + 1, &fds, NULL, NULL, NULL)) < 0 in wait_random_seeded()
/openssl/doc/man7/
H A Dossl-guide-tls-client-non-block.pod91 fd_set fds;
97 FD_ZERO(&fds);
98 FD_SET(sock, &fds);
119 select(width, NULL, &fds, NULL, NULL);
121 select(width, &fds, NULL, NULL, NULL);
/openssl/apps/lib/
H A Dapps.c3234 OSSL_ASYNC_FD *fds; in wait_for_async() local
3242 fds = app_malloc(sizeof(OSSL_ASYNC_FD) * numfds, "allocate async fds"); in wait_for_async()
3243 if (!SSL_get_all_async_fds(s, fds, &numfds)) { in wait_for_async()
3244 OPENSSL_free(fds); in wait_for_async()
3250 if (width <= (int)fds[i]) in wait_for_async()
3251 width = (int)fds[i] + 1; in wait_for_async()
3252 openssl_fdset((int)fds[i], &asyncfds); in wait_for_async()
3255 OPENSSL_free(fds); in wait_for_async()
/openssl/apps/
H A Dspeed.c4844 int *fds; in do_multi() local
4848 fds = app_malloc(sizeof(*fds) * multi, "fd buffer for do_multi"); in do_multi()
4858 fds[n] = fd[0]; in do_multi()
4869 OPENSSL_free(fds); in do_multi()
4884 if ((f = fdopen(fds[n], "r")) == NULL) { in do_multi()
4887 OPENSSL_free(fds); in do_multi()
5030 OPENSSL_free(fds); in do_multi()
/openssl/ssl/
H A Dssl_lib.c2076 int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds) in SSL_get_all_async_fds() argument
2086 return ASYNC_WAIT_CTX_get_all_fds(ctx, fds, numfds); in SSL_get_all_async_fds()
/openssl/include/openssl/
H A Dssl.h.in1920 __owur int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds);

Completed in 77 milliseconds