Lines Matching refs:nr_cmds

1728 				qdepth = min(h->nr_cmds, qdepth +  in hpsa_figure_phys_disk_ptrs()
1761 logical_drive->queue_depth = h->nr_cmds; in hpsa_figure_phys_disk_ptrs()
1825 for (i = 0; i < h->nr_cmds; i++) { in hpsa_find_outstanding_commands_for_dev()
2158 for (i = 0; i < h->nr_cmds; i++) { in hpsa_free_ioaccel2_sg_chain_blocks()
2174 kcalloc(h->nr_cmds, sizeof(*h->ioaccel2_cmd_sg_list), in hpsa_allocate_ioaccel2_sg_chain_blocks()
2178 for (i = 0; i < h->nr_cmds; i++) { in hpsa_allocate_ioaccel2_sg_chain_blocks()
2199 for (i = 0; i < h->nr_cmds; i++) { in hpsa_free_sg_chain_blocks()
2214 h->cmd_sg_list = kcalloc(h->nr_cmds, sizeof(*h->cmd_sg_list), in hpsa_alloc_sg_chain_blocks()
2219 for (i = 0; i < h->nr_cmds; i++) { in hpsa_alloc_sg_chain_blocks()
3142 for (i = 0; i < h->nr_cmds; i++) { in hpsa_do_reset()
4001 this_device->queue_depth = h->nr_cmds; in hpsa_update_device_info()
5478 for (i = 0; i < h->nr_cmds; i++) { in hpsa_preinitialize_commands()
5751 sh->can_queue = h->nr_cmds - HPSA_NRESERVED_CMDS; in hpsa_scsi_host_alloc()
6011 if (idx < HPSA_NRESERVED_CMDS || idx >= h->nr_cmds) { in cmd_tagged_alloc()
6013 idx, HPSA_NRESERVED_CMDS, h->nr_cmds - 1); in cmd_tagged_alloc()
6836 if (unlikely(tag_index >= h->nr_cmds)) { in bad_tag()
7597 h->nr_cmds = h->max_commands; in hpsa_find_board_params()
7918 h->nr_cmds * sizeof(struct CommandList), in hpsa_free_cmd_pool()
7926 h->nr_cmds * sizeof(struct ErrorInfo), in hpsa_free_cmd_pool()
7936 h->cmd_pool_bits = kcalloc(DIV_ROUND_UP(h->nr_cmds, BITS_PER_LONG), in hpsa_alloc_cmd_pool()
7940 h->nr_cmds * sizeof(*h->cmd_pool), in hpsa_alloc_cmd_pool()
7943 h->nr_cmds * sizeof(*h->errinfo_pool), in hpsa_alloc_cmd_pool()
8111 for (i = 0; i < h->nr_cmds; i++) { in fail_all_outstanding_cmds()
9151 for (i = 0; i < h->nr_cmds; i++) { in hpsa_enter_performant_mode()
9206 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool), in hpsa_free_ioaccel1_cmd_and_bft()
9232 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool), in hpsa_alloc_ioaccel1_cmd_and_bft()
9244 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool)); in hpsa_alloc_ioaccel1_cmd_and_bft()
9259 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool), in hpsa_free_ioaccel2_cmd_and_bft()
9285 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool), in hpsa_alloc_ioaccel2_cmd_and_bft()
9303 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool)); in hpsa_alloc_ioaccel2_cmd_and_bft()
9407 for (i = 0; i < h->nr_cmds; i++) { in hpsa_drain_accel_commands()