Lines Matching refs:num_in_q
254 atomic_t num_in_q; member
3744 atomic_dec(&devip->num_in_q); in sdebug_q_cmd_complete()
3858 atomic_set(&open_devip->num_in_q, 0); in find_build_dev_info()
3947 atomic_dec(&devip->num_in_q); in stop_queued_cmnd()
3987 atomic_dec(&devip->num_in_q); in stop_all_queued()
4261 int k, num_in_q, qdepth, inject; in schedule_resp() local
4284 num_in_q = atomic_read(&devip->num_in_q); in schedule_resp()
4287 if (unlikely((qdepth > 0) && (num_in_q >= qdepth))) { in schedule_resp()
4296 if ((num_in_q == (qdepth - 1)) && in schedule_resp()
4324 atomic_inc(&devip->num_in_q); in schedule_resp()
4397 num_in_q, (inject ? "<inject> " : ""), in schedule_resp()
5538 int num_in_q = 0; in sdebug_change_qdepth() local
5547 num_in_q = atomic_read(&devip->num_in_q); in sdebug_change_qdepth()
5558 __func__, qdepth, num_in_q); in sdebug_change_qdepth()