Lines Matching defs:threadpool_percpu
43 * A per-CPU thread pool (threadpool_percpu) is a collection of thread
205 static int threadpool_percpu_create(struct threadpool_percpu **, pri_t);
206 static void threadpool_percpu_destroy(struct threadpool_percpu *);
262 struct threadpool_percpu {
267 LIST_ENTRY(threadpool_percpu) tpp_link;
271 static LIST_HEAD(, threadpool_percpu) percpu_threadpools;
273 static struct threadpool_percpu *
276 struct threadpool_percpu *tpp;
286 threadpool_insert_percpu(struct threadpool_percpu *tpp)
293 threadpool_remove_percpu(struct threadpool_percpu *tpp)
572 threadpool_percpu_get(struct threadpool_percpu **pool_percpup, pri_t pri)
574 struct threadpool_percpu *pool_percpu, *tmp = NULL;
617 threadpool_percpu_put(struct threadpool_percpu *pool_percpu, pri_t pri)
643 threadpool_percpu_ref(struct threadpool_percpu *pool_percpu)
655 threadpool_percpu_ref_remote(struct threadpool_percpu *pool_percpu,
675 threadpool_percpu_create(struct threadpool_percpu **pool_percpup, pri_t pri)
677 struct threadpool_percpu *pool_percpu;
696 *pool_percpup = (struct threadpool_percpu *)pool_percpu;
705 threadpool_percpu_destroy(struct threadpool_percpu *pool_percpu)