Lines Matching refs:targetdev
99 struct udev_device *targetdev;
107 targetdev = udev_device_get_parent_with_subsystem_devtype(parent, "scsi", "scsi_target");
108 if (targetdev == NULL)
111 fcdev = udev_device_new_from_subsystem_sysname(udev, "fc_transport", udev_device_get_sysname(targetdev));
130 struct udev_device *targetdev;
139 targetdev = udev_device_get_parent_with_subsystem_devtype(parent, "scsi", "scsi_target");
140 if (targetdev == NULL)
143 target_parent = udev_device_get_parent(targetdev);
169 struct udev_device *targetdev;
184 targetdev = udev_device_get_parent_with_subsystem_devtype(parent, "scsi", "scsi_target");
185 if (targetdev == NULL)
188 target_parent = udev_device_get_parent(targetdev);
324 struct udev_device *targetdev;
332 targetdev = udev_device_get_parent_with_subsystem_devtype(parent, "scsi", "scsi_host");
333 if (!targetdev)
336 target_parent = udev_device_get_parent(targetdev);