Lines Matching refs:SDEBUG_CANQUEUE
222 #define SDEBUG_CANQUEUE (SDEBUG_CANQUEUE_WORDS * BITS_PER_LONG) macro
223 #define DEF_CMD_PER_LUN SDEBUG_CANQUEUE
357 struct sdebug_queued_cmd qc_arr[SDEBUG_CANQUEUE];
754 static int sdebug_max_queue = SDEBUG_CANQUEUE; /* per submit queue */
4944 if (unlikely((qc_idx < 0) || (qc_idx >= SDEBUG_CANQUEUE))) { in sdebug_q_cmd_complete()
5320 for (k = 0; k < SDEBUG_CANQUEUE; ++k) { in stop_all_queued()
5354 for (k = 0; k < SDEBUG_CANQUEUE; ++k) { in free_all_queued()
6461 (n <= SDEBUG_CANQUEUE) && in max_queue_store()
6467 a = find_last_bit(sqp->in_use_bm, SDEBUG_CANQUEUE); in max_queue_store()
6472 if (k == SDEBUG_CANQUEUE) in max_queue_store()
6983 if ((sdebug_max_queue > SDEBUG_CANQUEUE) || (sdebug_max_queue < 1)) { in scsi_debug_init()
6984 pr_err("max_queue must be in range [1, %d]\n", SDEBUG_CANQUEUE); in scsi_debug_init()
6988 if ((sdebug_host_max_queue > SDEBUG_CANQUEUE) || in scsi_debug_init()
6991 SDEBUG_CANQUEUE); in scsi_debug_init()
7413 if (qdepth > SDEBUG_CANQUEUE) { in sdebug_change_qdepth()
7414 qdepth = SDEBUG_CANQUEUE; in sdebug_change_qdepth()
7416 qdepth, SDEBUG_CANQUEUE); in sdebug_change_qdepth()
7797 .can_queue = SDEBUG_CANQUEUE,