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.h63 struct tpool { struct
64 tpool_t *tp_forw; /* circular list of all thread pools */ argument
65 tpool_t *tp_back; argument
67 pthread_cond_t tp_busycv; /* synchronization in tpool_dispatch */ argument
69 pthread_cond_t tp_waitcv; /* synchronization in tpool_wait() */ argument
70 tpool_active_t *tp_active; /* threads performing work */ argument
71 tpool_job_t *tp_head; /* FIFO job queue */ argument
72 tpool_job_t *tp_tail; argument
84 #define TP_WAIT 0x01 /* waiting in tpool_wait() */ argument
H A Dthread_pool.c38 delete_pool(tpool_t *tpool) in delete_pool()
75 tpool_t *tpool = (tpool_t *)arg; in worker_cleanup() local
91 notify_waiters(tpool_t *tpool) in notify_waiters()
105 tpool_t *tpool = (tpool_t *)arg; in job_cleanup() local
126 tpool_t *tpool = (tpool_t *)arg; in tpool_worker() local
229 create_worker(tpool_t *tpool) in create_worker()
325 tpool_t *tpool; in tpool_create() local
412 tpool_dispatch(tpool_t *tpool, void (*func)(void *), void *arg) in tpool_dispatch()
460 tpool_t *tpool = (tpool_t *)arg; in tpool_cleanup() local
471 tpool_destroy(tpool_t *tpool) in tpool_destroy()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c2396 tpool_t *tpool; member
2470 tpool_t *tpool = ((export_cbdata_t *)data)->tpool; in zpool_export_one_async() local