Home
last modified time | relevance | path

Searched defs:tpool (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/openzfs/lib/libtpool/
H A Dthread_pool_impl.h64 struct tpool { struct
65 tpool_t *tp_forw; /* circular list of all thread pools */ argument
66 tpool_t *tp_back; argument
68 pthread_cond_t tp_busycv; /* synchronization in tpool_dispatch */ argument
70 pthread_cond_t tp_waitcv; /* synchronization in tpool_wait() */ argument
71 tpool_active_t *tp_active; /* threads performing work */ argument
72 tpool_job_t *tp_head; /* FIFO job queue */ argument
73 tpool_job_t *tp_tail; argument
85 #define TP_WAIT 0x01 /* waiting in tpool_wait() */ argument
H A Dthread_pool.c39 delete_pool(tpool_t *tpool) in delete_pool()
76 tpool_t *tpool = (tpool_t *)arg; in worker_cleanup() local
92 notify_waiters(tpool_t *tpool) in notify_waiters()
106 tpool_t *tpool = (tpool_t *)arg; in job_cleanup() local
127 tpool_t *tpool = (tpool_t *)arg; in tpool_worker() local
230 create_worker(tpool_t *tpool) in create_worker()
326 tpool_t *tpool; in tpool_create() local
413 tpool_dispatch(tpool_t *tpool, void (*func)(void *), void *arg) in tpool_dispatch()
461 tpool_t *tpool = (tpool_t *)arg; in tpool_cleanup() local
472 tpool_destroy(tpool_t *tpool) in tpool_destroy()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c2398 tpool_t *tpool; member
2472 tpool_t *tpool = ((export_cbdata_t *)data)->tpool; in zpool_export_one_async() local