Lines Matching refs:starget
98 static int mptfc_target_alloc(struct scsi_target *starget);
101 static void mptfc_target_destroy(struct scsi_target *starget);
479 if (ri->starget) {
480 vtarget = ri->starget->hostdata;
517 mptfc_target_destroy(struct scsi_target *starget)
522 rport = starget_to_rport(starget);
526 ri->starget = NULL;
528 kfree(starget->hostdata);
529 starget->hostdata = NULL;
538 mptfc_target_alloc(struct scsi_target *starget)
548 starget->hostdata = vtarget;
551 rport = starget_to_rport(starget);
557 ri->starget = starget;
563 starget->hostdata = NULL;
610 struct scsi_target *starget;
614 starget = scsi_target(sdev);
615 rport = starget_to_rport(starget);
632 vtarget = starget->hostdata;
1094 struct scsi_target *starget;
1103 starget = ri->starget;
1104 if (starget) {
1105 vtarget = starget->hostdata;
1129 struct scsi_target *starget;
1158 starget = ri->starget;
1159 if (starget) {
1160 vtarget = starget->hostdata;