Lines Matching defs:starget
58 * sdev/starget/host objects.
324 * The attribute containers for the starget and host are are
349 struct scsi_target *starget = to_scsi_target(dev);
350 struct fc_rport *rport = starget_to_rport(starget);
358 fc_starget_node_name(starget) = rport->node_name;
359 fc_starget_port_name(starget) = rport->port_name;
360 fc_starget_port_id(starget) = rport->port_id;
362 fc_starget_node_name(starget) = -1;
363 fc_starget_port_name(starget) = -1;
364 fc_starget_port_id(starget) = -1;
1010 struct scsi_target *starget = transport_class_to_starget(dev); \
1011 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); \
1013 struct fc_rport *rport = starget_to_rport(starget); \
1015 fc_starget_##field(starget) = rport->field; \
1017 i->f->get_starget_##field(starget); \
1019 cast fc_starget_##field(starget)); \
1024 static FC_DEVICE_ATTR(starget, field, S_IRUGO, \
1029 static FC_DEVICE_ATTR(starget, field, S_IRUGO, \
3108 " a FCP target, removing starget\n");
3121 (rport->scsi_target_id != -1) ? " and starget" : "");
3132 (rport->scsi_target_id != -1) ? " and starget" : "");
3161 * item to teardown the starget. (FCOE libFC folks prefer this