Lines Matching defs:dfl_pwq
364 struct pool_workqueue __rcu *dfl_pwq; /* PW: only for unbound wqs */
730 return &wq->dfl_pwq;
733 /* @cpu < 0 for dfl_pwq */
1826 * dfl_pwq --------------+ [P] - plugged
5168 * For ordered workqueue with a plugged dfl_pwq, restart it now.
5314 /* install @pwq into @wq and return the old pwq, @cpu < 0 for dfl_pwq */
5337 struct pool_workqueue *dfl_pwq;
5349 put_pwq_unlocked(ctx->dfl_pwq);
5387 ctx->dfl_pwq = alloc_unbound_pwq(wq, new_attrs);
5388 if (!ctx->dfl_pwq)
5393 ctx->dfl_pwq->refcnt++;
5394 ctx->pwq_tbl[cpu] = ctx->dfl_pwq;
5411 * (dfl_pwq). Set the plugged flag of ctx->dfl_pwq to suspend execution
5416 ctx->dfl_pwq->plugged = true;
5441 ctx->dfl_pwq = install_unbound_pwq(ctx->wq, -1, ctx->dfl_pwq);
5506 * back to @wq->dfl_pwq which may not be optimal but is always correct.
5606 struct pool_workqueue *dfl_pwq;
5610 dfl_pwq = rcu_access_pointer(wq->dfl_pwq);
5611 WARN(!ret && (wq->pwqs.next != &dfl_pwq->pwqs_node ||
5612 wq->pwqs.prev != &dfl_pwq->pwqs_node),
5924 if ((pwq != rcu_access_pointer(pwq->wq->dfl_pwq)) && (pwq->refcnt > 1))
6006 * We're the sole accessor of @wq. Directly access cpu_pwq and dfl_pwq