Lines Matching refs:cpu_pwq
325 struct pool_workqueue __percpu __rcu **cpu_pwq; /* I: per-cpu pwqs */ member
1738 pwq = rcu_dereference(*per_cpu_ptr(wq->cpu_pwq, cpu)); in __queue_work()
3934 free_percpu(wq->cpu_pwq); in rcu_free_wq()
4302 old_pwq = rcu_access_pointer(*per_cpu_ptr(wq->cpu_pwq, cpu)); in install_unbound_pwq()
4303 rcu_assign_pointer(*per_cpu_ptr(wq->cpu_pwq, cpu), pwq); in install_unbound_pwq()
4533 pwq = rcu_dereference_protected(*per_cpu_ptr(wq->cpu_pwq, cpu), in wq_update_pod()
4567 wq->cpu_pwq = alloc_percpu(struct pool_workqueue *); in alloc_and_link_pwqs()
4568 if (!wq->cpu_pwq) in alloc_and_link_pwqs()
4574 per_cpu_ptr(wq->cpu_pwq, cpu); in alloc_and_link_pwqs()
4613 if (wq->cpu_pwq) { in alloc_and_link_pwqs()
4615 struct pool_workqueue *pwq = *per_cpu_ptr(wq->cpu_pwq, cpu); in alloc_and_link_pwqs()
4620 free_percpu(wq->cpu_pwq); in alloc_and_link_pwqs()
4621 wq->cpu_pwq = NULL; in alloc_and_link_pwqs()
4857 pwq = rcu_access_pointer(*per_cpu_ptr(wq->cpu_pwq, cpu)); in destroy_workqueue()
4858 RCU_INIT_POINTER(*per_cpu_ptr(wq->cpu_pwq, cpu), NULL); in destroy_workqueue()
4962 pwq = *per_cpu_ptr(wq->cpu_pwq, cpu); in workqueue_congested()