Lines Matching refs:nr_cmds
1740 qdepth = min(h->nr_cmds, qdepth + in hpsa_figure_phys_disk_ptrs()
1772 logical_drive->queue_depth = h->nr_cmds; in hpsa_figure_phys_disk_ptrs()
1836 for (i = 0; i < h->nr_cmds; i++) { in hpsa_find_outstanding_commands_for_dev()
2192 for (i = 0; i < h->nr_cmds; i++) { in hpsa_free_ioaccel2_sg_chain_blocks()
2208 kcalloc(h->nr_cmds, sizeof(*h->ioaccel2_cmd_sg_list), in hpsa_allocate_ioaccel2_sg_chain_blocks()
2212 for (i = 0; i < h->nr_cmds; i++) { in hpsa_allocate_ioaccel2_sg_chain_blocks()
2233 for (i = 0; i < h->nr_cmds; i++) { in hpsa_free_sg_chain_blocks()
2248 h->cmd_sg_list = kcalloc(h->nr_cmds, sizeof(*h->cmd_sg_list), in hpsa_alloc_sg_chain_blocks()
2253 for (i = 0; i < h->nr_cmds; i++) { in hpsa_alloc_sg_chain_blocks()
4028 this_device->queue_depth = h->nr_cmds; in hpsa_update_device_info()
5555 for (i = 0; i < h->nr_cmds; i++) { in hpsa_preinitialize_commands()
5868 sh->can_queue = h->nr_cmds - HPSA_NRESERVED_CMDS; in hpsa_scsi_host_alloc()
6142 if (idx < HPSA_NRESERVED_CMDS || idx >= h->nr_cmds) { in cmd_tagged_alloc()
6144 idx, HPSA_NRESERVED_CMDS, h->nr_cmds - 1); in cmd_tagged_alloc()
6958 if (unlikely(tag_index >= h->nr_cmds)) { in bad_tag()
7718 h->nr_cmds = h->max_commands; in hpsa_find_board_params()
8039 h->nr_cmds * sizeof(struct CommandList), in hpsa_free_cmd_pool()
8047 h->nr_cmds * sizeof(struct ErrorInfo), in hpsa_free_cmd_pool()
8057 h->cmd_pool_bits = kcalloc(DIV_ROUND_UP(h->nr_cmds, BITS_PER_LONG), in hpsa_alloc_cmd_pool()
8061 h->nr_cmds * sizeof(*h->cmd_pool), in hpsa_alloc_cmd_pool()
8064 h->nr_cmds * sizeof(*h->errinfo_pool), in hpsa_alloc_cmd_pool()
8246 for (i = 0; i < h->nr_cmds; i++) { in fail_all_outstanding_cmds()
9310 for (i = 0; i < h->nr_cmds; i++) { in hpsa_enter_performant_mode()
9364 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool), in hpsa_free_ioaccel1_cmd_and_bft()
9390 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool), in hpsa_alloc_ioaccel1_cmd_and_bft()
9402 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool)); in hpsa_alloc_ioaccel1_cmd_and_bft()
9417 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool), in hpsa_free_ioaccel2_cmd_and_bft()
9443 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool), in hpsa_alloc_ioaccel2_cmd_and_bft()
9461 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool)); in hpsa_alloc_ioaccel2_cmd_and_bft()
9566 for (i = 0; i < h->nr_cmds; i++) { in hpsa_drain_accel_commands()