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()
5553 for (i = 0; i < h->nr_cmds; i++) { in hpsa_preinitialize_commands()
5866 sh->can_queue = h->nr_cmds - HPSA_NRESERVED_CMDS; in hpsa_scsi_host_alloc()
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()
6954 if (unlikely(tag_index >= h->nr_cmds)) { in bad_tag()
7714 h->nr_cmds = h->max_commands; in hpsa_find_board_params()
8035 h->nr_cmds * sizeof(struct CommandList), in hpsa_free_cmd_pool()
8043 h->nr_cmds * sizeof(struct ErrorInfo), in hpsa_free_cmd_pool()
8053 h->cmd_pool_bits = bitmap_zalloc(h->nr_cmds, GFP_KERNEL); in hpsa_alloc_cmd_pool()
8055 h->nr_cmds * sizeof(*h->cmd_pool), in hpsa_alloc_cmd_pool()
8058 h->nr_cmds * sizeof(*h->errinfo_pool), in hpsa_alloc_cmd_pool()
8240 for (i = 0; i < h->nr_cmds; i++) { in fail_all_outstanding_cmds()
9303 for (i = 0; i < h->nr_cmds; i++) { in hpsa_enter_performant_mode()
9357 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool), in hpsa_free_ioaccel1_cmd_and_bft()
9383 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool), in hpsa_alloc_ioaccel1_cmd_and_bft()
9395 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool)); in hpsa_alloc_ioaccel1_cmd_and_bft()
9410 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool), in hpsa_free_ioaccel2_cmd_and_bft()
9436 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool), in hpsa_alloc_ioaccel2_cmd_and_bft()
9454 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool)); in hpsa_alloc_ioaccel2_cmd_and_bft()
9553 for (i = 0; i < h->nr_cmds; i++) { in hpsa_drain_accel_commands()