Lines Matching refs:attach_mutex
168 struct mutex attach_mutex; /* attach/detach exclusion */ member
390 if (({ lockdep_assert_held(&pool->attach_mutex); false; })) { } \
1666 mutex_lock(&pool->attach_mutex); in worker_attach_to_pool()
1684 mutex_unlock(&pool->attach_mutex); in worker_attach_to_pool()
1701 mutex_lock(&pool->attach_mutex); in worker_detach_from_pool()
1705 mutex_unlock(&pool->attach_mutex); in worker_detach_from_pool()
3123 mutex_init(&pool->attach_mutex); in init_worker_pool()
3204 mutex_lock(&pool->attach_mutex); in put_unbound_pool()
3207 mutex_unlock(&pool->attach_mutex); in put_unbound_pool()
4389 mutex_lock(&pool->attach_mutex); in wq_unbind_fn()
4405 mutex_unlock(&pool->attach_mutex); in wq_unbind_fn()
4446 lockdep_assert_held(&pool->attach_mutex); in rebind_workers()
4526 lockdep_assert_held(&pool->attach_mutex); in restore_unbound_workers_cpumask()
4571 mutex_lock(&pool->attach_mutex); in workqueue_cpu_up_callback()
4578 mutex_unlock(&pool->attach_mutex); in workqueue_cpu_up_callback()