Home
last modified time | relevance | path

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

/third_party/openssl/test/
Dasynctest.c50 ASYNC_WAIT_CTX *waitctx; in waitfd() local
54 waitctx = ASYNC_get_wait_ctx(job); in waitfd()
55 if (waitctx == NULL) in waitfd()
62 if (!ASYNC_WAIT_CTX_set_wait_fd(waitctx, waitctx, MAGIC_WAIT_FD, NULL, NULL)) in waitfd()
67 if (!ASYNC_WAIT_CTX_clear_fd(waitctx, waitctx)) in waitfd()
72 if (!ASYNC_WAIT_CTX_set_wait_fd(waitctx, waitctx, MAGIC_WAIT_FD, NULL, NULL)) in waitfd()
74 if (!ASYNC_WAIT_CTX_clear_fd(waitctx, waitctx)) in waitfd()
94 ASYNC_WAIT_CTX *waitctx = NULL; in test_ASYNC_init_thread() local
97 || (waitctx = ASYNC_WAIT_CTX_new()) == NULL in test_ASYNC_init_thread()
98 || ASYNC_start_job(&job1, waitctx, &funcret1, only_pause, NULL, 0) in test_ASYNC_init_thread()
[all …]
/third_party/openssl/crypto/async/
Dasync.c188 ctx->currjob->waitctx = NULL; in ASYNC_start_job()
240 ctx->currjob->waitctx = wctx; in ASYNC_start_job()
279 async_wait_ctx_reset_counts(job->waitctx); in ASYNC_pause_job()
415 return job->waitctx; in ASYNC_get_wait_ctx()
Dasync_local.h45 ASYNC_WAIT_CTX *waitctx; member
/third_party/openssl/engines/
De_afalg.c140 ASYNC_WAIT_CTX *waitctx; in afalg_setup_async_event_notification() local
146 waitctx = ASYNC_get_wait_ctx(job); in afalg_setup_async_event_notification()
147 if (waitctx == NULL) { in afalg_setup_async_event_notification()
152 ret = ASYNC_WAIT_CTX_get_fd(waitctx, engine_afalg_id, in afalg_setup_async_event_notification()
167 ret = ASYNC_WAIT_CTX_set_wait_fd(waitctx, engine_afalg_id, in afalg_setup_async_event_notification()
De_dasync.c419 ASYNC_WAIT_CTX *waitctx; in dummy_pause_job() local
432 waitctx = ASYNC_get_wait_ctx(job); in dummy_pause_job()
434 if (ASYNC_WAIT_CTX_get_fd(waitctx, engine_dasync_id, &pipefds[0], in dummy_pause_job()
454 if (!ASYNC_WAIT_CTX_set_wait_fd(waitctx, engine_dasync_id, pipefds[0], in dummy_pause_job()
456 wait_cleanup(waitctx, engine_dasync_id, pipefds[0], writefd); in dummy_pause_job()
/third_party/openssl/ssl/
Dssl_lib.c1227 ASYNC_WAIT_CTX_free(s->waitctx); in SSL_free()
1635 ASYNC_WAIT_CTX *ctx = s->waitctx; in SSL_get_all_async_fds()
1645 ASYNC_WAIT_CTX *ctx = s->waitctx; in SSL_get_changed_async_fds()
1682 if (s->waitctx == NULL) { in ssl_start_async_job()
1683 s->waitctx = ASYNC_WAIT_CTX_new(); in ssl_start_async_job()
1684 if (s->waitctx == NULL) in ssl_start_async_job()
1689 switch (ASYNC_start_job(&s->job, s->waitctx, &ret, func, args, in ssl_start_async_job()
Dssl_local.h1437 ASYNC_WAIT_CTX *waitctx; member