Home
last modified time | relevance | path

Searched refs:num_threads (Results 1 – 13 of 13) sorted by relevance

/freebsd-9-stable/contrib/gcclibs/libgomp/
Dsections.c104 unsigned num_threads, unsigned count) in GOMP_parallel_sections_start() argument
108 num_threads = gomp_resolve_num_threads (num_threads); in GOMP_parallel_sections_start()
109 if (gomp_dyn_var && num_threads > count) in GOMP_parallel_sections_start()
110 num_threads = count; in GOMP_parallel_sections_start()
112 ws = gomp_new_work_share (false, num_threads); in GOMP_parallel_sections_start()
114 gomp_team_start (fn, data, num_threads, ws); in GOMP_parallel_sections_start()
Dloop.c374 unsigned num_threads, long start, long end, in gomp_parallel_loop_start() argument
380 num_threads = gomp_resolve_num_threads (num_threads); in gomp_parallel_loop_start()
381 ws = gomp_new_work_share (false, num_threads); in gomp_parallel_loop_start()
383 gomp_team_start (fn, data, num_threads, ws); in gomp_parallel_loop_start()
388 unsigned num_threads, long start, long end, in GOMP_parallel_loop_static_start() argument
391 gomp_parallel_loop_start (fn, data, num_threads, start, end, incr, in GOMP_parallel_loop_static_start()
397 unsigned num_threads, long start, long end, in GOMP_parallel_loop_dynamic_start() argument
400 gomp_parallel_loop_start (fn, data, num_threads, start, end, incr, in GOMP_parallel_loop_dynamic_start()
406 unsigned num_threads, long start, long end, in GOMP_parallel_loop_guided_start() argument
409 gomp_parallel_loop_start (fn, data, num_threads, start, end, incr, in GOMP_parallel_loop_guided_start()
[all …]
Dparallel.c68 GOMP_parallel_start (void (*fn) (void *), void *data, unsigned num_threads) in GOMP_parallel_start() argument
70 num_threads = gomp_resolve_num_threads (num_threads); in GOMP_parallel_start()
71 gomp_team_start (fn, data, num_threads, NULL); in GOMP_parallel_start()
Dlibgomp.texi207 not use the clause @code{num_threads}.
429 sections, if those do not specify a @code{num_threads} clause. The
1140 GOMP_parallel_start (subfunction, &data, num_threads);
1146 void GOMP_parallel_start (void (*fn)(void *), void *data, unsigned num_threads)
/freebsd-9-stable/sbin/nvmecontrol/
Dperftest.c52 for (i = 0; i < io_test->num_threads; i++) in print_perftest()
59 io_test->num_threads, io_test->size, in print_perftest()
64 for (i = 0; i < io_test->num_threads; i++) in print_perftest()
108 io_test.num_threads = strtoul(optarg, &p, 0); in perftest()
114 } else if (io_test.num_threads == 0 || in perftest()
115 io_test.num_threads > 128) { in perftest()
/freebsd-9-stable/sys/nfs/
Dnfs_fha.c200 e->num_threads = 0; in fha_hash_entry_new()
215 KASSERT(e->num_threads == 0, in fha_hash_entry_destroy()
216 ("%d threads on destroyed fhe %p", e->num_threads, e)); in fha_hash_entry_destroy()
259 fhe->num_threads++; in fha_hash_entry_add_thread()
270 fhe->num_threads--; in fha_hash_entry_remove_thread()
356 (fhe->num_threads < softc->ctls.max_nfsds_per_fh)) { in fha_hash_entry_choose_thread()
512 sbuf_printf(&sb, " num_threads: %d\n", fhe->num_threads); in fhe_stats_sysctl()
Dnfs_fha.h66 u_int8_t num_threads; member
/freebsd-9-stable/sys/cam/ctl/
DREADME.ctl.txt126 num_threads=14
130 num_threads=14
134 num_threads=14
138 num_threads=14
142 num_threads=14
146 num_threads=14
150 num_threads=14
154 num_threads=14
158 num_threads=14
162 num_threads=14
[all …]
Dctl_backend_block.c170 int num_threads; member
216 SYSCTL_INT(_kern_cam_ctl_block, OID_AUTO, num_threads, CTLFLAG_RW,
1548 int retval, num_threads; in ctl_be_block_create() local
1554 num_threads = cbb_num_threads; in ctl_be_block_create()
1631 num_threads = 1; in ctl_be_block_create()
1665 num_threads = tmp_num_threads; in ctl_be_block_create()
1746 /*num threads*/num_threads, in ctl_be_block_create()
1754 be_lun->num_threads = num_threads; in ctl_be_block_create()
2234 retval = sbuf_printf(sb, "%d", lun->num_threads); in ctl_be_block_lun_info()
/freebsd-9-stable/sys/dev/nvme/
Dnvme_test.c275 io_test_internal->td_active = io_test->num_threads; in nvme_ns_test()
287 for (i = 0; i < io_test->num_threads; i++) in nvme_ns_test()
Dnvme.h721 uint32_t num_threads; member
/freebsd-9-stable/contrib/gdb/gdb/
Dgnu-nat.c990 mach_msg_type_number_t num_threads, i; in inf_validate_procs() local
1001 error_t err = task_threads (task->port, &threads, &num_threads); in inf_validate_procs()
1013 num_threads = 0; in inf_validate_procs()
1021 struct proc *matched[num_threads + 1]; in inf_validate_procs()
1033 for (i = search_start, left = num_threads; left; i++, left--) in inf_validate_procs()
1035 if (i >= num_threads) in inf_validate_procs()
1036 i -= num_threads; /* I wrapped around. */ in inf_validate_procs()
1057 for (i = 0; i < num_threads; i++) in inf_validate_procs()
1074 (vm_address_t) threads, (num_threads * sizeof (thread_t))); in inf_validate_procs()
Dnto-procfs.c266 pid_t num_threads = 0; in procfs_pidlist() local
315 num_threads = pidinfo->num_threads; in procfs_pidlist()
325 for (status->tid = 1; status->tid <= num_threads; status->tid++) in procfs_pidlist()