Lines Matching defs:scsi_target
307 struct scsi_target { struct
308 struct scsi_device *starget_sdev_user;
309 struct list_head siblings;
310 struct list_head devices;
311 struct device dev;
312 struct kref reap_ref; /* last put renders target invisible */
313 unsigned int channel;
314 unsigned int id; /* target id ... replace
316 unsigned int create:1; /* signal that it needs to be added */
340 enum scsi_target_state state; argument
346 #define to_scsi_target(d) container_of(d, struct scsi_target, dev) argument
347 static inline struct scsi_target *scsi_target(struct scsi_device *sdev) in scsi_target() function