Searched refs:tpool_t (Results 1 – 7 of 7) sorted by relevance
40 typedef struct tpool tpool_t; /* opaque thread pool descriptor */ typedef44 extern tpool_t *tpool_create(uint_t min_threads, uint_t max_threads,46 extern int tpool_dispatch(tpool_t *tpool,48 extern void tpool_destroy(tpool_t *tpool);49 extern void tpool_abandon(tpool_t *tpool);50 extern void tpool_wait(tpool_t *tpool);51 extern void tpool_suspend(tpool_t *tpool);52 extern int tpool_suspended(tpool_t *tpool);53 extern void tpool_resume(tpool_t *tpool);54 extern int tpool_member(tpool_t *tpool);[all …]
37 static tpool_t *thread_pools = NULL;40 delete_pool(tpool_t *tpool) in delete_pool()75 worker_cleanup(tpool_t *tpool) in worker_cleanup()93 notify_waiters(tpool_t *tpool) in notify_waiters()105 job_cleanup(tpool_t *tpool) in job_cleanup()127 tpool_t *tpool = (tpool_t *)arg; in tpool_worker()224 create_worker(tpool_t *tpool) in create_worker()235 tpool_t *239 tpool_t *tpool; in tpool_create()328 tpool_dispatch(tpool_t *tpool, void (*func)(void *), void *arg) in tpool_dispatch()[all …]
66 tpool_t *tp_forw; /* circular list of all thread pools */67 tpool_t *tp_back;
61 tpool_t *tcd_poolp; /* worker thread pool */
128 tpool_t *tpool = tcdp->tcd_poolp; in sigev_add_work()
96 tpool_t *g_tpool;
1155 tpool_t *t; in zpool_find_import_impl()