Home
last modified time | relevance | path

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

/freebsd/crypto/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()
/freebsd/crypto/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()
/freebsd/crypto/krb5/src/appl/gss-sample/
H A Dgss-server.c573 static int max_threads = 1; variable
599 if (thread_count < max_threads) { in WaitAndIncrementThreadCounter()
622 if (thread_count == max_threads) in DecrementAndSignalThreadCounter()
653 if (max_threads > 1) in worker_bee()
688 max_threads = atoi(*argv); in main()
741 if (max_threads < 1) { in main()
743 max_threads = 1; in main()
746 if (max_threads > 1 && do_inetd) in main()
788 if (max_threads == 1) { in main()
H A Dgss-client.c620 static int max_threads = 1; variable
646 if (thread_count < max_threads) { in WaitAndIncrementThreadCounter()
669 if (thread_count == max_threads) in DecrementAndSignalThreadCounter()
701 if (max_threads > 1) in worker_bee()
755 max_threads = atoi(*argv); in main()
806 if (max_threads < 1) { in main()
808 max_threads = 1; in main()
819 if (max_threads == 1) { in main()
837 assert(max_threads == 1); in main()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_barrier.h95 size_t KMP_ALIGN_CACHE max_threads; // size of arrays in data structure
120 d->max_threads = 0; in allocate()
138 bool need_resize(size_t new_nthr) { return (new_nthr > max_threads); }
92 size_t KMP_ALIGN_CACHE max_threads; // size of arrays in data structure global() variable
H A Dkmp_barrier.cpp129 KMP_DEBUG_ASSERT(nthr > max_threads); in resize()
132 max_threads = nthr * 2; in resize()
138 max_threads * sizeof(flags_s)); in resize()
140 flags[i] = (flags_s *)KMP_INTERNAL_MALLOC(max_threads * sizeof(flags_s)); in resize()
144 go = (go_s *)KMP_INTERNAL_REALLOC(go, max_threads * sizeof(go_s)); in resize()
146 go = (go_s *)KMP_INTERNAL_MALLOC(max_threads * sizeof(go_s)); in resize()
149 iter = (iter_s *)KMP_INTERNAL_REALLOC(iter, max_threads * sizeof(iter_s)); in resize()
151 iter = (iter_s *)KMP_INTERNAL_MALLOC(max_threads * sizeof(iter_s)); in resize()
155 (sleep_s *)KMP_INTERNAL_REALLOC(sleep, max_threads * sizeof(sleep_s)); in resize()
157 sleep = (sleep_s *)KMP_INTERNAL_MALLOC(max_threads * sizeof(sleep_s)); in resize()
[all …]
/freebsd/crypto/openssl/include/openssl/
H A Dthread.h24 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads);
/freebsd/crypto/openssl/include/internal/
H A Dthread.h31 uint64_t max_threads; member
/freebsd/cddl/compat/opensolaris/include/
H A Dthread_pool.h47 extern tpool_t *tpool_create(uint_t min_threads, uint_t max_threads,
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cpp107 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory, u32 max_threads, in ThreadRegistry() argument
110 max_threads_(max_threads), in ThreadRegistry()
H A Dsanitizer_thread_registry.h92 ThreadRegistry(ThreadContextFactory factory, u32 max_threads,
/freebsd/sys/dev/acpica/Osd/
H A DOsdSchedule.c72 SYSCTL_INT(_debug_acpi, OID_AUTO, max_threads, CTLFLAG_RDTUN, &acpi_max_threads,
/freebsd/crypto/openssl/doc/designs/
H A Dthread-api.md42 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads);
/freebsd/crypto/openssl/doc/man3/
H A DCRYPTO_THREAD_run_once.pod38 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads);