Home
last modified time | relevance | path

Searched refs:nthr (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/test/libc-tests/tests/common/
H A Dtest_common.c206 test_run(int nthr, void (*func)(test_t, void *), void *arg, in test_run() argument
214 t->ntids = nthr; in test_run()
215 t->tids = calloc(nthr, sizeof (pthread_t)); in test_run()
231 test_debugf(t, "running %d threads", nthr); in test_run()
233 for (int i = 0; i < nthr; i++) { in test_run()
238 for (int i = 0; i < nthr; i++) { in test_run()
H A Dtest_common.h36 extern void test_run(int nthr, test_func_t, void *arg, const char *, ...);
/titanic_41/usr/src/uts/common/avs/ns/rdc/
H A Drdc_dev.c2185 int nthr; in _rdc_write() local
2234 nthr = 0; in _rdc_write()
2364 if (nthr >= SNDR_MAXTHREADS) { in _rdc_write()
2383 bp[nthr] = in _rdc_write()
2387 if (bp[nthr] == NULL) { in _rdc_write()
2397 (void *)bp[nthr], NST_SLEEP); in _rdc_write()
2409 nthr++; in _rdc_write()
2452 if (nthr >= SNDR_MAXTHREADS) { in _rdc_write()
2460 bp[nthr] = rdc_aio_tbuf_get(sync, h, pos, len, in _rdc_write()
2463 if (bp[nthr] == NULL) { in _rdc_write()
[all …]
H A Drdc_ioctl.h453 int nthr; /* Number of server threads */ member
461 int32_t nthr; member
H A Drdcsrv.c312 STRUCT_FGETP(uap, netid), &addrmask, STRUCT_FGET(uap, nthr), &xprt); in rdcsrv_create()
318 p.maxthreads = STRUCT_FGET(uap, nthr); in rdcsrv_create()
/titanic_41/usr/src/lib/libfakekernel/common/
H A Dtaskq.c259 taskq_create(const char *name, int nthr, pri_t pri, int minalloc, in taskq_create() argument
262 return (taskq_create_proc(name, nthr, pri, in taskq_create()
/titanic_41/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c520 int nthr; in scsa1394_attach_threads() local
522 nthr = sp->s_nluns; in scsa1394_attach_threads()
524 if ((sp->s_taskq = ddi_taskq_create(sp->s_dip, name, nthr, in scsa1394_attach_threads()
/titanic_41/usr/src/uts/common/io/usb/clients/usbser/
H A Dusbser.c977 int nthr = usp->us_port_cnt * 2; in usbser_create_taskq() local
980 nthr, TASKQ_DEFAULTPRI, 0); in usbser_create_taskq()
/titanic_41/usr/src/cmd/avs/rdc/
H A Dsndrd.c1634 nsa.nthr = (max_conns_allowed < 0 ? 16 : max_conns_allowed); in rdcsvc()