Lines Matching refs:qdepth
283 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth);
1715 int qdepth; in hpsa_figure_phys_disk_ptrs() local
1722 qdepth = 0; in hpsa_figure_phys_disk_ptrs()
1740 qdepth = min(h->nr_cmds, qdepth + in hpsa_figure_phys_disk_ptrs()
1767 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs()
5823 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth) in hpsa_change_queue_depth() argument
5830 if (qdepth < 1) in hpsa_change_queue_depth()
5831 qdepth = 1; in hpsa_change_queue_depth()
5832 else if (qdepth > logical_drive->queue_depth) in hpsa_change_queue_depth()
5833 qdepth = logical_drive->queue_depth; in hpsa_change_queue_depth()
5835 return scsi_change_queue_depth(sdev, qdepth); in hpsa_change_queue_depth()