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

12

/freebsd-10.2-release/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-10.2-release/sbin/nvmecontrol/
H A Dperftest.c52 for (i = 0; i < io_test->num_threads; i++)
59 io_test->num_threads, io_test->size,
64 for (i = 0; i < io_test->num_threads; i++)
108 io_test.num_threads = strtoul(optarg, &p, 0);
114 } else if (io_test.num_threads == 0 ||
115 io_test.num_threads > 128) {
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Target/
H A DThreadList.cpp131 const uint32_t num_threads = m_threads.size(); local
132 for (idx = 0; idx < num_threads; ++idx)
153 const uint32_t num_threads = m_threads.size(); local
154 for (idx = 0; idx < num_threads; ++idx)
176 const uint32_t num_threads = m_threads.size(); local
177 for (idx = 0; idx < num_threads; ++idx)
199 const uint32_t num_threads = m_threads.size(); local
200 for (idx = 0; idx < num_threads; ++idx)
221 const uint32_t num_threads = m_threads.size(); local
222 for (idx = 0; idx < num_threads;
245 const uint32_t num_threads = m_threads.size(); local
471 const uint32_t num_threads = m_threads.size(); local
781 const uint32_t num_threads = m_threads.size(); local
[all...]
H A DProcess.cpp4311 uint32_t num_threads = curr_thread_list.GetSize();
4322 std::vector<uint32_t> thread_index_array(num_threads);
4323 for (idx = 0; idx < num_threads; ++idx)
4338 for (idx = 0; idx < num_threads; ++idx)
4341 if (curr_thread_list.GetSize() != num_threads)
4345 log->Printf("Number of threads changed from %u to %u while processing event.", num_threads, curr_thread_list.GetSize());
5621 uint32_t num_threads = thread_list.GetSize();
5624 ts.Printf("<%u threads> ", num_threads);
5627 thread_index < num_threads;
5827 const size_t num_threads
[all...]
/freebsd-10.2-release/sys/nfs/
H A Dnfs_fha.h66 u_int8_t num_threads; member in struct:fha_hash_entry
H A Dnfs_fha.c200 e->num_threads = 0;
215 KASSERT(e->num_threads == 0,
216 ("%d threads on destroyed fhe %p", e->num_threads, e));
259 fhe->num_threads++;
270 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-10.2-release/contrib/llvm/tools/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp209 const uint32_t num_threads = threads_list.GetSize(); local
210 if (num_threads > 0)
212 for (i=0; i<num_threads; ++i)
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/API/
H A DSBQueue.cpp148 const uint32_t num_threads = thread_list.size(); local
149 for (uint32_t idx = 0; idx < num_threads; ++idx)
H A DSBProcess.cpp245 uint32_t num_threads = 0; local
253 num_threads = process_sp->GetThreadList().GetSize(can_update);
257 log->Printf ("SBProcess(%p)::GetNumThreads () => %d", process_sp.get(), num_threads);
259 return num_threads;
/freebsd-10.2-release/sys/dev/nvme/
H A Dnvme_test.c275 io_test_internal->td_active = io_test->num_threads;
287 for (i = 0; i < io_test->num_threads; i++)
H A Dnvme.h721 uint32_t num_threads; member in struct:nvme_io_test
/freebsd-10.2-release/contrib/unbound/daemon/
H A Ddaemon.c272 if(daemon->cfg->so_reuseport && daemon->cfg->num_threads > 0)
283 daemon->num_ports = (size_t)daemon->cfg->num_threads;
401 daemon->num = (daemon->cfg->num_threads?daemon->cfg->num_threads:1);
H A Dunbound.c224 int numthread = (cfg->num_threads?cfg->num_threads:1);
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Commands/
H A DCommandObjectThread.cpp461 const uint32_t num_threads = process->GetThreadList().GetSize(); local
488 step_thread_idx, num_threads);
718 const uint32_t num_threads = process->GetThreadList().GetSize(); local
761 for (uint32_t idx=0; idx<num_threads; ++idx)
790 const uint32_t num_threads = process->GetThreadList().GetSize(); local
799 for (uint32_t idx=0; idx<num_threads; ++idx)
1040 const uint32_t num_threads = process->GetThreadList().GetSize(); local
1043 num_threads);
H A DCommandObjectProcess.cpp756 const uint32_t num_threads = process->GetThreadList().GetSize(); local
759 for (uint32_t idx=0; idx<num_threads; ++idx)
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.cpp228 const uint32_t num_threads = GetNumThreadContexts (); local
232 for (lldb::tid_t tid = 0; tid < num_threads; ++tid)
/freebsd-10.2-release/contrib/unbound/smallapp/
H A Dunbound-checkconf.c329 if(cfg->num_threads <= 0 || cfg->num_threads > 10000)
330 fatal_exit("num_threads value weird");
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp1166 const size_t num_threads = GetThreadList().GetSize(); local
1172 if (m_continue_c_tids.size() == num_threads ||
1247 if (num_continue_c_tids == num_threads)
1268 if ((num_continue_C_tids + num_continue_c_tids) == num_threads &&
1310 if (num_continue_s_tids == num_threads)
1331 if (num_continue_S_tids == num_threads)
1338 for (size_t i=1; i<num_threads; ++i)
1946 size_t num_threads = threads.GetSize();
1947 for (size_t i = 0; i < num_threads; i++)
1981 size_t num_threads
[all...]
/freebsd-10.2-release/contrib/unbound/util/
H A Dconfig_file.h67 int num_threads; member in struct:config_file
H A Dconfig_file.c91 cfg->num_threads = 1;
315 } else if(strcmp(opt, "num_threads:") == 0) {
610 else O_DEC(opt, "num-threads", num_threads)
/freebsd-10.2-release/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++)
H A Dgnu-nat.c1003 mach_msg_type_number_t num_threads, i;
1014 error_t err = task_threads (task->port, &threads, &num_threads);
1026 num_threads = 0;
1034 struct proc *matched[num_threads + 1];
1046 for (i = search_start, left = num_threads; left; i++, left--)
1048 if (i >= num_threads)
1049 i -= num_threads; /* I wrapped around. */
1070 for (i = 0; i < num_threads; i++)
1087 (vm_address_t) threads, (num_threads * sizeof (thread_t)));
990 mach_msg_type_number_t num_threads, i; local
/freebsd-10.2-release/sys/cam/ctl/
H A Dctl_backend_block.c189 int num_threads; member in struct:ctl_be_block_lun
235 TUNABLE_INT("kern.cam.ctl.block.num_threads", &cbb_num_threads);
238 SYSCTL_INT(_kern_cam_ctl_block, OID_AUTO, num_threads, CTLFLAG_RW,
2205 int retval, num_threads; local
2212 num_threads = cbb_num_threads;
2274 num_threads = 1;
2281 value = ctl_get_opt(&be_lun->ctl_be_lun.options, "num_threads");
2296 num_threads = tmp_num_threads;
2389 /*num threads*/num_threads,
2397 be_lun->num_threads
[all...]

Completed in 179 milliseconds

12