Lines Matching refs:scsi_target
278 static struct scsi_device *scsi_alloc_sdev(struct scsi_target *starget,
389 static void scsi_target_destroy(struct scsi_target *starget)
409 struct scsi_target *starget = to_scsi_target(dev);
416 .name = "scsi_target",
426 static struct scsi_target *__scsi_find_target(struct device *parent,
429 struct scsi_target *starget, *found_starget = NULL;
458 struct scsi_target *starget
459 = container_of(kref, struct scsi_target, reap_ref);
474 static void scsi_target_reap_ref_put(struct scsi_target *starget)
491 static struct scsi_target *scsi_alloc_target(struct device *parent,
497 const int size = sizeof(struct scsi_target)
499 struct scsi_target *starget;
500 struct scsi_target *found_target;
590 void scsi_target_reap(struct scsi_target *starget)
1013 scsi_target(sdev)->single_lun = 1;
1154 static int scsi_probe_and_add_lun(struct scsi_target *starget,
1306 static void scsi_sequential_lun_scan(struct scsi_target *starget,
1398 static int scsi_report_lun_scan(struct scsi_target *starget, blist_flags_t bflags,
1577 struct scsi_target *starget;
1668 struct scsi_target *starget;