Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/test/
H A Dasynctest.c83 ASYNC_WAIT_CTX *waitctx; in waitfd() local
87 waitctx = ASYNC_get_wait_ctx(job); in waitfd()
88 if (waitctx == NULL) in waitfd()
95 if (!ASYNC_WAIT_CTX_set_wait_fd(waitctx, waitctx, MAGIC_WAIT_FD, NULL, NULL)) in waitfd()
100 if (!ASYNC_WAIT_CTX_clear_fd(waitctx, waitctx)) in waitfd()
105 if (!ASYNC_WAIT_CTX_set_wait_fd(waitctx, waitctx, MAGIC_WAIT_FD, NULL, NULL)) in waitfd()
107 if (!ASYNC_WAIT_CTX_clear_fd(waitctx, waitctx)) in waitfd()
127 ASYNC_WAIT_CTX *waitctx = NULL; in test_ASYNC_init_thread() local
130 || (waitctx = ASYNC_WAIT_CTX_new()) == NULL in test_ASYNC_init_thread()
131 || ASYNC_start_job(&job1, waitctx, &funcret1, only_pause, NULL, 0) in test_ASYNC_init_thread()
[all …]
/freebsd/crypto/openssl/crypto/async/
H A Dasync.c199 ctx->currjob->waitctx = NULL; in ASYNC_start_job()
270 ctx->currjob->waitctx = wctx; in ASYNC_start_job()
315 async_wait_ctx_reset_counts(job->waitctx); in ASYNC_pause_job()
451 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.c521 ASYNC_WAIT_CTX *waitctx; in dummy_pause_job() local
536 waitctx = ASYNC_get_wait_ctx(job); in dummy_pause_job()
538 if (ASYNC_WAIT_CTX_get_callback(waitctx, &callback, &callback_arg) && callback != NULL) { in dummy_pause_job()
550 if (ASYNC_WAIT_CTX_get_fd(waitctx, engine_dasync_id, &pipefds[0], in dummy_pause_job()
570 if (!ASYNC_WAIT_CTX_set_wait_fd(waitctx, engine_dasync_id, pipefds[0], in dummy_pause_job()
572 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.c1272 ASYNC_WAIT_CTX_free(s->waitctx); in SSL_free()
1709 ASYNC_WAIT_CTX *ctx = s->waitctx; in SSL_get_all_async_fds()
1719 ASYNC_WAIT_CTX *ctx = s->waitctx; in SSL_get_changed_async_fds()
1753 ASYNC_WAIT_CTX *ctx = s->waitctx; in SSL_get_async_status()
1797 if (s->waitctx == NULL) { in ssl_start_async_job()
1798 s->waitctx = ASYNC_WAIT_CTX_new(); in ssl_start_async_job()
1799 if (s->waitctx == NULL) in ssl_start_async_job()
1803 (s->waitctx, ssl_async_wait_ctx_cb, s)) in ssl_start_async_job()
1808 switch (ASYNC_start_job(&s->job, s->waitctx, &ret, func, args, in ssl_start_async_job()
H A Dssl_local.h1753 ASYNC_WAIT_CTX *waitctx; member