Home
last modified time | relevance | path

Searched refs:waitctx (Results 1 – 7 of 7) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dasynctest.c84 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 Dasync.c197 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 Dasync_local.h45 ASYNC_WAIT_CTX *waitctx; member
/freebsd/crypto/openssl/engines/
H A De_dasync.c519 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 De_afalg.c188 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 Dssl_lib.c1519 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 Dssl_local.h1810 ASYNC_WAIT_CTX *waitctx; member