Lines Matching defs:SDEBUG_CANQUEUE
212 /* 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)
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))) {
5130 for (k = 0; k < SDEBUG_CANQUEUE; ++k) {
5164 for (k = 0; k < SDEBUG_CANQUEUE; ++k) {
6242 (n <= SDEBUG_CANQUEUE) &&
6248 a = find_last_bit(sqp->in_use_bm, SDEBUG_CANQUEUE);
6253 if (k == SDEBUG_CANQUEUE)
6746 if ((sdebug_max_queue > SDEBUG_CANQUEUE) || (sdebug_max_queue < 1)) {
6747 pr_err("max_queue must be in range [1, %d]\n", SDEBUG_CANQUEUE);
6751 if ((sdebug_host_max_queue > SDEBUG_CANQUEUE) ||
6754 SDEBUG_CANQUEUE);
7182 if (qdepth > SDEBUG_CANQUEUE + 10)
7183 qdepth = SDEBUG_CANQUEUE + 10;
7435 .can_queue = SDEBUG_CANQUEUE,