Lines Matching refs:starget
357 struct scsi_target *starget = to_scsi_target(dev); in fc_target_setup() local
358 struct fc_rport *rport = starget_to_rport(starget); in fc_target_setup()
366 fc_starget_node_name(starget) = rport->node_name; in fc_target_setup()
367 fc_starget_port_name(starget) = rport->port_name; in fc_target_setup()
368 fc_starget_port_id(starget) = rport->port_id; in fc_target_setup()
370 fc_starget_node_name(starget) = -1; in fc_target_setup()
371 fc_starget_port_name(starget) = -1; in fc_target_setup()
372 fc_starget_port_id(starget) = -1; in fc_target_setup()
1019 struct scsi_target *starget = transport_class_to_starget(dev); \
1020 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); \
1022 struct fc_rport *rport = starget_to_rport(starget); \
1024 fc_starget_##field(starget) = rport->field; \
1026 i->f->get_starget_##field(starget); \
1028 cast fc_starget_##field(starget)); \
1033 static FC_DEVICE_ATTR(starget, field, S_IRUGO, \
1038 static FC_DEVICE_ATTR(starget, field, S_IRUGO, \