Lines Matching refs:attach_mutex
168 struct mutex attach_mutex; /* attach/detach exclusion */ member
395 if (({ lockdep_assert_held(&pool->attach_mutex); false; })) { } \
1671 mutex_lock(&pool->attach_mutex); in worker_attach_to_pool()
1689 mutex_unlock(&pool->attach_mutex); in worker_attach_to_pool()
1706 mutex_lock(&pool->attach_mutex); in worker_detach_from_pool()
1710 mutex_unlock(&pool->attach_mutex); in worker_detach_from_pool()
3160 mutex_init(&pool->attach_mutex); in init_worker_pool()
3241 mutex_lock(&pool->attach_mutex); in put_unbound_pool()
3244 mutex_unlock(&pool->attach_mutex); in put_unbound_pool()
4409 mutex_lock(&pool->attach_mutex); in wq_unbind_fn()
4425 mutex_unlock(&pool->attach_mutex); in wq_unbind_fn()
4466 lockdep_assert_held(&pool->attach_mutex); in rebind_workers()
4546 lockdep_assert_held(&pool->attach_mutex); in restore_unbound_workers_cpumask()
4591 mutex_lock(&pool->attach_mutex); in workqueue_cpu_up_callback()
4598 mutex_unlock(&pool->attach_mutex); in workqueue_cpu_up_callback()