• Home
  • Raw
  • Download

Lines Matching refs:new_device

2070 	struct pqi_scsi_dev *existing_device, struct pqi_scsi_dev *new_device)  in pqi_scsi_update_device()  argument
2072 existing_device->device_type = new_device->device_type; in pqi_scsi_update_device()
2073 existing_device->bus = new_device->bus; in pqi_scsi_update_device()
2074 if (new_device->target_lun_valid) { in pqi_scsi_update_device()
2075 existing_device->target = new_device->target; in pqi_scsi_update_device()
2076 existing_device->lun = new_device->lun; in pqi_scsi_update_device()
2082 existing_device->is_physical_device = new_device->is_physical_device; in pqi_scsi_update_device()
2083 memcpy(existing_device->vendor, new_device->vendor, sizeof(existing_device->vendor)); in pqi_scsi_update_device()
2084 memcpy(existing_device->model, new_device->model, sizeof(existing_device->model)); in pqi_scsi_update_device()
2085 existing_device->sas_address = new_device->sas_address; in pqi_scsi_update_device()
2086 existing_device->queue_depth = new_device->queue_depth; in pqi_scsi_update_device()
2088 existing_device->lun_count = new_device->lun_count; in pqi_scsi_update_device()
2091 existing_device->is_external_raid_device = new_device->is_external_raid_device; in pqi_scsi_update_device()
2094 existing_device->raid_level = new_device->raid_level; in pqi_scsi_update_device()
2095 existing_device->volume_status = new_device->volume_status; in pqi_scsi_update_device()
2097 if (!pqi_raid_maps_equal(existing_device->raid_map, new_device->raid_map)) { in pqi_scsi_update_device()
2099 existing_device->raid_map = new_device->raid_map; in pqi_scsi_update_device()
2101 new_device->raid_map = NULL; in pqi_scsi_update_device()
2103 existing_device->raid_bypass_configured = new_device->raid_bypass_configured; in pqi_scsi_update_device()
2104 existing_device->raid_bypass_enabled = new_device->raid_bypass_enabled; in pqi_scsi_update_device()
2107 existing_device->aio_enabled = new_device->aio_enabled; in pqi_scsi_update_device()
2108 existing_device->aio_handle = new_device->aio_handle; in pqi_scsi_update_device()
2109 existing_device->is_expander_smp_device = new_device->is_expander_smp_device; in pqi_scsi_update_device()
2110 existing_device->active_path_index = new_device->active_path_index; in pqi_scsi_update_device()
2111 existing_device->phy_id = new_device->phy_id; in pqi_scsi_update_device()
2112 existing_device->path_map = new_device->path_map; in pqi_scsi_update_device()
2113 existing_device->bay = new_device->bay; in pqi_scsi_update_device()
2114 existing_device->box_index = new_device->box_index; in pqi_scsi_update_device()
2115 existing_device->phys_box_on_bus = new_device->phys_box_on_bus; in pqi_scsi_update_device()
2116 existing_device->phy_connected_dev_type = new_device->phy_connected_dev_type; in pqi_scsi_update_device()
2117 memcpy(existing_device->box, new_device->box, sizeof(existing_device->box)); in pqi_scsi_update_device()
2118 …memcpy(existing_device->phys_connector, new_device->phys_connector, sizeof(existing_device->phys_c… in pqi_scsi_update_device()
2217 device->new_device = false; in pqi_update_device_list()
2226 device->new_device = true; in pqi_update_device_list()
2233 device->new_device = true; in pqi_update_device_list()
2250 if (!device->new_device) in pqi_update_device_list()