Home
last modified time | relevance | path

Searched refs:kthreads (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dtaskq.c352 kthread_t **kthreads = kmem_zalloc(sizeof (*kthreads) * nthreads, in taskq_create_synced() local
365 kthreads[i] = tq->tq_threadlist[i]; in taskq_create_synced()
367 *ktpp = kthreads; in taskq_create_synced()
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_taskq.c286 kthread_t **kthreads = kmem_zalloc(sizeof (*kthreads) * nthreads, in taskq_create_synced() local
322 kthreads[i] = tqs[i].tqa_thread; in taskq_create_synced()
328 *ktpp = kthreads; in taskq_create_synced()
/freebsd/sys/dev/netmap/
H A Dnetmap_bdg.c714 struct nm_bdg_kthread *kthreads; member
744 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()
/freebsd/bin/pkill/
H A Dpkill.c74 (!kthreads && ((kp)->ki_flag & P_KPROC) != 0))
108 static int kthreads; variable
222 kthreads = 1; in main()
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-taskq.c1530 kthread_t **kthreads = kmem_zalloc(sizeof (*kthreads) * nthreads, in taskq_create_synced() local
1542 kthreads[i] = tqt->tqt_thread; in taskq_create_synced()
1547 *ktpp = kthreads; in taskq_create_synced()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa.c10296 kthread_t **kthreads; local
10311 nthreads, INT_MAX, TASKQ_PREPOPULATE, &kthreads);
10313 VERIFY(kthreads != NULL);
10317 ti->sti_thread = kthreads[i];
10321 kmem_free(kthreads, sizeof (*kthreads) * nthreads);