Searched refs:num_in_q (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A Dscsi_debug.c594 atomic_t num_in_q; member in struct:sdebug_dev_info
3466 atomic_dec(&devip->num_in_q); sdebug_q_cmd_complete()
3526 atomic_dec(&devip->num_in_q); sdebug_q_cmd_hrt_complete()
3609 atomic_set(&open_devip->num_in_q, 0); devInfoReg()
3678 atomic_dec(&devip->num_in_q); stop_queued_cmnd()
3719 atomic_dec(&devip->num_in_q); stop_all_queued()
3942 int k, num_in_q, qdepth, inject; schedule_resp() local
3966 num_in_q = atomic_read(&devip->num_in_q); schedule_resp()
3969 if ((qdepth > 0) && (num_in_q >= qdepth)) { schedule_resp()
3978 if ((num_in_q == (qdepth - 1)) && schedule_resp()
4006 atomic_inc(&devip->num_in_q); schedule_resp()
4055 "%s: num_in_q=%d +1, %s%s\n", __func__, schedule_resp()
4056 num_in_q, (inject ? "<inject> " : ""), schedule_resp()
5074 int num_in_q = 0; sdebug_change_qdepth() local
5084 num_in_q = atomic_read(&devip->num_in_q); sdebug_change_qdepth()
5096 "%s: qdepth=%d, num_in_q=%d\n", sdebug_change_qdepth()
5097 __func__, qdepth, num_in_q); sdebug_change_qdepth()

Completed in 66 milliseconds