Lines Matching refs:scsi_device
209 static void scsi_unlock_floptical(struct scsi_device *sdev, in scsi_unlock_floptical()
239 static struct scsi_device *scsi_alloc_sdev(struct scsi_target *starget, in scsi_alloc_sdev()
242 struct scsi_device *sdev; in scsi_alloc_sdev()
554 static int scsi_probe_lun(struct scsi_device *sdev, unsigned char *inq_result, in scsi_probe_lun()
745 static int scsi_add_lun(struct scsi_device *sdev, unsigned char *inq_result, in scsi_add_lun()
954 static inline void scsi_destroy_sdev(struct scsi_device *sdev) in scsi_destroy_sdev()
1010 struct scsi_device **sdevp, int rescan, in scsi_probe_and_add_lun()
1013 struct scsi_device *sdev; in scsi_probe_and_add_lun()
1323 struct scsi_device *sdev; in scsi_report_lun_scan()
1505 struct scsi_device *__scsi_add_device(struct Scsi_Host *shost, uint channel, in __scsi_add_device()
1508 struct scsi_device *sdev = ERR_PTR(-ENODEV); in __scsi_add_device()
1536 struct scsi_device *sdev = in scsi_add_device()
1707 struct scsi_device *sdev; in scsi_sysfs_add_devices()
1867 struct scsi_device *sdev; in scsi_forget_host()
1902 struct scsi_device *scsi_get_host_dev(struct Scsi_Host *shost) in scsi_get_host_dev()
1904 struct scsi_device *sdev = NULL; in scsi_get_host_dev()
1940 void scsi_free_host_dev(struct scsi_device *sdev) in scsi_free_host_dev()