Searched refs:max_threads (Results 1 – 7 of 7) sorted by relevance
30 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads) in OSSL_set_max_threads() argument51 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() argument67 tdata->max_threads = max_threads; in OSSL_set_max_threads()
22 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()
111 uint64_t max_threads = OSSL_get_max_threads(library_context); in main() local113 if (max_threads == 0) in main()115 else if (max_threads < parallel_cost) in main()116 threads = max_threads; in main()
24 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads);
31 uint64_t max_threads; member
42 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads);
38 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads);
Completed in 14 milliseconds