Home
last modified time | relevance | path

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

123

/freebsd-13.1/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()
184 for (idx = 0; idx < num_threads; ++idx) { in GetThreadSPForThreadPtr()
198 const uint32_t num_threads = m_threads.size(); in GetBackingThread() local
[all …]
/freebsd-13.1/sbin/nvmecontrol/
H A Dperftest.c119 for (i = 0; i < io_test->num_threads; i++) in print_perftest()
126 io_test->num_threads, io_test->size, in print_perftest()
131 for (i = 0; i < io_test->num_threads; i++) in print_perftest()
167 io_test.num_threads = opt.threads; in perftest()
/freebsd-13.1/sys/tests/runtest/
H A Druntest.c42 .num_threads = 1,
70 kern_test.num_threads = in main()
/freebsd-13.1/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-13.1/contrib/llvm-project/openmp/runtime/src/
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.cpp391 unsigned num_threads, ident_t *loc, in __kmp_GOMP_parallel_microtask_wrapper() argument
431 static void __kmp_GOMP_fork_call(ident_t *loc, int gtid, unsigned num_threads, in __kmp_GOMP_fork_call() argument
442 if (num_threads != 0) in __kmp_GOMP_fork_call()
443 __kmp_push_num_threads(loc, gtid, num_threads); in __kmp_GOMP_fork_call()
492 __kmp_GOMP_fork_call(&loc, gtid, num_threads, 0u, task, in KMP_EXPAND_NAME()
1399 __kmp_GOMP_fork_call(&loc, gtid, num_threads, 0u, task, in KMP_EXPAND_NAME()
1449 unsigned num_threads, in KMP_EXPAND_NAME()
1463 __kmp_GOMP_fork_call(&loc, gtid, num_threads, flags, task, in KMP_EXPAND_NAME()
1500 __kmp_GOMP_fork_call(&loc, gtid, num_threads, flags, task, in KMP_EXPAND_NAME()
2136 void (*task)(void *), void *data, unsigned num_threads, in KMP_EXPAND_NAME()
[all …]
H A Dkmp_barrier.cpp502 kmp_uint32 num_threads = this_thr->th.th_team_nproc; in __kmp_hyper_barrier_gather() local
524 for (level = 0, offset = 1; offset < num_threads; in __kmp_hyper_barrier_gather()
553 child < branch_factor && child_tid < num_threads; in __kmp_hyper_barrier_gather()
560 if (child + 1 < branch_factor && next_child_tid < num_threads) in __kmp_hyper_barrier_gather()
620 kmp_uint32 num_threads; in __kmp_hyper_barrier_release() local
681 num_threads = this_thr->th.th_team_nproc; in __kmp_hyper_barrier_release()
696 for (level = 0, offset = 1; offset < num_threads; in __kmp_hyper_barrier_release()
703 child = num_threads >> ((level == 0) ? level : level - 1); in __kmp_hyper_barrier_release()
714 child < branch_factor && child_tid < num_threads; in __kmp_hyper_barrier_release()
718 if (child_tid >= num_threads) in __kmp_hyper_barrier_release()
[all …]
H A Dkmp_runtime.cpp7467 if (num_threads > 0) in __kmp_push_num_threads()
7468 thr->th.th_set_nproc = num_threads; in __kmp_push_num_threads()
7481 if (num_threads == 0) { in __kmp_push_thread_limit()
7499 if (num_threads == 0) { in __kmp_push_thread_limit()
7500 num_threads = 1; in __kmp_push_thread_limit()
7515 if (new_threads != num_threads) { in __kmp_push_thread_limit()
7523 num_threads = new_threads; in __kmp_push_thread_limit()
7526 thr->th.th_teams_size.nth = num_threads; in __kmp_push_thread_limit()
7535 KMP_DEBUG_ASSERT(num_threads >= 0); in __kmp_push_num_teams()
7567 KMP_DEBUG_ASSERT(num_threads >= 0); in __kmp_push_num_teams_51()
[all …]
H A Dkmp_omp.h46 kmp_int32 num_threads; // Specified number of threads. member
/freebsd-13.1/sys/fs/nfsserver/
H A Dnfs_fha_new.c380 e->num_threads = 0; in fha_hash_entry_new()
395 KASSERT(e->num_threads == 0, in fha_hash_entry_destroy()
396 ("%d threads on destroyed fhe %p", e->num_threads, e)); in fha_hash_entry_destroy()
437 fhe->num_threads++; in fha_hash_entry_add_thread()
448 fhe->num_threads--; in fha_hash_entry_remove_thread()
537 (fhe->num_threads < softc->ctls.max_nfsds_per_fh)) { in fha_hash_entry_choose_thread()
688 fhe->num_threads); in fhenew_stats_sysctl()
H A Dnfs_fha_new.h76 u_int8_t num_threads; member
/freebsd-13.1/sys/cam/ctl/
H A DREADME.ctl.txt122 num_threads=14
126 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
[all …]
H A Dctl_backend_block.c175 int num_threads; member
231 SYSCTL_INT(_kern_cam_ctl_block, OID_AUTO, num_threads, CTLFLAG_RWTUN,
2210 int retval, num_threads; in ctl_be_block_create() local
2263 num_threads = cbb_num_threads; in ctl_be_block_create()
2265 num_threads = 1; in ctl_be_block_create()
2283 num_threads = tmp_num_threads; in ctl_be_block_create()
2354 /*num threads*/num_threads, in ctl_be_block_create()
2362 be_lun->num_threads = num_threads; in ctl_be_block_create()
2740 retval = sbuf_printf(sb, "%d", lun->num_threads); in ctl_be_block_lun_info()
/freebsd-13.1/sys/tests/framework/
H A Dkern_testfrwk.c192 if (kt.num_threads <= 0) { in kerntest_execute()
221 if (kfrwk.kfrwk_waiting < kt.num_threads) { in kerntest_execute()
226 kt.tot_threads_running = kt.num_threads; in kerntest_execute()
/freebsd-13.1/sys/tests/
H A Dkern_testfrwk.h35 int num_threads; /* Fill in how many threads you want */ member
/freebsd-13.1/contrib/jemalloc/include/jemalloc/internal/
H A Dbackground_thread_structs.h48 size_t num_threads; member
/freebsd-13.1/contrib/unbound/cachedb/
H A Dredis.c104 moddata->numctxs = env->cfg->num_threads; in redis_init()
105 moddata->ctxs = calloc(env->cfg->num_threads, sizeof(redisContext*)); in redis_init()
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Ddmu_redact.c720 perform_thread_merge(bqueue_t *q, uint32_t num_threads, in perform_thread_merge() argument
738 if (num_threads == 0) { in perform_thread_merge()
748 if (num_threads > 0) { in perform_thread_merge()
749 redact_nodes = kmem_zalloc(num_threads * in perform_thread_merge()
760 for (int i = 0; i < num_threads; i++) { in perform_thread_merge()
807 for (int i = 0; i < num_threads; i++) { in perform_thread_merge()
824 kmem_free(redact_nodes, num_threads * sizeof (*redact_nodes)); in perform_thread_merge()
/freebsd-13.1/sys/dev/nvme/
H A Dnvme_test.c258 io_test_internal->td_active = io_test->num_threads; in nvme_ns_test()
270 for (i = 0; i < io_test->num_threads; i++) in nvme_ns_test()
/freebsd-13.1/contrib/unbound/daemon/
H A Ddaemon.c328 if(daemon->cfg->so_reuseport && daemon->cfg->num_threads > 0) in daemon_open_shared_ports()
340 daemon->num_ports = (size_t)daemon->cfg->num_threads; in daemon_open_shared_ports()
461 daemon->num = (daemon->cfg->num_threads?daemon->cfg->num_threads:1); in daemon_create_workers()
/freebsd-13.1/contrib/llvm-project/lldb/source/API/
H A DSBQueue.cpp100 const uint32_t num_threads = thread_list.size(); in FetchThreads() local
101 for (uint32_t idx = 0; idx < num_threads; ++idx) { in FetchThreads()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp199 const uint32_t num_threads = threads_list->GetSize(); in UpdateThreadList() local
200 for (uint32_t i = 0; i < num_threads; ++i) { in UpdateThreadList()
/freebsd-13.1/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectThread.cpp380 const uint32_t num_threads = process->GetThreadList().GetSize(); in DoExecute() local
404 step_thread_idx, num_threads); in DoExecute()
654 const uint32_t num_threads = process->GetThreadList().GetSize(); in DoExecute() local
684 for (uint32_t idx = 0; idx < num_threads; ++idx) { in DoExecute()
712 const uint32_t num_threads = process->GetThreadList().GetSize(); in DoExecute() local
719 for (uint32_t idx = 0; idx < num_threads; ++idx) { in DoExecute()
930 const uint32_t num_threads = process->GetThreadList().GetSize(); in DoExecute() local
933 m_options.m_thread_idx, num_threads); in DoExecute()
/freebsd-13.1/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-13.1/contrib/unbound/libunbound/
H A Dunbound.h657 int num_threads; member

123