Home
last modified time | relevance | path

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

/illumos-gate/usr/src/test/nvme-tests/tests/ioctl/
H A Dlock-order.c102 VERIFY3U(nwrite + nread, ==, nthr); in lock_verify_write_before_read()
105 for (size_t i = 0; i < nthr; i++) { in lock_verify_write_before_read()
161 VERIFY3U(nctrl + nns, ==, nthr); in lock_verify_ctrl_before_ns()
164 for (size_t i = 0; i < nthr; i++) { in lock_verify_ctrl_before_ns()
205 if (!lock_verify_ctrl_before_ns(test, nthr)) in lock_verif_ent_level()
207 if (!lock_verify_write_before_read(test, nthr)) in lock_verif_ent_level()
324 uint32_t nthr = 0; in lock_order_test() local
340 for (uint32_t i = 0; i < MAX_LOCKS; i++, nthr++) { in lock_order_test()
372 for (uint32_t i = 0; i < nthr; i++) { in lock_order_test()
381 VERIFY3U(lock_nextres, ==, nthr); in lock_order_test()
[all …]
/illumos-gate/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 *, ...);
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dtaskq.c282 taskq_create(const char *name, int nthr, pri_t pri, int minalloc, in taskq_create() argument
285 return (taskq_create_proc(name, nthr, pri, in taskq_create()
291 taskq_create_sysdc(const char *name, int nthr, int minalloc, in taskq_create_sysdc() argument
294 return (taskq_create_proc(name, nthr, maxclsyspri, in taskq_create_sysdc()
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c523 int nthr; in scsa1394_attach_threads() local
525 nthr = sp->s_nluns; in scsa1394_attach_threads()
527 if ((sp->s_taskq = ddi_taskq_create(sp->s_dip, name, nthr, in scsa1394_attach_threads()
/illumos-gate/usr/src/uts/intel/io/amdzen/
H A Damdzen.c1417 uint32_t nsock, nccd, nccx, ncore, nthr, extccx; in amdzen_initpkg_to_apic() local
1426 nthr = SCFCTP_PMREG_INITPKG0_GET_SMTEN(pkg0); in amdzen_initpkg_to_apic()
1438 nthr_bits = highbit(nthr); in amdzen_initpkg_to_apic()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/nvme/
H A Dnvme.c1342 uint_t nthr) in nvme_alloc_cq() argument
1365 cq->ncq_cmd_taskq = taskq_create(name, nthr, minclsyspri, 64, INT_MAX, in nvme_alloc_cq()
1391 nvme_create_cq_array(nvme_t *nvme, uint_t ncq, uint32_t nentry, uint_t nthr) in nvme_create_cq_array() argument
1408 if (nvme_alloc_cq(nvme, nentry, &nvme->n_cq[i], i, nthr) != in nvme_create_cq_array()