Searched refs:kthreads (Results 1 – 6 of 6) sorted by relevance
372 kthread_t **kthreads = kmem_zalloc(sizeof (*kthreads) * nthreads, in taskq_create_synced() local385 kthreads[i] = tq->tq_threadlist[i]; in taskq_create_synced()387 *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()
1552 kthread_t **kthreads = kmem_zalloc(sizeof (*kthreads) * nthreads, in taskq_create_synced() local1564 kthreads[i] = tqt->tqt_thread; in taskq_create_synced()1569 *ktpp = kthreads; in taskq_create_synced()
11023 kthread_t **kthreads; local11038 nthreads, INT_MAX, TASKQ_PREPOPULATE, &kthreads);11040 VERIFY(kthreads != NULL);11044 ti->sti_thread = kthreads[i];11048 kmem_free(kthreads, sizeof (*kthreads) * nthreads);