Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/block/
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()
Dblk-core.c417 percpu_ref_exit(&q->q_usage_counter); in blk_cleanup_queue()
437 if (percpu_ref_tryget_live(&q->q_usage_counter)) { in blk_queue_enter()
447 percpu_ref_put(&q->q_usage_counter); in blk_queue_enter()
495 percpu_ref_put(&q->q_usage_counter); in blk_queue_exit()
501 container_of(ref, struct request_queue, q_usage_counter); in blk_queue_usage_counter_release()
572 if (percpu_ref_init(&q->q_usage_counter, in blk_alloc_queue()
587 percpu_ref_exit(&q->q_usage_counter); in blk_alloc_queue()
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()
Dblk-mq.c138 percpu_ref_kill(&q->q_usage_counter); in blk_freeze_queue_start()
150 wait_event(q->mq_freeze_wq, percpu_ref_is_zero(&q->q_usage_counter)); in blk_mq_freeze_queue_wait()
158 percpu_ref_is_zero(&q->q_usage_counter), in blk_mq_freeze_queue_wait_timeout()
196 percpu_ref_resurrect(&q->q_usage_counter); in blk_mq_unfreeze_queue()
995 if (!percpu_ref_tryget(&q->q_usage_counter)) in blk_mq_timeout_work()
2565 if (percpu_ref_tryget(&hctx->queue->q_usage_counter)) { in blk_mq_hctx_notify_offline()
2568 percpu_ref_put(&hctx->queue->q_usage_counter); in blk_mq_hctx_notify_offline()
Dblk-mq-tag.c447 if (!percpu_ref_tryget(&q->q_usage_counter)) in blk_mq_queue_tag_busy_iter()
Dblk-sysfs.c862 percpu_ref_switch_to_percpu(&q->q_usage_counter); in blk_register_queue()
/kernel/linux/linux-5.10/drivers/nvdimm/
Dpmem.c338 container_of(pgmap->ref, struct request_queue, q_usage_counter); in pmem_pagemap_cleanup()
351 container_of(pgmap->ref, struct request_queue, q_usage_counter); in pmem_pagemap_kill()
429 pmem->pgmap.ref = &q->q_usage_counter; in pmem_attach_disk()
/kernel/linux/linux-5.10/drivers/block/
Dnbd.c834 if (!percpu_ref_tryget(&q->q_usage_counter)) { in recv_work()
842 percpu_ref_put(&q->q_usage_counter); in recv_work()
849 percpu_ref_put(&q->q_usage_counter); in recv_work()
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_lib.c602 percpu_ref_get(&q->q_usage_counter); in scsi_end_request()
608 percpu_ref_put(&q->q_usage_counter); in scsi_end_request()
/kernel/linux/linux-5.10/include/linux/
Dblkdev.h408 struct percpu_ref q_usage_counter; member