Lines Matching refs:logical_drive
1614 struct hpsa_scsi_dev_t *logical_drive) in hpsa_figure_phys_disk_ptrs() argument
1616 struct raid_map_data *map = &logical_drive->raid_map; in hpsa_figure_phys_disk_ptrs()
1631 logical_drive->nphysical_disks = nraid_map_entries; in hpsa_figure_phys_disk_ptrs()
1635 logical_drive->phys_disk[i] = NULL; in hpsa_figure_phys_disk_ptrs()
1636 if (!logical_drive->offload_config) in hpsa_figure_phys_disk_ptrs()
1648 logical_drive->phys_disk[i] = dev[j]; in hpsa_figure_phys_disk_ptrs()
1651 logical_drive->phys_disk[i]->queue_depth); in hpsa_figure_phys_disk_ptrs()
1662 if (!logical_drive->phys_disk[i]) { in hpsa_figure_phys_disk_ptrs()
1663 logical_drive->offload_enabled = 0; in hpsa_figure_phys_disk_ptrs()
1664 logical_drive->offload_to_be_enabled = 0; in hpsa_figure_phys_disk_ptrs()
1665 logical_drive->queue_depth = 8; in hpsa_figure_phys_disk_ptrs()
1673 logical_drive->queue_depth = qdepth; in hpsa_figure_phys_disk_ptrs()
1675 logical_drive->queue_depth = h->nr_cmds; in hpsa_figure_phys_disk_ptrs()
5234 struct hpsa_scsi_dev_t *logical_drive = sdev->hostdata; in hpsa_change_queue_depth() local
5236 if (!logical_drive) in hpsa_change_queue_depth()
5241 else if (qdepth > logical_drive->queue_depth) in hpsa_change_queue_depth()
5242 qdepth = logical_drive->queue_depth; in hpsa_change_queue_depth()