Searched refs:kthreads (Results 1 – 6 of 6) sorted by relevance
352 kthread_t **kthreads = kmem_zalloc(sizeof (*kthreads) * nthreads, in taskq_create_synced() local365 kthreads[i] = tq->tq_threadlist[i]; in taskq_create_synced()367 *ktpp = kthreads; in taskq_create_synced()
286 kthread_t **kthreads = kmem_zalloc(sizeof (*kthreads) * nthreads, in taskq_create_synced() local322 kthreads[i] = tqs[i].tqa_thread; in taskq_create_synced()328 *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()
1530 kthread_t **kthreads = kmem_zalloc(sizeof (*kthreads) * nthreads, in taskq_create_synced() local1542 kthreads[i] = tqt->tqt_thread; in taskq_create_synced()1547 *ktpp = kthreads; in taskq_create_synced()
10296 kthread_t **kthreads; local10311 nthreads, INT_MAX, TASKQ_PREPOPULATE, &kthreads);10313 VERIFY(kthreads != NULL);10317 ti->sti_thread = kthreads[i];10321 kmem_free(kthreads, sizeof (*kthreads) * nthreads);