Searched refs:waitctx (Results 1 – 7 of 7) sorted by relevance
| /freebsd/crypto/openssl/test/ |
| H A D | asynctest.c | 84 ASYNC_WAIT_CTX *waitctx; in waitfd() local 88 waitctx = ASYNC_get_wait_ctx(job); in waitfd() 89 if (waitctx == NULL) in waitfd() 96 if (!ASYNC_WAIT_CTX_set_wait_fd(waitctx, waitctx, MAGIC_WAIT_FD, NULL, NULL)) in waitfd() 101 if (!ASYNC_WAIT_CTX_clear_fd(waitctx, waitctx)) in waitfd() 106 if (!ASYNC_WAIT_CTX_set_wait_fd(waitctx, waitctx, MAGIC_WAIT_FD, NULL, NULL)) in waitfd() 108 if (!ASYNC_WAIT_CTX_clear_fd(waitctx, waitctx)) in waitfd() 128 ASYNC_WAIT_CTX *waitctx = NULL; in test_ASYNC_init_thread() local 131 || (waitctx = ASYNC_WAIT_CTX_new()) == NULL in test_ASYNC_init_thread() 132 || ASYNC_start_job(&job1, waitctx, &funcret1, only_pause, NULL, 0) in test_ASYNC_init_thread() [all …]
|
| /freebsd/crypto/openssl/crypto/async/ |
| H A D | async.c | 197 ctx->currjob->waitctx = NULL; in ASYNC_start_job() 268 ctx->currjob->waitctx = wctx; in ASYNC_start_job() 313 async_wait_ctx_reset_counts(job->waitctx); in ASYNC_pause_job() 448 return job->waitctx; in ASYNC_get_wait_ctx()
|
| H A D | async_local.h | 45 ASYNC_WAIT_CTX *waitctx; member
|
| /freebsd/crypto/openssl/engines/ |
| H A D | e_dasync.c | 519 ASYNC_WAIT_CTX *waitctx; in dummy_pause_job() local 534 waitctx = ASYNC_get_wait_ctx(job); in dummy_pause_job() 536 if (ASYNC_WAIT_CTX_get_callback(waitctx, &callback, &callback_arg) && callback != NULL) { in dummy_pause_job() 547 if (ASYNC_WAIT_CTX_get_fd(waitctx, engine_dasync_id, &pipefds[0], in dummy_pause_job() 567 if (!ASYNC_WAIT_CTX_set_wait_fd(waitctx, engine_dasync_id, pipefds[0], in dummy_pause_job() 569 wait_cleanup(waitctx, engine_dasync_id, pipefds[0], writefd); in dummy_pause_job()
|
| H A D | e_afalg.c | 188 ASYNC_WAIT_CTX *waitctx; in afalg_setup_async_event_notification() local 194 waitctx = ASYNC_get_wait_ctx(job); in afalg_setup_async_event_notification() 195 if (waitctx == NULL) { in afalg_setup_async_event_notification() 200 ret = ASYNC_WAIT_CTX_get_fd(waitctx, engine_afalg_id, in afalg_setup_async_event_notification() 215 ret = ASYNC_WAIT_CTX_set_wait_fd(waitctx, engine_afalg_id, in afalg_setup_async_event_notification()
|
| /freebsd/crypto/openssl/ssl/ |
| H A D | ssl_lib.c | 1519 ASYNC_WAIT_CTX_free(s->waitctx); in ossl_ssl_connection_free() 2113 if ((ctx = sc->waitctx) == NULL) in SSL_get_all_async_fds() 2127 if ((ctx = sc->waitctx) == NULL) in SSL_get_changed_async_fds() 2175 if ((ctx = sc->waitctx) == NULL) in SSL_get_async_status() 2246 if (sc->waitctx == NULL) { in ssl_start_async_job() 2247 sc->waitctx = ASYNC_WAIT_CTX_new(); in ssl_start_async_job() 2248 if (sc->waitctx == NULL) in ssl_start_async_job() 2251 && !ASYNC_WAIT_CTX_set_callback(sc->waitctx, ssl_async_wait_ctx_cb, s)) in ssl_start_async_job() 2256 switch (ASYNC_start_job(&sc->job, sc->waitctx, &ret, func, args, in ssl_start_async_job()
|
| H A D | ssl_local.h | 1810 ASYNC_WAIT_CTX *waitctx; member
|