Lines Matching refs:logical_drive
1686 struct hpsa_scsi_dev_t *logical_drive) in hpsa_figure_phys_disk_ptrs() argument
1688 struct raid_map_data *map = &logical_drive->raid_map; in hpsa_figure_phys_disk_ptrs()
1703 logical_drive->nphysical_disks = nraid_map_entries; in hpsa_figure_phys_disk_ptrs()
1707 logical_drive->phys_disk[i] = NULL; in hpsa_figure_phys_disk_ptrs()
1708 if (!logical_drive->offload_config) in hpsa_figure_phys_disk_ptrs()
1721 logical_drive->phys_disk[i] = dev[j]; in hpsa_figure_phys_disk_ptrs()
1724 logical_drive->phys_disk[i]->queue_depth); in hpsa_figure_phys_disk_ptrs()
1735 if (!logical_drive->phys_disk[i]) { in hpsa_figure_phys_disk_ptrs()
1739 h->scsi_host->host_no, logical_drive->bus, in hpsa_figure_phys_disk_ptrs()
1740 logical_drive->target, logical_drive->lun); in hpsa_figure_phys_disk_ptrs()
1741 logical_drive->offload_enabled = 0; in hpsa_figure_phys_disk_ptrs()
1742 logical_drive->offload_to_be_enabled = 0; in hpsa_figure_phys_disk_ptrs()
1743 logical_drive->queue_depth = 8; in hpsa_figure_phys_disk_ptrs()
1751 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs()
1753 if (logical_drive->external) in hpsa_figure_phys_disk_ptrs()
1754 logical_drive->queue_depth = EXTERNAL_QD; in hpsa_figure_phys_disk_ptrs()
1756 logical_drive->queue_depth = h->nr_cmds; in hpsa_figure_phys_disk_ptrs()
5762 struct hpsa_scsi_dev_t *logical_drive = sdev->hostdata; in hpsa_change_queue_depth() local
5764 if (!logical_drive) in hpsa_change_queue_depth()
5769 else if (qdepth > logical_drive->queue_depth) in hpsa_change_queue_depth()
5770 qdepth = logical_drive->queue_depth; in hpsa_change_queue_depth()