Searched refs:HPSA_NRESERVED_CMDS (Results 1 – 1 of 1) sorted by relevance
967 #define HPSA_NRESERVED_CMDS (HPSA_CMDS_RESERVED_FOR_DRIVER +\ macro5866 sh->can_queue = h->nr_cmds - HPSA_NRESERVED_CMDS; in hpsa_scsi_host_alloc()5905 return idx += HPSA_NRESERVED_CMDS; in hpsa_get_cmd_index()6140 if (idx < HPSA_NRESERVED_CMDS || idx >= h->nr_cmds) { in cmd_tagged_alloc()6142 idx, HPSA_NRESERVED_CMDS, h->nr_cmds - 1); in cmd_tagged_alloc()6223 HPSA_NRESERVED_CMDS, in cmd_alloc()6225 if (unlikely(i >= HPSA_NRESERVED_CMDS)) { in cmd_alloc()6233 offset = (i + 1) % HPSA_NRESERVED_CMDS; in cmd_alloc()7681 BUILD_BUG_ON(MIN_MAX_COMMANDS <= HPSA_NRESERVED_CMDS); in hpsa_get_max_perf_mode_cmds()