Searched refs:tp_refcnt (Results 1 – 1 of 1) sorted by relevance
195 uint64_t tp_refcnt; member396 pool->tp_refcnt = 1; /* dispatcher's reference */ in threadpool_create()428 KASSERT(pool->tp_refcnt == 0); in threadpool_create()454 while (0 < pool->tp_refcnt) { in threadpool_destroy()456 pool, pool->tp_refcnt); in threadpool_destroy()464 KASSERT(pool->tp_refcnt == 0); in threadpool_destroy()477 pool->tp_refcnt++; in threadpool_hold()478 KASSERT(pool->tp_refcnt != 0); in threadpool_hold()486 KASSERT(0 < pool->tp_refcnt); in threadpool_rele()487 if (--pool->tp_refcnt == 0) in threadpool_rele()