Lines Matching defs:refcnt
178 int refcnt; /* PL: refcnt for unbound pools */
205 int refcnt; /* L: reference count */
1098 * @pwq has positive refcnt and be holding the matching pool->lock.
1103 WARN_ON_ONCE(pwq->refcnt <= 0);
1104 pwq->refcnt++;
1111 * Drop a reference of @pwq. If its refcnt reaches zero, schedule its
1117 if (likely(--pwq->refcnt))
1470 * refcnt is zero, repeat pwq selection. Note that pwqs never die
1475 if (unlikely(!pwq->refcnt)) {
1482 WARN_ONCE(true, "workqueue: per-cpu pwq for %s on cpu%d has 0 refcnt",
3456 pool->refcnt = 1;
3543 * Put @pool. If its refcnt reaches zero, it gets destroyed in RCU
3557 if (--pool->refcnt)
3628 pool->refcnt++;
3683 * Scheduled on system_wq by put_pwq() when an unbound pwq hits zero refcnt
3790 pwq->refcnt = 1;
3986 ctx->dfl_pwq->refcnt++;
4376 if ((pwq != pwq->wq->dfl_pwq) && (pwq->refcnt > 1))
4721 pr_cont(" active=%d/%d refcnt=%d%s\n",
4722 pwq->nr_active, pwq->max_active, pwq->refcnt,