Home
last modified time | relevance | path

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

/linux-6.6.21/block/
Dblk-pm.c88 percpu_ref_switch_to_atomic_sync(&q->q_usage_counter); in blk_pre_runtime_suspend()
89 if (percpu_ref_is_zero(&q->q_usage_counter)) in blk_pre_runtime_suspend()
Dblk-core.c264 percpu_ref_exit(&q->q_usage_counter); in blk_free_queue_rcu()
374 percpu_ref_put(&q->q_usage_counter); in blk_queue_exit()
380 container_of(ref, struct request_queue, q_usage_counter); in blk_queue_usage_counter_release()
437 if (percpu_ref_init(&q->q_usage_counter, in blk_alloc_queue()
891 if (!percpu_ref_tryget(&q->q_usage_counter)) in bio_poll()
Dblk-mq.c128 percpu_ref_kill(&q->q_usage_counter); in blk_freeze_queue_start()
140 wait_event(q->mq_freeze_wq, percpu_ref_is_zero(&q->q_usage_counter)); in blk_mq_freeze_queue_wait()
148 percpu_ref_is_zero(&q->q_usage_counter), in blk_mq_freeze_queue_wait_timeout()
184 q->q_usage_counter.data->force_atomic = true; in __blk_mq_unfreeze_queue()
188 percpu_ref_resurrect(&q->q_usage_counter); in __blk_mq_unfreeze_queue()
430 percpu_ref_get_many(&data->q->q_usage_counter, nr - 1); in __blk_mq_alloc_requests_batch()
1077 percpu_ref_put_many(&q->q_usage_counter, nr_tags); in blk_mq_flush_tag_batch()
1658 if (!percpu_ref_tryget(&q->q_usage_counter)) in blk_mq_timeout_work()
2787 percpu_ref_get(&this_hctx->queue->q_usage_counter); in blk_mq_dispatch_plug_list()
2801 percpu_ref_put(&this_hctx->queue->q_usage_counter); in blk_mq_dispatch_plug_list()
[all …]
Dblk.h43 if (!percpu_ref_tryget_live_rcu(&q->q_usage_counter)) in blk_try_enter_queue()
Dblk-mq-tag.c504 if (!percpu_ref_tryget(&q->q_usage_counter)) in blk_mq_queue_tag_busy_iter()
Dblk-sysfs.c847 percpu_ref_switch_to_percpu(&q->q_usage_counter); in blk_register_queue()
/linux-6.6.21/drivers/block/
Dnbd.c868 if (!percpu_ref_tryget(&q->q_usage_counter)) { in recv_work()
876 percpu_ref_put(&q->q_usage_counter); in recv_work()
891 percpu_ref_put(&q->q_usage_counter); in recv_work()
/linux-6.6.21/drivers/scsi/
Dscsi_lib.c572 percpu_ref_get(&q->q_usage_counter); in scsi_end_request()
578 percpu_ref_put(&q->q_usage_counter); in scsi_end_request()
/linux-6.6.21/include/linux/
Dblkdev.h382 struct percpu_ref q_usage_counter; member