Lines Matching refs:num_in_q
291 atomic_t num_in_q; member
4960 atomic_dec(&devip->num_in_q); in sdebug_q_cmd_complete()
5199 atomic_set(&open_devip->num_in_q, 0); in find_build_dev_info()
5288 atomic_dec(&devip->num_in_q); in stop_queued_cmnd()
5328 atomic_dec(&devip->num_in_q); in stop_all_queued()
5596 int k, num_in_q, qdepth; in schedule_resp() local
5620 num_in_q = atomic_read(&devip->num_in_q); in schedule_resp()
5622 if (unlikely((qdepth > 0) && (num_in_q >= qdepth))) { in schedule_resp()
5631 if ((num_in_q == (qdepth - 1)) && in schedule_resp()
5652 atomic_inc(&devip->num_in_q); in schedule_resp()
5662 atomic_dec(&devip->num_in_q); in schedule_resp()
5722 atomic_dec(&devip->num_in_q); in schedule_resp()
5800 num_in_q, (inject ? "<inject> " : ""), "status: TASK SET FULL"); in schedule_resp()
7402 int num_in_q = 0; in sdebug_change_qdepth() local
7411 num_in_q = atomic_read(&devip->num_in_q); in sdebug_change_qdepth()
7425 __func__, qdepth, num_in_q); in sdebug_change_qdepth()
7568 atomic_dec(&devip->num_in_q); in sdebug_blk_mq_poll()