Lines Matching refs:device_exist
1141 pqi_scsi_dev_t *device_exist, pqi_scsi_dev_t *new_device) in pqisrc_exist_device_update() argument
1144 device_exist->expose_device = new_device->expose_device; in pqisrc_exist_device_update()
1145 memcpy(device_exist->vendor, new_device->vendor, in pqisrc_exist_device_update()
1146 sizeof(device_exist->vendor)); in pqisrc_exist_device_update()
1147 memcpy(device_exist->model, new_device->model, in pqisrc_exist_device_update()
1148 sizeof(device_exist->model)); in pqisrc_exist_device_update()
1149 device_exist->is_physical_device = new_device->is_physical_device; in pqisrc_exist_device_update()
1150 device_exist->is_external_raid_device = in pqisrc_exist_device_update()
1153 if ((device_exist->volume_status == SA_LV_QUEUED_FOR_EXPANSION || in pqisrc_exist_device_update()
1154 device_exist->volume_status == SA_LV_UNDERGOING_EXPANSION) && in pqisrc_exist_device_update()
1156 device_exist->scsi_rescan = true; in pqisrc_exist_device_update()
1159 device_exist->sas_address = new_device->sas_address; in pqisrc_exist_device_update()
1160 device_exist->raid_level = new_device->raid_level; in pqisrc_exist_device_update()
1161 device_exist->queue_depth = new_device->queue_depth; in pqisrc_exist_device_update()
1162 device_exist->ioaccel_handle = new_device->ioaccel_handle; in pqisrc_exist_device_update()
1163 device_exist->volume_status = new_device->volume_status; in pqisrc_exist_device_update()
1164 device_exist->active_path_index = new_device->active_path_index; in pqisrc_exist_device_update()
1165 device_exist->path_map = new_device->path_map; in pqisrc_exist_device_update()
1166 device_exist->bay = new_device->bay; in pqisrc_exist_device_update()
1167 memcpy(device_exist->box, new_device->box, in pqisrc_exist_device_update()
1168 sizeof(device_exist->box)); in pqisrc_exist_device_update()
1169 memcpy(device_exist->phys_connector, new_device->phys_connector, in pqisrc_exist_device_update()
1170 sizeof(device_exist->phys_connector)); in pqisrc_exist_device_update()
1171 device_exist->offload_config = new_device->offload_config; in pqisrc_exist_device_update()
1172 device_exist->offload_enabled_pending = in pqisrc_exist_device_update()
1174 device_exist->offload_to_mirror = 0; in pqisrc_exist_device_update()
1175 if (device_exist->raid_map) in pqisrc_exist_device_update()
1177 (char *)device_exist->raid_map, in pqisrc_exist_device_update()
1178 sizeof(*device_exist->raid_map)); in pqisrc_exist_device_update()
1179 device_exist->raid_map = new_device->raid_map; in pqisrc_exist_device_update()