Home
last modified time | relevance | path

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

/linux/block/
A Dblk-pm.c90 percpu_ref_switch_to_atomic_sync(&q->q_usage_counter); in blk_pre_runtime_suspend()
91 if (percpu_ref_is_zero(&q->q_usage_counter)) in blk_pre_runtime_suspend()
A Dblk-core.c384 percpu_ref_exit(&q->q_usage_counter); in blk_cleanup_queue()
459 percpu_ref_put(&q->q_usage_counter); in blk_queue_exit()
465 container_of(ref, struct request_queue, q_usage_counter); in blk_queue_usage_counter_release()
530 if (percpu_ref_init(&q->q_usage_counter, in blk_alloc_queue()
545 percpu_ref_exit(&q->q_usage_counter); in blk_alloc_queue()
A Dblk-mq-sched.c492 percpu_ref_get(&q->q_usage_counter); in blk_mq_sched_insert_requests()
513 percpu_ref_put(&q->q_usage_counter); in blk_mq_sched_insert_requests()
A Dblk-mq.c166 percpu_ref_kill(&q->q_usage_counter); in blk_freeze_queue_start()
178 wait_event(q->mq_freeze_wq, percpu_ref_is_zero(&q->q_usage_counter)); in blk_mq_freeze_queue_wait()
186 percpu_ref_is_zero(&q->q_usage_counter), in blk_mq_freeze_queue_wait_timeout()
222 q->q_usage_counter.data->force_atomic = true; in __blk_mq_unfreeze_queue()
226 percpu_ref_resurrect(&q->q_usage_counter); in __blk_mq_unfreeze_queue()
428 percpu_ref_get_many(&data->q->q_usage_counter, nr - 1); in __blk_mq_alloc_requests_batch()
842 percpu_ref_put_many(&q->q_usage_counter, nr_tags); in blk_mq_flush_tag_batch()
1270 if (!percpu_ref_tryget(&q->q_usage_counter)) in blk_mq_timeout_work()
3001 if (percpu_ref_tryget(&hctx->queue->q_usage_counter)) { in blk_mq_hctx_notify_offline()
3004 percpu_ref_put(&hctx->queue->q_usage_counter); in blk_mq_hctx_notify_offline()
A Dblk.h64 if (!percpu_ref_tryget_live_rcu(&q->q_usage_counter)) in blk_try_enter_queue()
A Dblk-mq-tag.c471 if (!percpu_ref_tryget(&q->q_usage_counter)) in blk_mq_queue_tag_busy_iter()
A Dblk-sysfs.c902 percpu_ref_switch_to_percpu(&q->q_usage_counter); in blk_register_queue()
/linux/drivers/block/
A Dnbd.c845 if (!percpu_ref_tryget(&q->q_usage_counter)) { in recv_work()
853 percpu_ref_put(&q->q_usage_counter); in recv_work()
860 percpu_ref_put(&q->q_usage_counter); in recv_work()
/linux/drivers/scsi/
A Dscsi_lib.c575 percpu_ref_get(&q->q_usage_counter); in scsi_end_request()
581 percpu_ref_put(&q->q_usage_counter); in scsi_end_request()
/linux/include/linux/
A Dblkdev.h193 struct percpu_ref q_usage_counter; member

Completed in 37 milliseconds