Lines Matching defs:starget
43 * sdev/starget/host objects.
267 * The attribute containers for the starget and host are are
288 struct scsi_target *starget = to_scsi_target(dev);
289 struct fc_rport *rport = starget_to_rport(starget);
297 fc_starget_node_name(starget) = rport->node_name;
298 fc_starget_port_name(starget) = rport->port_name;
299 fc_starget_port_id(starget) = rport->port_id;
301 fc_starget_node_name(starget) = -1;
302 fc_starget_port_name(starget) = -1;
303 fc_starget_port_id(starget) = -1;
868 struct scsi_target *starget = transport_class_to_starget(cdev); \
869 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); \
871 struct fc_rport *rport = starget_to_rport(starget); \
873 fc_starget_##field(starget) = rport->field; \
875 i->f->get_starget_##field(starget); \
877 cast fc_starget_##field(starget)); \
882 static FC_CLASS_DEVICE_ATTR(starget, field, S_IRUGO, \
887 static FC_CLASS_DEVICE_ATTR(starget, field, S_IRUGO, \
2323 " a FCP target, removing starget\n");
2336 (rport->scsi_target_id != -1) ? " and starget" : "");
2347 (rport->scsi_target_id != -1) ? " and starget" : "");