Lines Matching refs:scsi_target
215 static struct scsi_device *scsi_alloc_sdev(struct scsi_target *starget,
307 static void scsi_target_destroy(struct scsi_target *starget)
327 struct scsi_target *starget = to_scsi_target(dev);
334 .name = "scsi_target",
344 static struct scsi_target *__scsi_find_target(struct device *parent,
347 struct scsi_target *starget, *found_starget = NULL;
376 struct scsi_target *starget
377 = container_of(kref, struct scsi_target, reap_ref);
392 static void scsi_target_reap_ref_put(struct scsi_target *starget)
409 static struct scsi_target *scsi_alloc_target(struct device *parent,
415 const int size = sizeof(struct scsi_target)
417 struct scsi_target *starget;
418 struct scsi_target *found_target;
507 void scsi_target_reap(struct scsi_target *starget)
918 scsi_target(sdev)->single_lun = 1;
1043 static int scsi_probe_and_add_lun(struct scsi_target *starget,
1196 static void scsi_sequential_lun_scan(struct scsi_target *starget,
1288 static int scsi_report_lun_scan(struct scsi_target *starget, blist_flags_t bflags,
1464 struct scsi_target *starget;
1536 struct scsi_target *starget;
1898 struct scsi_target *starget;