Lines Matching refs:nr_cmds
1734 qdepth = min(h->nr_cmds, qdepth +
1766 logical_drive->queue_depth = h->nr_cmds;
1830 for (i = 0; i < h->nr_cmds; i++) {
2186 for (i = 0; i < h->nr_cmds; i++) {
2202 kcalloc(h->nr_cmds, sizeof(*h->ioaccel2_cmd_sg_list),
2206 for (i = 0; i < h->nr_cmds; i++) {
2227 for (i = 0; i < h->nr_cmds; i++) {
2242 h->cmd_sg_list = kcalloc(h->nr_cmds, sizeof(*h->cmd_sg_list),
2247 for (i = 0; i < h->nr_cmds; i++) {
4028 this_device->queue_depth = h->nr_cmds;
5557 for (i = 0; i < h->nr_cmds; i++) {
5850 sh->can_queue = h->nr_cmds - HPSA_NRESERVED_CMDS;
6123 if (idx < HPSA_NRESERVED_CMDS || idx >= h->nr_cmds) {
6125 idx, HPSA_NRESERVED_CMDS, h->nr_cmds - 1);
6926 if (unlikely(tag_index >= h->nr_cmds)) {
7687 h->nr_cmds = h->max_commands;
8008 h->nr_cmds * sizeof(struct CommandList),
8016 h->nr_cmds * sizeof(struct ErrorInfo),
8026 h->cmd_pool_bits = kcalloc(DIV_ROUND_UP(h->nr_cmds, BITS_PER_LONG),
8030 h->nr_cmds * sizeof(*h->cmd_pool),
8033 h->nr_cmds * sizeof(*h->errinfo_pool),
8215 for (i = 0; i < h->nr_cmds; i++) {
9281 for (i = 0; i < h->nr_cmds; i++) {
9336 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool),
9362 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool),
9374 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool));
9389 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool),
9415 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool),
9433 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool));
9538 for (i = 0; i < h->nr_cmds; i++) {