Home
last modified time | relevance | path

Searched refs:sysfs_lock (Results 1 – 9 of 9) sorted by relevance

/block/
Delevator.c143 mutex_init(&eq->sysfs_lock); in elevator_alloc()
166 mutex_lock(&e->sysfs_lock); in elevator_exit()
168 mutex_unlock(&e->sysfs_lock); in elevator_exit()
429 mutex_lock(&e->sysfs_lock); in elv_attr_show()
431 mutex_unlock(&e->sysfs_lock); in elv_attr_show()
447 mutex_lock(&e->sysfs_lock); in elv_attr_store()
449 mutex_unlock(&e->sysfs_lock); in elv_attr_store()
468 lockdep_assert_held(&q->sysfs_lock); in elv_register_queue()
492 lockdep_assert_held(&q->sysfs_lock); in elv_unregister_queue()
664 lockdep_assert_held(&q->sysfs_lock); in elevator_switch()
[all …]
Dblk-sysfs.c724 mutex_lock(&q->sysfs_lock); in queue_attr_show()
726 mutex_unlock(&q->sysfs_lock); in queue_attr_show()
742 mutex_lock(&q->sysfs_lock); in queue_attr_store()
744 mutex_unlock(&q->sysfs_lock); in queue_attr_store()
803 mutex_lock(&q->sysfs_lock); in blk_register_queue()
833 mutex_unlock(&q->sysfs_lock); in blk_register_queue()
858 mutex_unlock(&q->sysfs_lock); in blk_register_queue()
888 mutex_lock(&q->sysfs_lock); in blk_unregister_queue()
890 mutex_unlock(&q->sysfs_lock); in blk_unregister_queue()
901 mutex_lock(&q->sysfs_lock); in blk_unregister_queue()
[all …]
Dblk-ia-ranges.c115 lockdep_assert_held(&q->sysfs_lock); in disk_register_independent_access_ranges()
159 lockdep_assert_held(&q->sysfs_lock); in disk_unregister_independent_access_ranges()
293 mutex_lock(&q->sysfs_lock); in disk_set_independent_access_ranges()
315 mutex_unlock(&q->sysfs_lock); in disk_set_independent_access_ranges()
Dblk-mq-debugfs.c421 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_tags_show()
426 mutex_unlock(&q->sysfs_lock); in hctx_tags_show()
438 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_tags_bitmap_show()
443 mutex_unlock(&q->sysfs_lock); in hctx_tags_bitmap_show()
455 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_sched_tags_show()
460 mutex_unlock(&q->sysfs_lock); in hctx_sched_tags_show()
472 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_sched_tags_bitmap_show()
477 mutex_unlock(&q->sysfs_lock); in hctx_sched_tags_bitmap_show()
Dblk-mq-sysfs.c64 mutex_lock(&q->sysfs_lock); in blk_mq_hw_sysfs_show()
66 mutex_unlock(&q->sysfs_lock); in blk_mq_hw_sysfs_show()
Delevator.h128 struct mutex sysfs_lock; member
Dblk-mq.c4222 mutex_lock(&q->sysfs_lock); in blk_mq_realloc_hw_ctxs()
4255 mutex_unlock(&q->sysfs_lock); in blk_mq_realloc_hw_ctxs()
4692 mutex_lock(&q->sysfs_lock); in blk_mq_elv_switch_none()
4708 mutex_unlock(&q->sysfs_lock); in blk_mq_elv_switch_none()
4738 mutex_lock(&q->sysfs_lock); in blk_mq_elv_switch_back()
4742 mutex_unlock(&q->sysfs_lock); in blk_mq_elv_switch_back()
Dgenhd.c702 mutex_lock(&q->sysfs_lock); in del_gendisk()
704 mutex_unlock(&q->sysfs_lock); in del_gendisk()
Dblk-core.c434 mutex_init(&q->sysfs_lock); in blk_alloc_queue()