Home
last modified time | relevance | path

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

/openssl/test/
H A Dasynctest.c85 ASYNC_WAIT_CTX *waitctx; in waitfd() local
90 if (waitctx == NULL) in waitfd()
97 if (!ASYNC_WAIT_CTX_set_wait_fd(waitctx, waitctx, MAGIC_WAIT_FD, NULL, NULL)) in waitfd()
102 if (!ASYNC_WAIT_CTX_clear_fd(waitctx, waitctx)) in waitfd()
107 if (!ASYNC_WAIT_CTX_set_wait_fd(waitctx, waitctx, MAGIC_WAIT_FD, NULL, NULL)) in waitfd()
109 if (!ASYNC_WAIT_CTX_clear_fd(waitctx, waitctx)) in waitfd()
129 ASYNC_WAIT_CTX *waitctx = NULL; in test_ASYNC_init_thread() local
156 ASYNC_WAIT_CTX_free(waitctx); in test_ASYNC_init_thread()
192 ASYNC_WAIT_CTX_free(waitctx); in test_ASYNC_callback_status()
221 ASYNC_WAIT_CTX_free(waitctx); in test_ASYNC_start_job()
[all …]
/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()
452 return job->waitctx; in ASYNC_get_wait_ctx()
H A Dasync_local.h45 ASYNC_WAIT_CTX *waitctx; member
/openssl/engines/
H A De_dasync.c476 ASYNC_WAIT_CTX *waitctx; in dummy_pause_job() local
491 waitctx = ASYNC_get_wait_ctx(job); in dummy_pause_job()
493 if (ASYNC_WAIT_CTX_get_callback(waitctx, &callback, &callback_arg) && callback != NULL) { in dummy_pause_job()
505 if (ASYNC_WAIT_CTX_get_fd(waitctx, engine_dasync_id, &pipefds[0], in dummy_pause_job()
525 if (!ASYNC_WAIT_CTX_set_wait_fd(waitctx, engine_dasync_id, pipefds[0], in dummy_pause_job()
527 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()
/openssl/ssl/
H A Dssl_lib.c1415 ASYNC_WAIT_CTX_free(s->waitctx); in ossl_ssl_connection_free()
1950 if ((ctx = sc->waitctx) == NULL) in SSL_get_all_async_fds()
1964 if ((ctx = sc->waitctx) == NULL) in SSL_get_changed_async_fds()
2012 if ((ctx = sc->waitctx) == NULL) in SSL_get_async_status()
2073 if (sc->waitctx == NULL) { in ssl_start_async_job()
2074 sc->waitctx = ASYNC_WAIT_CTX_new(); in ssl_start_async_job()
2075 if (sc->waitctx == NULL) in ssl_start_async_job()
2079 (sc->waitctx, ssl_async_wait_ctx_cb, s)) in ssl_start_async_job()
2084 switch (ASYNC_start_job(&sc->job, sc->waitctx, &ret, func, args, in ssl_start_async_job()
H A Dssl_local.h1777 ASYNC_WAIT_CTX *waitctx; member

Completed in 55 milliseconds