Lines Matching defs:starget
64 * sdev/starget/host objects.
334 * The attribute containers for the starget and host are are
359 struct scsi_target *starget = to_scsi_target(dev);
360 struct fc_rport *rport = starget_to_rport(starget);
368 fc_starget_node_name(starget) = rport->node_name;
369 fc_starget_port_name(starget) = rport->port_name;
370 fc_starget_port_id(starget) = rport->port_id;
372 fc_starget_node_name(starget) = -1;
373 fc_starget_port_name(starget) = -1;
374 fc_starget_port_id(starget) = -1;
1419 struct scsi_target *starget = transport_class_to_starget(dev); \
1420 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); \
1422 struct fc_rport *rport = starget_to_rport(starget); \
1424 fc_starget_##field(starget) = rport->field; \
1426 i->f->get_starget_##field(starget); \
1428 cast fc_starget_##field(starget)); \
1433 static FC_DEVICE_ATTR(starget, field, S_IRUGO, \
1438 static FC_DEVICE_ATTR(starget, field, S_IRUGO, \
3578 " a FCP target, removing starget\n");
3591 (rport->scsi_target_id != -1) ? " and starget" : "");
3602 (rport->scsi_target_id != -1) ? " and starget" : "");
3631 * item to teardown the starget. (FCOE libFC folks prefer this