/src/sys/arch/mips/rmi/ |
rmixl_cpucore.c | 89 u_int nthreads; local in function:cpucore_rmixl_attach 132 nthreads = MIPS_CIDFL_RMI_NTHREADS(mips_options.mips_cpu->cpu_cidflags); 133 aprint_normal_dev(self, "%d %s on core\n", nthreads, 134 nthreads == 1 ? "thread" : "threads"); 140 u_int thread_mask = (1 << nthreads) - 1; 141 u_int core_shft = sc->sc_core * nthreads;
|
rmixl_cpucore.c | 89 u_int nthreads; local in function:cpucore_rmixl_attach 132 nthreads = MIPS_CIDFL_RMI_NTHREADS(mips_options.mips_cpu->cpu_cidflags); 133 aprint_normal_dev(self, "%d %s on core\n", nthreads, 134 nthreads == 1 ? "thread" : "threads"); 140 u_int thread_mask = (1 << nthreads) - 1; 141 u_int core_shft = sc->sc_core * nthreads;
|
/src/regress/sys/kern/allocfree/ |
allocfree.c | 50 static int nthreads; variable in typeref:typename:int 147 while (barrier < nthreads) { 154 while (barrier2 < nthreads) { 198 nthreads = nt; 210 nthreads--; 219 if (nthreads == 0) { 222 printf("\t%d", (int)(total / nthreads / count));
|
allocfree.c | 50 static int nthreads; variable in typeref:typename:int 147 while (barrier < nthreads) { 154 while (barrier2 < nthreads) { 198 nthreads = nt; 210 nthreads--; 219 if (nthreads == 0) { 222 printf("\t%d", (int)(total / nthreads / count));
|
/src/tests/lib/libpthread/ |
h_resolv.c | 46 #define NTHREADS 10 67 "Usage: %s [-d] [-h <nhosts>] [-n <nthreads>] <file> ...\n", 145 int nthreads = NTHREADS; local in function:main 162 nthreads = atoi(optarg); 174 if ((nleft = malloc(nthreads * sizeof(int))) == NULL) 180 if ((threads = malloc(nthreads * sizeof(pthread_t))) == NULL) 184 for (i = 0; i < nthreads; i++) { 191 for (i = 0; i < nthreads; i++) { 207 for (i = 0; i < nthreads; i++ [all...] |
h_resolv.c | 46 #define NTHREADS 10 67 "Usage: %s [-d] [-h <nhosts>] [-n <nthreads>] <file> ...\n", 145 int nthreads = NTHREADS; local in function:main 162 nthreads = atoi(optarg); 174 if ((nleft = malloc(nthreads * sizeof(int))) == NULL) 180 if ((threads = malloc(nthreads * sizeof(pthread_t))) == NULL) 184 for (i = 0; i < nthreads; i++) { 191 for (i = 0; i < nthreads; i++) { 207 for (i = 0; i < nthreads; i++ [all...] |
/src/usr.sbin/npf/npftest/ |
npftest.c | 199 unsigned nthreads = 0; local in function:main 247 if ((nthreads = atoi(optarg)) > 0 && 250 sprintf(nthr, "%u", nthreads + 1); 267 if (benchmark && (!config || !nthreads)) { 363 rumpns_npf_test_conc(false, nthreads); 366 rumpns_npf_test_conc(true, nthreads);
|
npftest.c | 199 unsigned nthreads = 0; local in function:main 247 if ((nthreads = atoi(optarg)) > 0 && 250 sprintf(nthr, "%u", nthreads + 1); 267 if (benchmark && (!config || !nthreads)) { 363 rumpns_npf_test_conc(false, nthreads); 366 rumpns_npf_test_conc(true, nthreads);
|