Home
last modified time | relevance | path

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

/openssl/crypto/thread/
H A Dapi.c30 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads) in OSSL_set_max_threads() argument
51 ret = tdata->max_threads; in OSSL_get_max_threads()
58 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads) in OSSL_set_max_threads() argument
67 tdata->max_threads = max_threads; in OSSL_set_max_threads()
H A Dinternal.c22 return tdata->max_threads - tdata->active_threads; in _ossl_get_avail_threads()
50 if (tdata == NULL || tdata->max_threads == 0) { in ossl_crypto_thread_start()
/openssl/demos/kdf/
H A Dargon2.c111 uint64_t max_threads = OSSL_get_max_threads(library_context); in main() local
113 if (max_threads == 0) in main()
115 else if (max_threads < parallel_cost) in main()
116 threads = max_threads; in main()
/openssl/include/openssl/
H A Dthread.h24 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads);
/openssl/include/internal/
H A Dthread.h31 uint64_t max_threads; member
/openssl/doc/designs/
H A Dthread-api.md42 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads);
/openssl/doc/man3/
H A DCRYPTO_THREAD_run_once.pod38 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads);

Completed in 11 milliseconds