Searched refs:to_scsi_target (Results 1 – 5 of 5) sorted by relevance
374 #define to_scsi_target(d) container_of(d, struct scsi_target, dev) macro377 return to_scsi_target(sdev->sdev_gendev.parent); in scsi_target()380 to_scsi_target(class_dev->parent)
242 struct scsi_target *starget = to_scsi_target(dev); in spi_setup_transport_attrs()1416 starget = to_scsi_target(dev); in spi_target_match()
2897 starget_for_each_device(to_scsi_target(dev), NULL, in target_block()2933 starget_for_each_device(to_scsi_target(dev), data, in target_unblock()2942 starget_for_each_device(to_scsi_target(dev), &new_state, in scsi_target_unblock()
409 struct scsi_target *starget = to_scsi_target(dev); in scsi_target_dev_release()
359 struct scsi_target *starget = to_scsi_target(dev); in fc_target_setup()