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.c351 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()
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_taskq.c285 kthread_t **kthreads = kmem_zalloc(sizeof (*kthreads) * nthreads, in taskq_create_synced() local
321 kthreads[i] = tqs[i].tqa_thread; in taskq_create_synced()
327 *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.c1533 kthread_t **kthreads = kmem_zalloc(sizeof (*kthreads) * nthreads, in taskq_create_synced() local
1545 kthreads[i] = tqt->tqt_thread; in taskq_create_synced()
1550 *ktpp = kthreads; in taskq_create_synced()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa.c10318 kthread_t **kthreads; local
10333 nthreads, INT_MAX, TASKQ_PREPOPULATE, &kthreads);
10335 VERIFY(kthreads != NULL);
10339 ti->sti_thread = kthreads[i];
10343 kmem_free(kthreads, sizeof (*kthreads) * nthreads);