| /freebsd-14.2/contrib/llvm-project/lldb/source/Target/ |
| H A D | ThreadList.cpp | 111 const uint32_t num_threads = m_threads.size(); in FindThreadByID() local 112 for (idx = 0; idx < num_threads; ++idx) { in FindThreadByID() 129 const uint32_t num_threads = m_threads.size(); in FindThreadByProtocolID() local 130 for (idx = 0; idx < num_threads; ++idx) { in FindThreadByProtocolID() 147 const uint32_t num_threads = m_threads.size(); in RemoveThreadByID() local 148 for (idx = 0; idx < num_threads; ++idx) { in RemoveThreadByID() 167 const uint32_t num_threads = m_threads.size(); in RemoveThreadByProtocolID() local 168 for (idx = 0; idx < num_threads; ++idx) { in RemoveThreadByProtocolID() 185 for (idx = 0; idx < num_threads; ++idx) { in GetThreadSPForThreadPtr() 199 const uint32_t num_threads = m_threads.size(); in GetBackingThread() local [all …]
|
| /freebsd-14.2/sbin/nvmecontrol/ |
| H A D | perftest.c | 117 for (i = 0; i < io_test->num_threads; i++) in print_perftest() 124 io_test->num_threads, io_test->size, in print_perftest() 129 for (i = 0; i < io_test->num_threads; i++) in print_perftest() 165 io_test.num_threads = opt.threads; in perftest()
|
| /freebsd-14.2/sys/tests/runtest/ |
| H A D | runtest.c | 41 .num_threads = 1, 69 kern_test.num_threads = in main()
|
| /freebsd-14.2/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_barrier.h | 94 size_t KMP_ALIGN_CACHE num_threads; // number of threads in barrier variable 119 d->num_threads = 0; in allocate() 139 size_t get_num_threads() { return num_threads; } in get_num_threads()
|
| 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 | 421 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() 522 __kmp_GOMP_fork_call(&loc, gtid, num_threads, 0u, task, in KMP_EXPAND_NAME() 1429 __kmp_GOMP_fork_call(&loc, gtid, num_threads, 0u, task, in KMP_EXPAND_NAME() 1479 unsigned num_threads, in KMP_EXPAND_NAME() 1493 __kmp_GOMP_fork_call(&loc, gtid, num_threads, flags, task, in KMP_EXPAND_NAME() 1537 __kmp_GOMP_fork_call(&loc, gtid, num_threads, flags, task, in KMP_EXPAND_NAME() 2195 void (*task)(void *), void *data, unsigned num_threads, in KMP_EXPAND_NAME() [all …]
|
| H A D | kmp_barrier.cpp | 202 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() 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() 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() 1226 child < branch_factor && child_tid < num_threads; in __kmp_hyper_barrier_release() 1230 if (child_tid >= num_threads) in __kmp_hyper_barrier_release() [all …]
|
| H A D | kmp_runtime.cpp | 7845 if (num_threads > 0) in __kmp_push_num_threads() 7846 thr->th.th_set_nproc = num_threads; in __kmp_push_num_threads() 7859 if (num_threads == 0) { in __kmp_push_thread_limit() 7877 if (num_threads == 0) { in __kmp_push_thread_limit() 7878 num_threads = 1; in __kmp_push_thread_limit() 7881 if (num_threads < 0) { in __kmp_push_thread_limit() 7884 num_threads = 1; in __kmp_push_thread_limit() 7898 if (new_threads != num_threads) { in __kmp_push_thread_limit() 7906 num_threads = new_threads; in __kmp_push_thread_limit() 7954 KMP_DEBUG_ASSERT(num_threads >= 0); in __kmp_push_num_teams_51() [all …]
|
| /freebsd-14.2/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-14.2/sys/fs/nfsserver/ |
| H A D | nfs_fha_new.c | 368 e->num_threads = 0; in fha_hash_entry_new() 383 KASSERT(e->num_threads == 0, in fha_hash_entry_destroy() 384 ("%d threads on destroyed fhe %p", e->num_threads, e)); in fha_hash_entry_destroy() 425 fhe->num_threads++; in fha_hash_entry_add_thread() 436 fhe->num_threads--; in fha_hash_entry_remove_thread() 525 (fhe->num_threads < NFSD_VNET(nfsfha_ctls).max_nfsds_per_fh)) { in fha_hash_entry_choose_thread() 681 fhe->num_threads); in fhenew_stats_sysctl()
|
| H A D | nfs_fha_new.h | 75 u_int8_t num_threads; member
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/TraceExporter/ctf/ |
| H A D | CommandObjectThreadTraceExportCTF.cpp | 76 const uint32_t num_threads = process->GetThreadList().GetSize(); in DoExecute() local 80 num_threads); in DoExecute()
|
| /freebsd-14.2/sys/cam/ctl/ |
| H A D | README.ctl.txt | 121 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-14.2/sys/tests/framework/ |
| H A D | kern_testfrwk.c | 190 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-14.2/sys/tests/ |
| H A D | kern_testfrwk.h | 34 int num_threads; /* Fill in how many threads you want */ member
|
| /freebsd-14.2/contrib/unbound/daemon/ |
| H A D | daemon.c | 371 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-14.2/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | background_thread_structs.h | 48 size_t num_threads; member
|
| /freebsd-14.2/sys/dev/nvme/ |
| H A D | nvme_test.c | 256 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-14.2/contrib/llvm-project/lldb/source/API/ |
| H A D | SBQueue.cpp | 94 const uint32_t num_threads = thread_list.size(); in FetchThreads() local 95 for (uint32_t idx = 0; idx < num_threads; ++idx) { in FetchThreads()
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | dmu_redact.c | 721 perform_thread_merge(bqueue_t *q, uint32_t num_threads, in perform_thread_merge() argument 739 if (num_threads == 0) { in perform_thread_merge() 749 redact_nodes = kmem_zalloc(num_threads * in perform_thread_merge() 759 for (int i = 0; i < num_threads; i++) { in perform_thread_merge() 806 for (int i = 0; i < num_threads; i++) { in perform_thread_merge() 823 kmem_free(redact_nodes, num_threads * sizeof (*redact_nodes)); in perform_thread_merge()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/ |
| H A D | OperatingSystemPython.cpp | 196 const uint32_t num_threads = threads_list->GetSize(); in UpdateThreadList() local 197 for (uint32_t i = 0; i < num_threads; ++i) { in UpdateThreadList()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSDKernel/ |
| H A D | ProcessFreeBSDKernel.cpp | 255 const uint32_t num_threads = old_thread_list.GetSize(false); in DoUpdateThreadList() local 256 for (uint32_t i = 0; i < num_threads; ++i) in DoUpdateThreadList()
|
| /freebsd-14.2/contrib/unbound/cachedb/ |
| H A D | redis.c | 151 moddata->numctxs = env->cfg->num_threads; in redis_init() 152 moddata->ctxs = calloc(env->cfg->num_threads, sizeof(redisContext*)); in redis_init()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/lldb/bindings/interface/ |
| H A D | SBProcessExtensions.i | 92 …num_threads = property(GetNumThreads, None, doc='''A read only property that returns the number of…
|