Searched refs:num_threads (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-11-stable/contrib/gcclibs/libgomp/
H A Dsections.c104 unsigned num_threads, unsigned count)
108 num_threads = gomp_resolve_num_threads (num_threads);
109 if (gomp_dyn_var && num_threads > count)
110 num_threads = count;
112 ws = gomp_new_work_share (false, num_threads);
114 gomp_team_start (fn, data, num_threads, ws);
103 GOMP_parallel_sections_start(void (*fn) (void *), void *data, unsigned num_threads, unsigned count) argument
H A Dparallel.c68 GOMP_parallel_start (void (*fn) (void *), void *data, unsigned num_threads) argument
70 num_threads = gomp_resolve_num_threads (num_threads);
71 gomp_team_start (fn, data, num_threads, NULL);
H A Dloop.c374 unsigned num_threads, long start, long end,
380 num_threads = gomp_resolve_num_threads (num_threads);
381 ws = gomp_new_work_share (false, num_threads);
383 gomp_team_start (fn, data, num_threads, ws);
388 unsigned num_threads, long start, long end,
391 gomp_parallel_loop_start (fn, data, num_threads, start, end, incr,
397 unsigned num_threads, long start, long end,
400 gomp_parallel_loop_start (fn, data, num_threads, start, end, incr,
406 unsigned num_threads, lon
373 gomp_parallel_loop_start(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, enum gomp_schedule_type sched, long chunk_size) argument
387 GOMP_parallel_loop_static_start(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size) argument
396 GOMP_parallel_loop_dynamic_start(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size) argument
405 GOMP_parallel_loop_guided_start(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr, long chunk_size) argument
414 GOMP_parallel_loop_runtime_start(void (*fn) (void *), void *data, unsigned num_threads, long start, long end, long incr) argument
[all...]
/freebsd-11-stable/sys/tests/
H A Dkern_testfrwk.h36 int num_threads; /* Fill in how many threads you want */ member in struct:kern_test
/freebsd-11-stable/sbin/nvmecontrol/
H A Dperftest.c54 for (i = 0; i < io_test->num_threads; i++)
61 io_test->num_threads, io_test->size,
66 for (i = 0; i < io_test->num_threads; i++)
110 io_test.num_threads = strtoul(optarg, &p, 0);
116 } else if (io_test.num_threads == 0 ||
117 io_test.num_threads > 128) {
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Darwin/
H A DNativeThreadListDarwin.cpp188 const size_t num_threads = m_threads.size();
189 for (size_t idx = 0; idx < num_threads; ++idx)
422 const size_t num_threads = m_threads.size();
423 for (uint32_t idx = 0; idx < num_threads; ++idx)
497 const size_t num_threads = m_threads.size();
498 for (uint32_t idx = 0; idx < num_threads; ++idx)
576 const size_t num_threads = m_threads.size();
577 for (uint32_t idx = 0; idx < num_threads; ++idx)
589 const size_t num_threads = m_threads.size();
590 for (uint32_t idx = 0; idx < num_threads;
[all...]
H A DNativeThreadListDarwin.h127 collection *num_threads = nullptr);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Target/
H A DThreadList.cpp110 const uint32_t num_threads = m_threads.size(); local
111 for (idx = 0; idx < num_threads; ++idx) {
128 const uint32_t num_threads = m_threads.size(); local
129 for (idx = 0; idx < num_threads; ++idx) {
146 const uint32_t num_threads = m_threads.size(); local
147 for (idx = 0; idx < num_threads; ++idx) {
166 const uint32_t num_threads = m_threads.size(); local
167 for (idx = 0; idx < num_threads; ++idx) {
183 const uint32_t num_threads = m_threads.size(); local
184 for (idx = 0; idx < num_threads;
198 const uint32_t num_threads = m_threads.size(); local
215 const uint32_t num_threads = m_threads.size(); local
452 const uint32_t num_threads = m_threads.size(); local
720 const uint32_t num_threads = m_threads.size(); local
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_mac.cpp58 mach_msg_type_number_t num_threads; local
59 kern_return_t err = task_threads(mach_task_self(), &threads, &num_threads);
66 for (unsigned int i = 0; i < num_threads; ++i) {
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_gsupport.cpp324 unsigned num_threads, ident_t *loc,
416 unsigned num_threads) {
432 if (__kmpc_ok_to_fork(&loc) && (num_threads != 1)) {
433 if (num_threads != 0) {
434 __kmp_push_num_threads(&loc, gtid, num_threads);
1043 void func(void (*task)(void *), void *data, unsigned num_threads, long lb, \
1055 if (__kmpc_ok_to_fork(&loc) && (num_threads != 1)) { \
1056 if (num_threads != 0) { \
1057 __kmp_push_num_threads(&loc, gtid, num_threads); \
1061 9, task, data, num_threads,
322 __kmp_GOMP_parallel_microtask_wrapper(int *gtid, int *npr, void (*task)(void *), void *data, unsigned num_threads, ident_t *loc, enum sched_type schedule, long start, long end, long incr, long chunk_size) argument
414 KMP_API_NAME_GOMP_PARALLEL_START(void (*task)(void *), void *data, unsigned num_threads) argument
1297 KMP_API_NAME_GOMP_PARALLEL_SECTIONS_START( void (*task)(void *), void *data, unsigned num_threads, unsigned count) argument
1369 KMP_API_NAME_GOMP_PARALLEL(void (*task)(void *), void *data, unsigned num_threads, unsigned int flags) argument
1419 KMP_API_NAME_GOMP_PARALLEL_SECTIONS(void (*task)(void *), void *data, unsigned num_threads, unsigned count, unsigned flags) argument
[all...]
H A Dkmp_debugger.cpp265 int num_threads = 0; local
276 num_threads = items[i].num_threads;
282 return num_threads;
H A Dkmp_omp.h46 kmp_int32 num_threads; // Specified number of threads. member in struct:__anon3440
H A Dkmp_barrier.cpp522 kmp_uint32 num_threads = this_thr->th.th_team_nproc; local
544 for (level = 0, offset = 1; offset < num_threads;
573 child < branch_factor && child_tid < num_threads;
580 if (child + 1 < branch_factor && next_child_tid < num_threads)
643 kmp_uint32 num_threads; local
705 num_threads = this_thr->th.th_team_nproc;
711 offset < num_threads && (((tid >> level) & (branch_factor - 1)) == 0);
720 for (level = 0, offset = 1; offset < num_threads;
727 child = num_threads >> ((level == 0) ? level : level - 1);
738 child < branch_factor && child_tid < num_threads;
[all...]
/freebsd-11-stable/sys/nfs/
H A Dnfs_fha.h70 u_int8_t num_threads; member in struct:fha_hash_entry
H A Dnfs_fha.c194 e->num_threads = 0;
209 KASSERT(e->num_threads == 0,
210 ("%d threads on destroyed fhe %p", e->num_threads, e));
253 fhe->num_threads++;
264 fhe->num_threads--;
356 (fhe->num_threads < softc->ctls.max_nfsds_per_fh)) {
512 sbuf_printf(&sb, " num_threads: %d\n", fhe->num_threads);
/freebsd-11-stable/sys/tests/framework/
H A Dkern_testfrwk.c190 if (kt.num_threads <= 0) {
219 if (kfrwk.kfrwk_waiting < kt.num_threads) {
224 kt.tot_threads_running = kt.num_threads;
/freebsd-11-stable/sys/dev/nvme/
H A Dnvme_test.c257 io_test_internal->td_active = io_test->num_threads;
269 for (i = 0; i < io_test->num_threads; i++)
/freebsd-11-stable/contrib/unbound/cachedb/
H A Dredis.c104 moddata->numctxs = env->cfg->num_threads;
105 moddata->ctxs = calloc(env->cfg->num_threads, sizeof(redisContext*));
/freebsd-11-stable/contrib/unbound/libunbound/
H A Dunbound.h627 int num_threads; member in struct:ub_shm_stat_info
805 * shm mapped with (number+1) at num_threads+1, with first as total
/freebsd-11-stable/contrib/unbound/daemon/
H A Ddaemon.c327 if(daemon->cfg->so_reuseport && daemon->cfg->num_threads > 0)
339 daemon->num_ports = (size_t)daemon->cfg->num_threads;
460 daemon->num = (daemon->cfg->num_threads?daemon->cfg->num_threads:1);
/freebsd-11-stable/contrib/llvm-project/lldb/source/API/
H A DSBQueue.cpp102 const uint32_t num_threads = thread_list.size(); local
103 for (uint32_t idx = 0; idx < num_threads; ++idx) {
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp197 const uint32_t num_threads = threads_list->GetSize(); local
198 for (uint32_t i = 0; i < num_threads; ++i) {
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_blake2sp_ref.c153 #pragma omp parallel shared(S), num_threads(PARALLELISM_DEGREE)
250 #pragma omp parallel shared(S,hash), num_threads(PARALLELISM_DEGREE)
/freebsd-11-stable/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectThread.cpp555 const uint32_t num_threads = process->GetThreadList().GetSize(); variable
581 step_thread_idx, num_threads);
836 const uint32_t num_threads = process->GetThreadList().GetSize(); variable
869 for (uint32_t idx = 0; idx < num_threads; ++idx) {
897 const uint32_t num_threads = process->GetThreadList().GetSize(); variable
905 for (uint32_t idx = 0; idx < num_threads; ++idx) {
1125 const uint32_t num_threads = process->GetThreadList().GetSize(); variable
1128 m_options.m_thread_idx, num_threads);
/freebsd-11-stable/contrib/gdb/gdb/
H A Dnto-procfs.c266 pid_t num_threads = 0; local
315 num_threads = pidinfo->num_threads;
325 for (status->tid = 1; status->tid <= num_threads; status->tid++)

Completed in 161 milliseconds

12