Lines Matching refs:existing_device

1713 static void pqi_scsi_update_device(struct pqi_scsi_dev *existing_device,  in pqi_scsi_update_device()  argument
1716 existing_device->devtype = new_device->devtype; in pqi_scsi_update_device()
1717 existing_device->device_type = new_device->device_type; in pqi_scsi_update_device()
1718 existing_device->bus = new_device->bus; in pqi_scsi_update_device()
1720 existing_device->target = new_device->target; in pqi_scsi_update_device()
1721 existing_device->lun = new_device->lun; in pqi_scsi_update_device()
1722 existing_device->target_lun_valid = true; in pqi_scsi_update_device()
1727 existing_device->is_physical_device = new_device->is_physical_device; in pqi_scsi_update_device()
1728 existing_device->is_external_raid_device = in pqi_scsi_update_device()
1730 existing_device->is_expander_smp_device = in pqi_scsi_update_device()
1732 existing_device->aio_enabled = new_device->aio_enabled; in pqi_scsi_update_device()
1733 memcpy(existing_device->vendor, new_device->vendor, in pqi_scsi_update_device()
1734 sizeof(existing_device->vendor)); in pqi_scsi_update_device()
1735 memcpy(existing_device->model, new_device->model, in pqi_scsi_update_device()
1736 sizeof(existing_device->model)); in pqi_scsi_update_device()
1737 existing_device->sas_address = new_device->sas_address; in pqi_scsi_update_device()
1738 existing_device->raid_level = new_device->raid_level; in pqi_scsi_update_device()
1739 existing_device->queue_depth = new_device->queue_depth; in pqi_scsi_update_device()
1740 existing_device->aio_handle = new_device->aio_handle; in pqi_scsi_update_device()
1741 existing_device->volume_status = new_device->volume_status; in pqi_scsi_update_device()
1742 existing_device->active_path_index = new_device->active_path_index; in pqi_scsi_update_device()
1743 existing_device->path_map = new_device->path_map; in pqi_scsi_update_device()
1744 existing_device->bay = new_device->bay; in pqi_scsi_update_device()
1745 existing_device->box_index = new_device->box_index; in pqi_scsi_update_device()
1746 existing_device->phys_box_on_bus = new_device->phys_box_on_bus; in pqi_scsi_update_device()
1747 existing_device->phy_connected_dev_type = in pqi_scsi_update_device()
1749 memcpy(existing_device->box, new_device->box, in pqi_scsi_update_device()
1750 sizeof(existing_device->box)); in pqi_scsi_update_device()
1751 memcpy(existing_device->phys_connector, new_device->phys_connector, in pqi_scsi_update_device()
1752 sizeof(existing_device->phys_connector)); in pqi_scsi_update_device()
1753 existing_device->offload_to_mirror = 0; in pqi_scsi_update_device()
1754 kfree(existing_device->raid_map); in pqi_scsi_update_device()
1755 existing_device->raid_map = new_device->raid_map; in pqi_scsi_update_device()
1756 existing_device->raid_bypass_configured = in pqi_scsi_update_device()
1758 existing_device->raid_bypass_enabled = in pqi_scsi_update_device()
1760 existing_device->device_offline = false; in pqi_scsi_update_device()