Lines Matching refs:num_in_q
287 atomic_t num_in_q; member
4757 atomic_dec(&devip->num_in_q); in sdebug_q_cmd_complete()
4970 atomic_set(&open_devip->num_in_q, 0); in find_build_dev_info()
5059 atomic_dec(&devip->num_in_q); in stop_queued_cmnd()
5099 atomic_dec(&devip->num_in_q); in stop_all_queued()
5366 int k, num_in_q, qdepth; in schedule_resp() local
5390 num_in_q = atomic_read(&devip->num_in_q); in schedule_resp()
5392 if (unlikely((qdepth > 0) && (num_in_q >= qdepth))) { in schedule_resp()
5401 if ((num_in_q == (qdepth - 1)) && in schedule_resp()
5429 atomic_inc(&devip->num_in_q); in schedule_resp()
5438 atomic_dec(&devip->num_in_q); in schedule_resp()
5498 atomic_dec(&devip->num_in_q); in schedule_resp()
5549 num_in_q, (inject ? "<inject> " : ""), "status: TASK SET FULL"); in schedule_resp()
7120 int num_in_q = 0; in sdebug_change_qdepth() local
7129 num_in_q = atomic_read(&devip->num_in_q); in sdebug_change_qdepth()
7140 __func__, qdepth, num_in_q); in sdebug_change_qdepth()