Home
last modified time | relevance | path

Searched refs:update_nr_hwq_lock (Results 1 – 6 of 6) sorted by relevance

/linux/block/
H A Dgenhd.c596 down_read(&set->update_nr_hwq_lock); in add_disk_fwnode()
598 up_read(&set->update_nr_hwq_lock); in add_disk_fwnode()
785 down_write(&set->update_nr_hwq_lock); in disable_elv_switch()
787 up_write(&set->update_nr_hwq_lock); in disable_elv_switch()
822 down_read(&set->update_nr_hwq_lock); in del_gendisk()
824 up_read(&set->update_nr_hwq_lock); in del_gendisk()
H A Dblk-mq-sched.c451 lockdep_assert_held_write(&set->update_nr_hwq_lock); in blk_mq_free_sched_res_batch()
489 lockdep_assert_held_write(&set->update_nr_hwq_lock); in blk_mq_alloc_sched_ctx_batch()
576 lockdep_assert_held_write(&set->update_nr_hwq_lock); in blk_mq_alloc_sched_res_batch()
H A Delevator.c659 lockdep_assert_held(&set->update_nr_hwq_lock); in elevator_change()
816 if (!down_read_trylock(&set->update_nr_hwq_lock)) { in elv_iosched_store()
827 up_read(&set->update_nr_hwq_lock); in elv_iosched_store()
H A Dblk-sysfs.c87 if (!down_write_trylock(&set->update_nr_hwq_lock)) in queue_requests_store()
132 up_write(&set->update_nr_hwq_lock); in queue_requests_store()
H A Dblk-mq.c4921 init_rwsem(&set->update_nr_hwq_lock); in blk_mq_alloc_tag_set()
5101 lockdep_assert_held_write(&q->tag_set->update_nr_hwq_lock); in blk_mq_elv_switch_none()
5239 down_write(&set->update_nr_hwq_lock); in blk_mq_update_nr_hw_queues()
5243 up_write(&set->update_nr_hwq_lock); in blk_mq_update_nr_hw_queues()
/linux/include/linux/
H A Dblk-mq.h556 struct rw_semaphore update_nr_hwq_lock; member