Lines Matching refs:nr_cmds

1301 				qdepth = min(h->nr_cmds, qdepth +  in hpsa_figure_phys_disk_ptrs()
1315 logical_drive->queue_depth = h->nr_cmds; in hpsa_figure_phys_disk_ptrs()
1325 logical_drive->queue_depth = h->nr_cmds; in hpsa_figure_phys_disk_ptrs()
1547 for (i = 0; i < h->nr_cmds; i++) { in hpsa_free_sg_chain_blocks()
1562 h->cmd_sg_list = kzalloc(sizeof(*h->cmd_sg_list) * h->nr_cmds, in hpsa_allocate_sg_chain_blocks()
1568 for (i = 0; i < h->nr_cmds; i++) { in hpsa_allocate_sg_chain_blocks()
2712 this_device->queue_depth = h->nr_cmds; in hpsa_update_device_info()
4255 sh->can_queue = h->nr_cmds - in hpsa_register_scsi()
4688 i = find_next_zero_bit(h->cmd_pool_bits, h->nr_cmds, offset); in cmd_alloc()
4689 if (unlikely(i == h->nr_cmds)) { in cmd_alloc()
4697 offset = (i + 1) % h->nr_cmds; in cmd_alloc()
5389 if (unlikely(tag_index >= h->nr_cmds)) { in bad_tag()
6131 h->nr_cmds = h->max_commands; in hpsa_find_board_params()
6414 DIV_ROUND_UP(h->nr_cmds, BITS_PER_LONG) * in hpsa_allocate_cmd_pool()
6417 h->nr_cmds * sizeof(*h->cmd_pool), in hpsa_allocate_cmd_pool()
6420 h->nr_cmds * sizeof(*h->errinfo_pool), in hpsa_allocate_cmd_pool()
6439 h->nr_cmds * sizeof(struct CommandList), in hpsa_free_cmd_pool()
6443 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool), in hpsa_free_cmd_pool()
6447 h->nr_cmds * sizeof(struct ErrorInfo), in hpsa_free_cmd_pool()
6452 h->nr_cmds * sizeof(struct io_accel1_cmd), in hpsa_free_cmd_pool()
6622 for (i = 0; i < h->nr_cmds; i++) { in fail_all_outstanding_cmds()
7119 h->nr_cmds * sizeof(struct CommandList), in hpsa_remove_one()
7122 h->nr_cmds * sizeof(struct ErrorInfo), in hpsa_remove_one()
7323 for (i = 0; i < h->nr_cmds; i++) { in hpsa_enter_performant_mode()
7388 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool), in hpsa_alloc_ioaccel_cmd_and_bft()
7400 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool)); in hpsa_alloc_ioaccel_cmd_and_bft()
7406 h->nr_cmds * sizeof(*h->ioaccel_cmd_pool), in hpsa_alloc_ioaccel_cmd_and_bft()
7425 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool), in ioaccel2_alloc_cmds_and_bft()
7437 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool)); in ioaccel2_alloc_cmds_and_bft()
7443 h->nr_cmds * sizeof(*h->ioaccel2_cmd_pool), in ioaccel2_alloc_cmds_and_bft()
7521 for (i = 0; i < h->nr_cmds; i++) { in hpsa_drain_accel_commands()