Searched refs:existing_device (Results 1 – 2 of 2) sorted by relevance
1866 static void pqi_scsi_update_device(struct pqi_scsi_dev *existing_device, in pqi_scsi_update_device() argument1869 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()[all …]
833 struct vfio_device *existing_device; in vfio_register_group_dev() local863 existing_device = vfio_group_get_device(group, device->dev); in vfio_register_group_dev()864 if (existing_device) { in vfio_register_group_dev()867 vfio_device_put(existing_device); in vfio_register_group_dev()