Lines Matching refs:sysfs_lock
185 mutex_init(&eq->sysfs_lock); in elevator_alloc()
216 mutex_lock(&q->sysfs_lock); in elevator_init()
239 mutex_unlock(&q->sysfs_lock); in elevator_init()
245 mutex_lock(&e->sysfs_lock); in elevator_exit()
250 mutex_unlock(&e->sysfs_lock); in elevator_exit()
802 mutex_lock(&e->sysfs_lock); in elv_attr_show()
804 mutex_unlock(&e->sysfs_lock); in elv_attr_show()
820 mutex_lock(&e->sysfs_lock); in elv_attr_store()
822 mutex_unlock(&e->sysfs_lock); in elv_attr_store()
841 lockdep_assert_held(&q->sysfs_lock); in elv_register_queue()
863 lockdep_assert_held(&q->sysfs_lock); in elv_unregister_queue()
940 lockdep_assert_held(&q->sysfs_lock); in elevator_switch_mq()
987 mutex_lock(&q->sysfs_lock); in elevator_init_mq()
999 mutex_unlock(&q->sysfs_lock); in elevator_init_mq()
1016 lockdep_assert_held(&q->sysfs_lock); in elevator_switch()