Searched refs:kthreads (Results 1 – 6 of 6) sorted by relevance
351 kthread_t **kthreads = kmem_zalloc(sizeof (*kthreads) * nthreads, in taskq_create_synced() local 364 kthreads[i] = tq->tq_threadlist[i]; in taskq_create_synced() 366 *ktpp = kthreads; in taskq_create_synced()
285 kthread_t **kthreads = kmem_zalloc(sizeof (*kthreads) * nthreads, in taskq_create_synced() local321 kthreads[i] = tqs[i].tqa_thread; in taskq_create_synced()327 *ktpp = kthreads; in taskq_create_synced()
714 struct nm_bdg_kthread *kthreads; member744 bps->kthreads = nm_os_malloc(sizeof(struct nm_bdg_kthread) * bps->ncpus); in nm_bdg_create_kthreads()745 if (bps->kthreads == NULL) in nm_bdg_create_kthreads()751 struct nm_bdg_kthread *t = bps->kthreads + i; in nm_bdg_create_kthreads()775 struct nm_bdg_kthread *t = bps->kthreads + i; in nm_bdg_create_kthreads()778 nm_os_free(bps->kthreads); in nm_bdg_create_kthreads()795 struct nm_bdg_kthread *t = bps->kthreads + i; in nm_bdg_polling_start_kthreads()806 struct nm_bdg_kthread *t = bps->kthreads + i; in nm_bdg_polling_start_kthreads()822 struct nm_bdg_kthread *t = bps->kthreads + i; in nm_bdg_polling_stop_delete_kthreads()929 nm_os_free(bps->kthreads); in nm_bdg_ctl_polling_start()
74 (!kthreads && ((kp)->ki_flag & P_KPROC) != 0))108 static int kthreads; variable222 kthreads = 1; in main()
1533 kthread_t **kthreads = kmem_zalloc(sizeof (*kthreads) * nthreads, in taskq_create_synced() local1545 kthreads[i] = tqt->tqt_thread; in taskq_create_synced()1550 *ktpp = kthreads; in taskq_create_synced()
10318 kthread_t **kthreads; local10333 nthreads, INT_MAX, TASKQ_PREPOPULATE, &kthreads);10335 VERIFY(kthreads != NULL);10339 ti->sti_thread = kthreads[i];10343 kmem_free(kthreads, sizeof (*kthreads) * nthreads);