Searched refs:numthreads (Results 1 – 6 of 6) sorted by relevance
| /NextBSD/tools/tools/netrate/http/ |
| HD | http.c | 50 static int numthreads; /* Number of threads/procs. */ variable 156 for (i = 0; i < numthreads; i++) { in killall() 188 for (i = 0; i < numthreads; i++) { in signal_barrier_wakeup() 250 numthreads = DEFAULTTHREADS; in main() 255 numthreads = atoi(optarg); in main() 276 if (numthreads > MAXTHREADS) in main() 277 errx(-1, "%d exceeds max threads %d", numthreads, in main() 303 numthreads) != 0) in main() 307 for (i = 0; i < numthreads; i++) { in main() 339 for (i = 0; i < numthreads; i++) { in main() [all …]
|
| /NextBSD/usr.bin/netstat/ |
| HD | netisr.c | 59 static u_int numthreads; variable 154 kread(nl[N_NWS_COUNT].n_value, &numthreads, sizeof(u_int)); in netisr_load_kvm_config() 193 netisr_load_sysctl_uint("net.isr.numthreads", &numthreads); in netisr_load_sysctl_config() 294 len = numthreads * sizeof(*nws_array); in netisr_load_kvm_workstream() 300 workstream_array = calloc(numthreads, sizeof(*workstream_array)); in netisr_load_kvm_workstream() 303 workstream_array_len = numthreads; in netisr_load_kvm_workstream() 304 work_array = calloc(numthreads * proto_array_len, sizeof(*work_array)); in netisr_load_kvm_workstream() 308 for (wsid = 0; wsid < numthreads; wsid++) { in netisr_load_kvm_workstream() 468 "Thread count", numthreads, maxthreads); in netisr_stats()
|
| /NextBSD/contrib/llvm/tools/lldb/source/API/ |
| HD | SBQueue.cpp | 393 uint32_t numthreads = m_opaque_sp->GetNumThreads (); in GetNumThreads() local 396 …og->Printf("SBQueue(0x%" PRIx64 ")::GetNumThreads() == %d", m_opaque_sp->GetQueueID(), numthreads); in GetNumThreads() 397 return numthreads; in GetNumThreads()
|
| /NextBSD/sys/kern/ |
| HD | kern_proc.c | 2458 int error, i, *name, numthreads; in sysctl_kern_proc_kstack() local 2474 numthreads = 0; in sysctl_kern_proc_kstack() 2477 if (numthreads < p->p_numthreads) { in sysctl_kern_proc_kstack() 2482 numthreads = p->p_numthreads; in sysctl_kern_proc_kstack() 2484 lwpidarray = malloc(sizeof(*lwpidarray) * numthreads, M_TEMP, in sysctl_kern_proc_kstack() 2501 KASSERT(i < numthreads, in sysctl_kern_proc_kstack() 2506 numthreads = i; in sysctl_kern_proc_kstack() 2507 for (i = 0; i < numthreads; i++) { in sysctl_kern_proc_kstack()
|
| /NextBSD/sys/netgraph/ |
| HD | ng_base.c | 2953 static int numthreads = 0; /* number of queue threads */ variable 2957 SYSCTL_INT(_net_graph, OID_AUTO, threads, CTLFLAG_RDTUN, &numthreads, 3222 if (numthreads <= 0) in ngb_mod_event() 3223 numthreads = mp_ncpus; in ngb_mod_event() 3226 for (i = 0; i < numthreads; i++) { in ngb_mod_event() 3229 numthreads = i; in ngb_mod_event()
|
| /NextBSD/sys/net/ |
| HD | netisr.c | 229 SYSCTL_UINT(_net_isr, OID_AUTO, numthreads, CTLFLAG_RD,
|