Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/lldb/source/Target/
H A DThreadList.cpp111 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 Dperftest.c117 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 Druntest.c41 .num_threads = 1,
69 kern_test.num_threads = in main()
/freebsd-14.2/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_barrier.h94 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 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()
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 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()
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 Dkmp_runtime.cpp7845 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 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-14.2/sys/fs/nfsserver/
H A Dnfs_fha_new.c368 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 Dnfs_fha_new.h75 u_int8_t num_threads; member
/freebsd-14.2/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-14.2/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-14.2/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-14.2/sys/tests/
H A Dkern_testfrwk.h34 int num_threads; /* Fill in how many threads you want */ member
/freebsd-14.2/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-14.2/contrib/jemalloc/include/jemalloc/internal/
H A Dbackground_thread_structs.h48 size_t num_threads; member
/freebsd-14.2/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-14.2/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-14.2/sys/contrib/openzfs/module/zfs/
H A Ddmu_redact.c721 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 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-14.2/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSDKernel/
H A DProcessFreeBSDKernel.cpp255 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 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-14.2/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-14.2/contrib/llvm-project/lldb/bindings/interface/
H A DSBProcessExtensions.i92num_threads = property(GetNumThreads, None, doc='''A read only property that returns the number of…

123