Lines Matching refs:cpu_pwq
325 struct pool_workqueue __percpu __rcu **cpu_pwq; /* I: per-cpu pwqs */ member
1734 pwq = rcu_dereference(*per_cpu_ptr(wq->cpu_pwq, cpu)); in __queue_work()
3930 free_percpu(wq->cpu_pwq); in rcu_free_wq()
4298 old_pwq = rcu_access_pointer(*per_cpu_ptr(wq->cpu_pwq, cpu)); in install_unbound_pwq()
4299 rcu_assign_pointer(*per_cpu_ptr(wq->cpu_pwq, cpu), pwq); in install_unbound_pwq()
4529 pwq = rcu_dereference_protected(*per_cpu_ptr(wq->cpu_pwq, cpu), in wq_update_pod()
4563 wq->cpu_pwq = alloc_percpu(struct pool_workqueue *); in alloc_and_link_pwqs()
4564 if (!wq->cpu_pwq) in alloc_and_link_pwqs()
4570 per_cpu_ptr(wq->cpu_pwq, cpu); in alloc_and_link_pwqs()
4609 if (wq->cpu_pwq) { in alloc_and_link_pwqs()
4611 struct pool_workqueue *pwq = *per_cpu_ptr(wq->cpu_pwq, cpu); in alloc_and_link_pwqs()
4616 free_percpu(wq->cpu_pwq); in alloc_and_link_pwqs()
4617 wq->cpu_pwq = NULL; in alloc_and_link_pwqs()
4853 pwq = rcu_access_pointer(*per_cpu_ptr(wq->cpu_pwq, cpu)); in destroy_workqueue()
4854 RCU_INIT_POINTER(*per_cpu_ptr(wq->cpu_pwq, cpu), NULL); in destroy_workqueue()
4958 pwq = *per_cpu_ptr(wq->cpu_pwq, cpu); in workqueue_congested()