• Home
  • Raw
  • Download

Lines Matching refs:existing_device

1866 static void pqi_scsi_update_device(struct pqi_scsi_dev *existing_device,  in pqi_scsi_update_device()  argument
1869 existing_device->device_type = new_device->device_type; in pqi_scsi_update_device()
1870 existing_device->bus = new_device->bus; in pqi_scsi_update_device()
1872 existing_device->target = new_device->target; in pqi_scsi_update_device()
1873 existing_device->lun = new_device->lun; in pqi_scsi_update_device()
1874 existing_device->target_lun_valid = true; in pqi_scsi_update_device()
1877 if ((existing_device->volume_status == CISS_LV_QUEUED_FOR_EXPANSION || in pqi_scsi_update_device()
1878 existing_device->volume_status == CISS_LV_UNDERGOING_EXPANSION) && in pqi_scsi_update_device()
1880 existing_device->rescan = true; in pqi_scsi_update_device()
1884 existing_device->is_physical_device = new_device->is_physical_device; in pqi_scsi_update_device()
1885 existing_device->is_external_raid_device = in pqi_scsi_update_device()
1887 existing_device->is_expander_smp_device = in pqi_scsi_update_device()
1889 existing_device->aio_enabled = new_device->aio_enabled; in pqi_scsi_update_device()
1890 memcpy(existing_device->vendor, new_device->vendor, in pqi_scsi_update_device()
1891 sizeof(existing_device->vendor)); in pqi_scsi_update_device()
1892 memcpy(existing_device->model, new_device->model, in pqi_scsi_update_device()
1893 sizeof(existing_device->model)); in pqi_scsi_update_device()
1894 existing_device->sas_address = new_device->sas_address; in pqi_scsi_update_device()
1895 existing_device->raid_level = new_device->raid_level; in pqi_scsi_update_device()
1896 existing_device->queue_depth = new_device->queue_depth; in pqi_scsi_update_device()
1897 existing_device->aio_handle = new_device->aio_handle; in pqi_scsi_update_device()
1898 existing_device->volume_status = new_device->volume_status; in pqi_scsi_update_device()
1899 existing_device->active_path_index = new_device->active_path_index; in pqi_scsi_update_device()
1900 existing_device->phy_id = new_device->phy_id; in pqi_scsi_update_device()
1901 existing_device->path_map = new_device->path_map; in pqi_scsi_update_device()
1902 existing_device->bay = new_device->bay; in pqi_scsi_update_device()
1903 existing_device->box_index = new_device->box_index; in pqi_scsi_update_device()
1904 existing_device->phys_box_on_bus = new_device->phys_box_on_bus; in pqi_scsi_update_device()
1905 existing_device->phy_connected_dev_type = new_device->phy_connected_dev_type; in pqi_scsi_update_device()
1906 memcpy(existing_device->box, new_device->box, in pqi_scsi_update_device()
1907 sizeof(existing_device->box)); in pqi_scsi_update_device()
1908 memcpy(existing_device->phys_connector, new_device->phys_connector, in pqi_scsi_update_device()
1909 sizeof(existing_device->phys_connector)); in pqi_scsi_update_device()
1910 existing_device->next_bypass_group = 0; in pqi_scsi_update_device()
1911 kfree(existing_device->raid_map); in pqi_scsi_update_device()
1912 existing_device->raid_map = new_device->raid_map; in pqi_scsi_update_device()
1913 existing_device->raid_bypass_configured = in pqi_scsi_update_device()
1915 existing_device->raid_bypass_enabled = in pqi_scsi_update_device()
1917 existing_device->device_offline = false; in pqi_scsi_update_device()