Lines Matching refs:num_in_q
287 atomic_t num_in_q; member
4778 atomic_dec(&devip->num_in_q); in sdebug_q_cmd_complete()
4991 atomic_set(&open_devip->num_in_q, 0); in find_build_dev_info()
5080 atomic_dec(&devip->num_in_q); in stop_queued_cmnd()
5120 atomic_dec(&devip->num_in_q); in stop_all_queued()
5388 int k, num_in_q, qdepth; in schedule_resp() local
5412 num_in_q = atomic_read(&devip->num_in_q); in schedule_resp()
5414 if (unlikely((qdepth > 0) && (num_in_q >= qdepth))) { in schedule_resp()
5423 if ((num_in_q == (qdepth - 1)) && in schedule_resp()
5451 atomic_inc(&devip->num_in_q); in schedule_resp()
5461 atomic_dec(&devip->num_in_q); in schedule_resp()
5521 atomic_dec(&devip->num_in_q); in schedule_resp()
5599 num_in_q, (inject ? "<inject> " : ""), "status: TASK SET FULL"); in schedule_resp()
7175 int num_in_q = 0; in sdebug_change_qdepth() local
7184 num_in_q = atomic_read(&devip->num_in_q); in sdebug_change_qdepth()
7198 __func__, qdepth, num_in_q); in sdebug_change_qdepth()
7338 atomic_dec(&devip->num_in_q); in sdebug_blk_mq_poll()