Lines Matching refs:logical_drive
1691 struct hpsa_scsi_dev_t *logical_drive) in hpsa_figure_phys_disk_ptrs() argument
1693 struct raid_map_data *map = &logical_drive->raid_map; in hpsa_figure_phys_disk_ptrs()
1708 logical_drive->nphysical_disks = nraid_map_entries; in hpsa_figure_phys_disk_ptrs()
1712 logical_drive->phys_disk[i] = NULL; in hpsa_figure_phys_disk_ptrs()
1713 if (!logical_drive->offload_config) in hpsa_figure_phys_disk_ptrs()
1726 logical_drive->phys_disk[i] = dev[j]; in hpsa_figure_phys_disk_ptrs()
1729 logical_drive->phys_disk[i]->queue_depth); in hpsa_figure_phys_disk_ptrs()
1740 if (!logical_drive->phys_disk[i]) { in hpsa_figure_phys_disk_ptrs()
1744 h->scsi_host->host_no, logical_drive->bus, in hpsa_figure_phys_disk_ptrs()
1745 logical_drive->target, logical_drive->lun); in hpsa_figure_phys_disk_ptrs()
1746 logical_drive->offload_enabled = 0; in hpsa_figure_phys_disk_ptrs()
1747 logical_drive->offload_to_be_enabled = 0; in hpsa_figure_phys_disk_ptrs()
1748 logical_drive->queue_depth = 8; in hpsa_figure_phys_disk_ptrs()
1756 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs()
1758 if (logical_drive->external) in hpsa_figure_phys_disk_ptrs()
1759 logical_drive->queue_depth = EXTERNAL_QD; in hpsa_figure_phys_disk_ptrs()
1761 logical_drive->queue_depth = h->nr_cmds; in hpsa_figure_phys_disk_ptrs()
5708 struct hpsa_scsi_dev_t *logical_drive = sdev->hostdata; in hpsa_change_queue_depth() local
5710 if (!logical_drive) 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()