Lines Matching refs:nr_cmds
1734 qdepth = min(h->nr_cmds, qdepth + in hpsa_figure_phys_disk_ptrs()
1766 logical_drive->queue_depth = h->nr_cmds; in hpsa_figure_phys_disk_ptrs()
1830 for (i = 0; i < h->nr_cmds; i++) { in hpsa_find_outstanding_commands_for_dev()
2186 for (i = 0; i < h->nr_cmds; i++) { in hpsa_free_ioaccel2_sg_chain_blocks()
2202 kcalloc(h->nr_cmds, sizeof(*h->ioaccel2_cmd_sg_list), in hpsa_allocate_ioaccel2_sg_chain_blocks()
2206 for (i = 0; i < h->nr_cmds; i++) { in hpsa_allocate_ioaccel2_sg_chain_blocks()
2227 for (i = 0; i < h->nr_cmds; i++) { in hpsa_free_sg_chain_blocks()
2242 h->cmd_sg_list = kcalloc(h->nr_cmds, sizeof(*h->cmd_sg_list), in hpsa_alloc_sg_chain_blocks()
2247 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()
5557 for (i = 0; i < h->nr_cmds; i++) { in hpsa_preinitialize_commands()
5850 sh->can_queue = h->nr_cmds - HPSA_NRESERVED_CMDS; in hpsa_scsi_host_alloc()
6123 if (idx < HPSA_NRESERVED_CMDS || idx >= h->nr_cmds) { in cmd_tagged_alloc()
6125 idx, HPSA_NRESERVED_CMDS, h->nr_cmds - 1); in cmd_tagged_alloc()
6926 if (unlikely(tag_index >= h->nr_cmds)) { in bad_tag()
7687 h->nr_cmds = h->max_commands; in hpsa_find_board_params()
8008 h->nr_cmds * sizeof(struct CommandList), in hpsa_free_cmd_pool()
8016 h->nr_cmds * sizeof(struct ErrorInfo), in hpsa_free_cmd_pool()
8026 h->cmd_pool_bits = kcalloc(DIV_ROUND_UP(h->nr_cmds, BITS_PER_LONG), in hpsa_alloc_cmd_pool()
8030 h->nr_cmds * sizeof(*h->cmd_pool), in hpsa_alloc_cmd_pool()
8033 h->nr_cmds * sizeof(*h->errinfo_pool), in hpsa_alloc_cmd_pool()
8215 for (i = 0; i < h->nr_cmds; i++) { in fail_all_outstanding_cmds()
9281 for (i = 0; i < h->nr_cmds; i++) { in hpsa_enter_performant_mode()
9336 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool), in hpsa_free_ioaccel1_cmd_and_bft()
9362 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool), in hpsa_alloc_ioaccel1_cmd_and_bft()
9374 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool)); in hpsa_alloc_ioaccel1_cmd_and_bft()
9389 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool), in hpsa_free_ioaccel2_cmd_and_bft()
9415 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool), in hpsa_alloc_ioaccel2_cmd_and_bft()
9433 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool)); in hpsa_alloc_ioaccel2_cmd_and_bft()
9538 for (i = 0; i < h->nr_cmds; i++) { in hpsa_drain_accel_commands()