Lines Matching refs:nr_cmds
1740 qdepth = min(h->nr_cmds, qdepth +
1772 logical_drive->queue_depth = h->nr_cmds;
1836 for (i = 0; i < h->nr_cmds; i++) {
2192 for (i = 0; i < h->nr_cmds; i++) {
2208 kcalloc(h->nr_cmds, sizeof(*h->ioaccel2_cmd_sg_list),
2212 for (i = 0; i < h->nr_cmds; i++) {
2233 for (i = 0; i < h->nr_cmds; i++) {
2248 h->cmd_sg_list = kcalloc(h->nr_cmds, sizeof(*h->cmd_sg_list),
2253 for (i = 0; i < h->nr_cmds; i++) {
4028 this_device->queue_depth = h->nr_cmds;
5553 for (i = 0; i < h->nr_cmds; i++) {
5866 sh->can_queue = h->nr_cmds - HPSA_NRESERVED_CMDS;
6140 if (idx < HPSA_NRESERVED_CMDS || idx >= h->nr_cmds) {
6142 idx, HPSA_NRESERVED_CMDS, h->nr_cmds - 1);
6954 if (unlikely(tag_index >= h->nr_cmds)) {
7714 h->nr_cmds = h->max_commands;
8035 h->nr_cmds * sizeof(struct CommandList),
8043 h->nr_cmds * sizeof(struct ErrorInfo),
8053 h->cmd_pool_bits = bitmap_zalloc(h->nr_cmds, GFP_KERNEL);
8055 h->nr_cmds * sizeof(*h->cmd_pool),
8058 h->nr_cmds * sizeof(*h->errinfo_pool),
8240 for (i = 0; i < h->nr_cmds; i++) {
9303 for (i = 0; i < h->nr_cmds; i++) {
9357 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool),
9383 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool),
9395 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool));
9410 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool),
9436 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool),
9454 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool));
9553 for (i = 0; i < h->nr_cmds; i++) {