| /freebsd-13.1/contrib/llvm-project/lldb/source/Target/ |
| H A D | ThreadList.cpp | 110 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 D | perftest.c | 119 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 D | runtest.c | 42 .num_threads = 1, 70 kern_test.num_threads = in main()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stoptheworld_mac.cpp | 58 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 D | kmp_debugger.cpp | 265 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 D | kmp_gsupport.cpp | 391 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 D | kmp_barrier.cpp | 502 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 D | kmp_runtime.cpp | 7467 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 D | kmp_omp.h | 46 kmp_int32 num_threads; // Specified number of threads. member
|
| /freebsd-13.1/sys/fs/nfsserver/ |
| H A D | nfs_fha_new.c | 380 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 D | nfs_fha_new.h | 76 u_int8_t num_threads; member
|
| /freebsd-13.1/sys/cam/ctl/ |
| H A D | README.ctl.txt | 122 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 D | ctl_backend_block.c | 175 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 D | kern_testfrwk.c | 192 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 D | kern_testfrwk.h | 35 int num_threads; /* Fill in how many threads you want */ member
|
| /freebsd-13.1/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | background_thread_structs.h | 48 size_t num_threads; member
|
| /freebsd-13.1/contrib/unbound/cachedb/ |
| H A D | redis.c | 104 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 D | dmu_redact.c | 720 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 D | nvme_test.c | 258 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 D | daemon.c | 328 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 D | SBQueue.cpp | 100 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 D | OperatingSystemPython.cpp | 199 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 D | CommandObjectThread.cpp | 380 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 D | archive_blake2sp_ref.c | 155 #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 D | unbound.h | 657 int num_threads; member
|