Lines Matching refs:qdepth
277 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth);
1703 int qdepth; in hpsa_figure_phys_disk_ptrs() local
1710 qdepth = 0; in hpsa_figure_phys_disk_ptrs()
1728 qdepth = min(h->nr_cmds, qdepth + in hpsa_figure_phys_disk_ptrs()
1756 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs()
5706 static int hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth) in hpsa_change_queue_depth() argument
5713 if (qdepth < 1) in hpsa_change_queue_depth()
5714 qdepth = 1; in hpsa_change_queue_depth()
5715 else if (qdepth > logical_drive->queue_depth) in hpsa_change_queue_depth()
5716 qdepth = logical_drive->queue_depth; in hpsa_change_queue_depth()
5718 return scsi_change_queue_depth(sdev, qdepth); in hpsa_change_queue_depth()