Searched refs:numthreads (Results 1 - 6 of 6) sorted by relevance

/freebsd-13-stable/tools/tools/netrate/http/
H A Dhttp.c50 static int numthreads; /* Number of threads/procs. */ variable
156 for (i = 0; i < numthreads; i++) {
188 for (i = 0; i < numthreads; i++) {
230 "http [-n numthreads] [-s seconds] [-t] ip port path\n");
250 numthreads = DEFAULTTHREADS;
255 numthreads = atoi(optarg);
276 if (numthreads > MAXTHREADS)
277 errx(-1, "%d exceeds max threads %d", numthreads,
303 numthreads) != 0)
307 for (i = 0; i < numthreads;
[all...]
/freebsd-13-stable/contrib/unbound/contrib/
H A Dparseunbound.pl21 my $numthreads = 4;
55 # b) parsed all $numthreads threads in the log.
59 while ( scalar keys %startstats < $numthreads || scalar keys %donestats < $numthreads) {
72 if ($inthread + 1 > $numthreads) {
73 die "Hey. lazy. change \$numthreads in this script to ($inthread)\n";
129 foreach my $thread ( 0 .. $numthreads - 1 ) {
/freebsd-13-stable/usr.bin/netstat/
H A Dnetisr.c61 static u_int numthreads; variable
156 kread(nl[N_NWS_COUNT].n_value, &numthreads, sizeof(u_int));
195 netisr_load_sysctl_uint("net.isr.numthreads", &numthreads);
296 len = numthreads * sizeof(*nws_array);
302 workstream_array = calloc(numthreads, sizeof(*workstream_array));
305 workstream_array_len = numthreads;
306 work_array = calloc(numthreads * proto_array_len, sizeof(*work_array));
310 for (wsid = 0; wsid < numthreads; wsid++) {
470 "Thread count", numthreads, maxthread
[all...]
/freebsd-13-stable/sys/netgraph/
H A Dng_base.c2962 static int numthreads = 0; /* number of queue threads */ variable
2966 SYSCTL_INT(_net_graph, OID_AUTO, threads, CTLFLAG_RDTUN, &numthreads,
3229 if (numthreads <= 0)
3230 numthreads = mp_ncpus;
3233 for (i = 0; i < numthreads; i++) {
3236 numthreads = i;
/freebsd-13-stable/sys/kern/
H A Dkern_proc.c2702 int error, i, *name, numthreads; local
2724 numthreads = p->p_numthreads;
2726 lwpidarray = malloc(sizeof(*lwpidarray) * numthreads, M_TEMP,
2729 } while (numthreads < p->p_numthreads);
2742 KASSERT(i < numthreads,
2743 ("sysctl_kern_proc_kstack: numthreads"));
2748 numthreads = i;
2749 for (i = 0; i < numthreads; i++) {
/freebsd-13-stable/sys/net/
H A Dnetisr.c251 SYSCTL_UINT(_net_isr, OID_AUTO, numthreads, CTLFLAG_RD,

Completed in 129 milliseconds