Lines Matching refs:logical_drive
1703 struct hpsa_scsi_dev_t *logical_drive) in hpsa_figure_phys_disk_ptrs() argument
1705 struct raid_map_data *map = &logical_drive->raid_map; in hpsa_figure_phys_disk_ptrs()
1720 logical_drive->nphysical_disks = nraid_map_entries; in hpsa_figure_phys_disk_ptrs()
1724 logical_drive->phys_disk[i] = NULL; in hpsa_figure_phys_disk_ptrs()
1725 if (!logical_drive->offload_config) in hpsa_figure_phys_disk_ptrs()
1738 logical_drive->phys_disk[i] = dev[j]; in hpsa_figure_phys_disk_ptrs()
1741 logical_drive->phys_disk[i]->queue_depth); in hpsa_figure_phys_disk_ptrs()
1752 if (!logical_drive->phys_disk[i]) { in hpsa_figure_phys_disk_ptrs()
1756 h->scsi_host->host_no, logical_drive->bus, in hpsa_figure_phys_disk_ptrs()
1757 logical_drive->target, logical_drive->lun); in hpsa_figure_phys_disk_ptrs()
1758 hpsa_turn_off_ioaccel_for_device(logical_drive); in hpsa_figure_phys_disk_ptrs()
1759 logical_drive->queue_depth = 8; in hpsa_figure_phys_disk_ptrs()
1767 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs()
1769 if (logical_drive->external) in hpsa_figure_phys_disk_ptrs()
1770 logical_drive->queue_depth = EXTERNAL_QD; in hpsa_figure_phys_disk_ptrs()
1772 logical_drive->queue_depth = h->nr_cmds; in hpsa_figure_phys_disk_ptrs()
5823 struct hpsa_scsi_dev_t *logical_drive = sdev->hostdata; in hpsa_change_queue_depth() local
5825 if (!logical_drive) in hpsa_change_queue_depth()
5830 else if (qdepth > logical_drive->queue_depth) in hpsa_change_queue_depth()
5831 qdepth = logical_drive->queue_depth; in hpsa_change_queue_depth()