Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_debug.c212 /* SDEBUG_CANQUEUE is the maximum number of commands that can be queued
217 * but cannot exceed SDEBUG_CANQUEUE .
220 #define SDEBUG_CANQUEUE (SDEBUG_CANQUEUE_WORDS * BITS_PER_LONG) macro
349 struct sdebug_queued_cmd qc_arr[SDEBUG_CANQUEUE];
745 static int sdebug_max_queue = SDEBUG_CANQUEUE; /* per submit queue */
4781 if (unlikely((qc_idx < 0) || (qc_idx >= SDEBUG_CANQUEUE))) { in sdebug_q_cmd_complete()
5130 for (k = 0; k < SDEBUG_CANQUEUE; ++k) { in stop_all_queued()
5164 for (k = 0; k < SDEBUG_CANQUEUE; ++k) { in free_all_queued()
6242 (n <= SDEBUG_CANQUEUE) && in max_queue_store()
6248 a = find_last_bit(sqp->in_use_bm, SDEBUG_CANQUEUE); in max_queue_store()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_debug.c214 /* SDEBUG_CANQUEUE is the maximum number of commands that can be queued
219 * but cannot exceed SDEBUG_CANQUEUE .
222 #define SDEBUG_CANQUEUE (SDEBUG_CANQUEUE_WORDS * BITS_PER_LONG) macro
223 #define DEF_CMD_PER_LUN SDEBUG_CANQUEUE
754 static int sdebug_max_queue = SDEBUG_CANQUEUE; /* per submit queue */
6381 (n <= SDEBUG_CANQUEUE) && in max_queue_store()
6891 if ((sdebug_max_queue > SDEBUG_CANQUEUE) || (sdebug_max_queue < 1)) { in scsi_debug_init()
6892 pr_err("max_queue must be in range [1, %d]\n", SDEBUG_CANQUEUE); in scsi_debug_init()
6896 if ((sdebug_host_max_queue > SDEBUG_CANQUEUE) || in scsi_debug_init()
6899 SDEBUG_CANQUEUE); in scsi_debug_init()
[all...]

Completed in 19 milliseconds