Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/lldb/source/Target/
H A DThreadList.cpp110 const uint32_t num_threads = m_threads.size(); in FindThreadByID() local
111 for (idx = 0; idx < num_threads; ++idx) { in FindThreadByID()
128 const uint32_t num_threads = m_threads.size(); in FindThreadByProtocolID() local
129 for (idx = 0; idx < num_threads; ++idx) { in FindThreadByProtocolID()
146 const uint32_t num_threads = m_threads.size(); in RemoveThreadByID() local
147 for (idx = 0; idx < num_threads; ++idx) { in RemoveThreadByID()
166 const uint32_t num_threads = m_threads.size(); in RemoveThreadByProtocolID() local
167 for (idx = 0; idx < num_threads; ++idx) { in RemoveThreadByProtocolID()
183 const uint32_t num_threads = m_threads.size(); in GetThreadSPForThreadPtr() local
184 for (idx = 0; idx < num_threads; ++idx) { in GetThreadSPForThreadPtr()
[all …]
/freebsd/sbin/nvmecontrol/
H A Dperftest.c116 for (i = 0; i < io_test->num_threads; i++) in print_perftest()
123 io_test->num_threads, io_test->size, in print_perftest()
128 for (i = 0; i < io_test->num_threads; i++) in print_perftest()
164 io_test.num_threads = opt.threads; in perftest()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_barrier.h94 size_t KMP_ALIGN_CACHE num_threads; // number of threads in barrier
119 d->num_threads = 0; in allocate()
139 size_t get_num_threads() { return num_threads; }
91 size_t KMP_ALIGN_CACHE num_threads; // number of threads in barrier global() variable
H A Dkmp_debugger.cpp265 int num_threads = 0; in __kmp_omp_num_threads() local
276 num_threads = items[i].num_threads; in __kmp_omp_num_threads()
282 return num_threads; in __kmp_omp_num_threads()
H A Dkmp_gsupport.cpp421 unsigned num_threads, ident_t *loc, in __kmp_GOMP_parallel_microtask_wrapper() argument
461 static void __kmp_GOMP_fork_call(ident_t *loc, int gtid, unsigned num_threads, in __kmp_GOMP_fork_call() argument
472 if (num_threads != 0) in __kmp_GOMP_fork_call()
473 __kmp_push_num_threads(loc, gtid, num_threads); in __kmp_GOMP_fork_call()
507 unsigned num_threads) { in KMP_EXPAND_NAME()
522 __kmp_GOMP_fork_call(&loc, gtid, num_threads, 0u, task, in KMP_EXPAND_NAME()
1160 void func(void (*task)(void *), void *data, unsigned num_threads, long lb, \
1172 __kmp_GOMP_fork_call(&loc, gtid, num_threads, 0u, task, \
1174 9, task, data, num_threads, &loc, (schedule), lb, \
1413 void (*task)(void *), void *data, unsigned num_threads, unsigned count) { in KMP_EXPAND_NAME()
[all …]
H A Dkmp_barrier.cpp202 num_threads = nthr; in init()
1014 kmp_uint32 num_threads = this_thr->th.th_team_nproc; in __kmp_hyper_barrier_gather() local
1036 for (level = 0, offset = 1; offset < num_threads; in __kmp_hyper_barrier_gather()
1065 child < branch_factor && child_tid < num_threads; in __kmp_hyper_barrier_gather()
1072 if (child + 1 < branch_factor && next_child_tid < num_threads) in __kmp_hyper_barrier_gather()
1132 kmp_uint32 num_threads; in __kmp_hyper_barrier_release() local
1193 num_threads = this_thr->th.th_team_nproc; in __kmp_hyper_barrier_release()
1199 offset < num_threads && (((tid >> level) & (branch_factor - 1)) == 0); in __kmp_hyper_barrier_release()
1208 for (level = 0, offset = 1; offset < num_threads; in __kmp_hyper_barrier_release()
1215 child = num_threads >> ((level == 0) ? level : level - 1); in __kmp_hyper_barrier_release()
[all …]
H A Dkmp_runtime.cpp7856 void __kmp_push_num_threads(ident_t *id, int gtid, int num_threads) { in __kmp_push_num_threads() argument
7859 if (num_threads > 0) in __kmp_push_num_threads()
7860 thr->th.th_set_nproc = num_threads; in __kmp_push_num_threads()
7897 int num_threads) { in __kmp_push_thread_limit() argument
7906 if (num_threads == 0) { in __kmp_push_thread_limit()
7908 num_threads = __kmp_teams_thread_limit; in __kmp_push_thread_limit()
7910 num_threads = __kmp_avail_proc / num_teams; in __kmp_push_thread_limit()
7915 if (num_threads > __kmp_dflt_team_nth) { in __kmp_push_thread_limit()
7916 num_threads = __kmp_dflt_team_nth; // honor nthreads-var ICV in __kmp_push_thread_limit()
7918 if (num_threads > thr->th.th_current_task->td_icvs.thread_limit) { in __kmp_push_thread_limit()
[all …]
/freebsd/sys/tests/runtest/
H A Druntest.c41 .num_threads = 1,
69 kern_test.num_threads = in main()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_mac.cpp58 mach_msg_type_number_t num_threads; in RunThread() local
59 kern_return_t err = task_threads(mach_task_self(), &threads, &num_threads); in RunThread()
66 for (unsigned int i = 0; i < num_threads; ++i) { in RunThread()
/freebsd/sys/fs/nfsserver/
H A Dnfs_fha_new.c367 e->num_threads = 0; in fha_hash_entry_new()
382 KASSERT(e->num_threads == 0, in fha_hash_entry_destroy()
383 ("%d threads on destroyed fhe %p", e->num_threads, e)); in fha_hash_entry_destroy()
424 fhe->num_threads++; in fha_hash_entry_add_thread()
435 fhe->num_threads--; in fha_hash_entry_remove_thread()
524 (fhe->num_threads < NFSD_VNET(nfsfha_ctls).max_nfsds_per_fh)) { in fha_hash_entry_choose_thread()
680 fhe->num_threads); in fhenew_stats_sysctl()
H A Dnfs_fha_new.h75 u_int8_t num_threads; member
/freebsd/sys/cam/ctl/
H A DREADME.ctl.txt121 num_threads=14
125 num_threads=14
129 num_threads=14
133 num_threads=14
137 num_threads=14
141 num_threads=14
145 num_threads=14
149 num_threads=14
153 num_threads=14
157 num_threads=14
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/TraceExporter/ctf/
H A DCommandObjectThreadTraceExportCTF.cpp76 const uint32_t num_threads = process->GetThreadList().GetSize(); in DoExecute() local
80 num_threads); in DoExecute()
/freebsd/sys/tests/framework/
H A Dkern_testfrwk.c190 if (kt.num_threads <= 0) { in kerntest_execute()
215 if (kfrwk.kfrwk_waiting < kt.num_threads) { in kerntest_execute()
220 kt.tot_threads_running = kt.num_threads; in kerntest_execute()
/freebsd/contrib/unbound/daemon/
H A Ddaemon.c371 if(daemon->cfg->so_reuseport && daemon->cfg->num_threads > 0) in daemon_open_shared_ports()
384 daemon->num_ports = (size_t)daemon->cfg->num_threads; in daemon_open_shared_ports()
567 daemon->num = (daemon->cfg->num_threads?daemon->cfg->num_threads:1); in daemon_create_workers()
1011 int new_num = cfg->num_threads?cfg->num_threads:1; in daemon_apply_cfg()
/freebsd/sys/tests/
H A Dkern_testfrwk.h34 int num_threads; /* Fill in how many threads you want */ member
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dbackground_thread_structs.h48 size_t num_threads; member
/freebsd/sys/dev/nvme/
H A Dnvme_test.c256 io_test_internal->td_active = io_test->num_threads; in nvme_ns_test()
268 for (i = 0; i < io_test->num_threads; i++) in nvme_ns_test()
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBQueue.cpp94 const uint32_t num_threads = thread_list.size(); in FetchThreads() local
95 for (uint32_t idx = 0; idx < num_threads; ++idx) { in FetchThreads()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_redact.c724 perform_thread_merge(bqueue_t *q, uint32_t num_threads, in perform_thread_merge() argument
742 if (num_threads == 0) { in perform_thread_merge()
752 redact_nodes = vmem_zalloc(num_threads * in perform_thread_merge()
762 for (int i = 0; i < num_threads; i++) { in perform_thread_merge()
809 for (int i = 0; i < num_threads; i++) { in perform_thread_merge()
826 vmem_free(redact_nodes, num_threads * sizeof (*redact_nodes)); in perform_thread_merge()
/freebsd/contrib/unbound/cachedb/
H A Dredis.c151 moddata->numctxs = env->cfg->num_threads; in redis_init()
152 moddata->ctxs = calloc(env->cfg->num_threads, sizeof(redisContext*)); in redis_init()
/freebsd/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp196 const uint32_t num_threads = threads_list->GetSize(); in UpdateThreadList() local
197 for (uint32_t i = 0; i < num_threads; ++i) { in UpdateThreadList()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSDKernel/
H A DProcessFreeBSDKernel.cpp256 const uint32_t num_threads = old_thread_list.GetSize(false); in DoUpdateThreadList() local
257 for (uint32_t i = 0; i < num_threads; ++i) in DoUpdateThreadList()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_blake2sp_ref.c155 #pragma omp parallel shared(S), num_threads(PARALLELISM_DEGREE) in blake2sp_update()
252 #pragma omp parallel shared(S,hash), num_threads(PARALLELISM_DEGREE) in blake2sp()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Minidump/
H A DMinidumpFileBuilder.cpp73 const uint32_t num_threads = thread_list.GetSize(); in AddHeaderAndCalculateDirectories() local
74 for (uint32_t thread_idx = 0; thread_idx < num_threads; ++thread_idx) { in AddHeaderAndCalculateDirectories()
612 const uint32_t num_threads = thread_list.GetSize(); in AddThreadList() local
614 for (uint32_t thread_idx = 0; thread_idx < num_threads; ++thread_idx) { in AddThreadList()
679 const uint32_t num_threads = thread_list.GetSize(); in AddExceptions() local
680 for (uint32_t thread_idx = 0; thread_idx < num_threads; ++thread_idx) { in AddExceptions()

123