Home
last modified time | relevance | path

Searched refs:HPSA_NRESERVED_CMDS (Results 1 – 1 of 1) sorted by relevance

/drivers/scsi/
Dhpsa.c953 #define HPSA_NRESERVED_CMDS (HPSA_CMDS_RESERVED_FOR_DRIVER +\ macro
5805 sh->can_queue = h->nr_cmds - HPSA_NRESERVED_CMDS; in hpsa_scsi_host_alloc()
5844 return idx += HPSA_NRESERVED_CMDS; in hpsa_get_cmd_index()
6078 if (idx < HPSA_NRESERVED_CMDS || idx >= h->nr_cmds) { in cmd_tagged_alloc()
6080 idx, HPSA_NRESERVED_CMDS, h->nr_cmds - 1); in cmd_tagged_alloc()
6155 HPSA_NRESERVED_CMDS, in cmd_alloc()
6157 if (unlikely(i >= HPSA_NRESERVED_CMDS)) { in cmd_alloc()
6165 offset = (i + 1) % HPSA_NRESERVED_CMDS; in cmd_alloc()
7632 BUILD_BUG_ON(MIN_MAX_COMMANDS <= HPSA_NRESERVED_CMDS); in hpsa_get_max_perf_mode_cmds()