Lines Matching refs:num_in_q
258 atomic_t num_in_q; member
3831 atomic_dec(&devip->num_in_q); in sdebug_q_cmd_complete()
3945 atomic_set(&open_devip->num_in_q, 0); in find_build_dev_info()
4036 atomic_dec(&devip->num_in_q); in stop_queued_cmnd()
4076 atomic_dec(&devip->num_in_q); in stop_all_queued()
4350 int k, num_in_q, qdepth, inject; in schedule_resp() local
4373 num_in_q = atomic_read(&devip->num_in_q); in schedule_resp()
4376 if (unlikely((qdepth > 0) && (num_in_q >= qdepth))) { in schedule_resp()
4385 if ((num_in_q == (qdepth - 1)) && in schedule_resp()
4413 atomic_inc(&devip->num_in_q); in schedule_resp()
4486 num_in_q, (inject ? "<inject> " : ""), in schedule_resp()
5625 int num_in_q = 0; in sdebug_change_qdepth() local
5634 num_in_q = atomic_read(&devip->num_in_q); in sdebug_change_qdepth()
5645 __func__, qdepth, num_in_q); in sdebug_change_qdepth()