Lines Matching defs:scsi_target
251 struct scsi_target { struct
252 struct scsi_device *starget_sdev_user;
253 struct list_head siblings;
254 struct list_head devices;
255 struct device dev;
256 struct kref reap_ref; /* last put renders target invisible */
257 unsigned int channel;
258 unsigned int id; /* target id ... replace
260 unsigned int create:1; /* signal that it needs to be added */
284 enum scsi_target_state state; argument
290 #define to_scsi_target(d) container_of(d, struct scsi_target, dev) argument
291 static inline struct scsi_target *scsi_target(struct scsi_device *sdev) in scsi_target() function