Home
last modified time | relevance | path

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

/linux-4.19.296/block/
Dblk-core.c824 percpu_ref_exit(&q->q_usage_counter); in blk_cleanup_queue()
930 if (percpu_ref_tryget_live(&q->q_usage_counter)) { in blk_queue_enter()
939 percpu_ref_put(&q->q_usage_counter); in blk_queue_enter()
970 percpu_ref_put(&q->q_usage_counter); in blk_queue_exit()
976 container_of(ref, struct request_queue, q_usage_counter); in blk_queue_usage_counter_release()
1083 if (percpu_ref_init(&q->q_usage_counter, in blk_alloc_queue_node()
1094 percpu_ref_exit(&q->q_usage_counter); in blk_alloc_queue_node()
Dblk.h156 percpu_ref_get(&q->q_usage_counter); in blk_queue_enter_live()
Dblk-mq-tag.c328 if (!percpu_ref_tryget(&q->q_usage_counter)) in blk_mq_queue_tag_busy_iter()
Dblk-mq.c143 percpu_ref_kill(&q->q_usage_counter); in blk_freeze_queue_start()
152 wait_event(q->mq_freeze_wq, percpu_ref_is_zero(&q->q_usage_counter)); in blk_mq_freeze_queue_wait()
160 percpu_ref_is_zero(&q->q_usage_counter), in blk_mq_freeze_queue_wait_timeout()
201 percpu_ref_reinit(&q->q_usage_counter); in blk_mq_unfreeze_queue()
875 if (!percpu_ref_tryget(&q->q_usage_counter)) in blk_mq_timeout_work()
Dblk-sysfs.c915 percpu_ref_switch_to_percpu(&q->q_usage_counter); in blk_register_queue()
/linux-4.19.296/include/linux/
Dblkdev.h664 struct percpu_ref q_usage_counter; member