Lines Matching refs:nr_cmds
1650 qdepth = min(h->nr_cmds, qdepth + in hpsa_figure_phys_disk_ptrs()
1675 logical_drive->queue_depth = h->nr_cmds; in hpsa_figure_phys_disk_ptrs()
1992 for (i = 0; i < h->nr_cmds; i++) { in hpsa_free_ioaccel2_sg_chain_blocks()
2008 kzalloc(sizeof(*h->ioaccel2_cmd_sg_list) * h->nr_cmds, in hpsa_allocate_ioaccel2_sg_chain_blocks()
2012 for (i = 0; i < h->nr_cmds; i++) { in hpsa_allocate_ioaccel2_sg_chain_blocks()
2032 for (i = 0; i < h->nr_cmds; i++) { in hpsa_free_sg_chain_blocks()
2047 h->cmd_sg_list = kzalloc(sizeof(*h->cmd_sg_list) * h->nr_cmds, in hpsa_alloc_sg_chain_blocks()
2053 for (i = 0; i < h->nr_cmds; i++) { in hpsa_alloc_sg_chain_blocks()
2922 for (i = 0; i < h->nr_cmds; i++) { in hpsa_do_reset()
3657 this_device->queue_depth = h->nr_cmds; in hpsa_update_device_info()
5036 for (i = 0; i < h->nr_cmds; i++) { in hpsa_preinitialize_commands()
5277 sh->can_queue = h->nr_cmds - HPSA_NRESERVED_CMDS; in hpsa_scsi_host_alloc()
5938 if (idx < HPSA_NRESERVED_CMDS || idx >= h->nr_cmds) { in cmd_tagged_alloc()
5940 idx, HPSA_NRESERVED_CMDS, h->nr_cmds - 1); in cmd_tagged_alloc()
6766 if (unlikely(tag_index >= h->nr_cmds)) { in bad_tag()
7525 h->nr_cmds = h->max_commands; in hpsa_find_board_params()
7841 h->nr_cmds * sizeof(struct CommandList), in hpsa_free_cmd_pool()
7849 h->nr_cmds * sizeof(struct ErrorInfo), in hpsa_free_cmd_pool()
7860 DIV_ROUND_UP(h->nr_cmds, BITS_PER_LONG) * in hpsa_alloc_cmd_pool()
7863 h->nr_cmds * sizeof(*h->cmd_pool), in hpsa_alloc_cmd_pool()
7866 h->nr_cmds * sizeof(*h->errinfo_pool), in hpsa_alloc_cmd_pool()
8054 for (i = 0; i < h->nr_cmds; i++) { in fail_all_outstanding_cmds()
8959 for (i = 0; i < h->nr_cmds; i++) { in hpsa_enter_performant_mode()
9014 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool), in hpsa_free_ioaccel1_cmd_and_bft()
9040 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool), in hpsa_alloc_ioaccel1_cmd_and_bft()
9052 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool)); in hpsa_alloc_ioaccel1_cmd_and_bft()
9067 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool), in hpsa_free_ioaccel2_cmd_and_bft()
9093 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool), in hpsa_alloc_ioaccel2_cmd_and_bft()
9111 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool)); in hpsa_alloc_ioaccel2_cmd_and_bft()
9215 for (i = 0; i < h->nr_cmds; i++) { in hpsa_drain_accel_commands()