Lines Matching defs:poolp
494 threadpool_get(struct threadpool **poolp, pri_t pri)
537 *poolp = &tpu->tpu_pool;
645 struct threadpool **poolp, *pool;
647 poolp = percpu_getref(pool_percpu->tpp_percpu);
648 pool = *poolp;
658 struct threadpool **poolp, *pool;
667 poolp = percpu_getptr_remote(pool_percpu->tpp_percpu, ci);
668 pool = *poolp;
715 struct threadpool **const poolp = vpoolp;
719 *poolp = kmem_zalloc(sizeof(**poolp), KM_SLEEP);
720 error = threadpool_create(*poolp, ci, pri);
723 kmem_free(*poolp, sizeof(**poolp));
724 *poolp = NULL;
731 struct threadpool **const poolp = vpoolp;
734 if (*poolp == NULL)
741 struct threadpool **const poolp = vpoolp;
743 if (*poolp == NULL) /* initialization failed */
745 threadpool_destroy(*poolp);
746 kmem_free(*poolp, sizeof(**poolp));