Lines Matching defs:sdev
160 struct scsi_device *sdev = cmd->device; in scsi_finish_command() local
205 int scsi_device_max_queue_depth(struct scsi_device *sdev) in scsi_device_max_queue_depth()
217 int scsi_change_queue_depth(struct scsi_device *sdev, int depth) in scsi_change_queue_depth()
254 int scsi_track_queue_full(struct scsi_device *sdev, int depth) in scsi_track_queue_full()
292 static int scsi_vpd_inquiry(struct scsi_device *sdev, unsigned char *buffer, in scsi_vpd_inquiry()
336 static int scsi_get_vpd_size(struct scsi_device *sdev, u8 page) in scsi_get_vpd_size()
397 int scsi_get_vpd_page(struct scsi_device *sdev, u8 page, unsigned char *buf, in scsi_get_vpd_page()
435 static struct scsi_vpd *scsi_get_vpd_buf(struct scsi_device *sdev, u8 page) in scsi_get_vpd_buf()
472 static void scsi_update_vpd_page(struct scsi_device *sdev, u8 page, in scsi_update_vpd_page()
499 void scsi_attach_vpd(struct scsi_device *sdev) in scsi_attach_vpd()
559 int scsi_report_opcode(struct scsi_device *sdev, unsigned char *buffer, in scsi_report_opcode()
614 static bool scsi_cdl_check_cmd(struct scsi_device *sdev, u8 opcode, u16 sa, in scsi_cdl_check_cmd()
650 void scsi_cdl_check(struct scsi_device *sdev) in scsi_cdl_check()
708 int scsi_cdl_enable(struct scsi_device *sdev, bool enable) in scsi_cdl_enable()
787 int scsi_device_get(struct scsi_device *sdev) in scsi_device_get()
812 void scsi_device_put(struct scsi_device *sdev) in scsi_device_put()
860 struct scsi_device *sdev; in starget_for_each_device() local
888 struct scsi_device *sdev; in __starget_for_each_device() local
916 struct scsi_device *sdev; in __scsi_device_lookup_by_target() local
941 struct scsi_device *sdev; in scsi_device_lookup_by_target() local
974 struct scsi_device *sdev; in __scsi_device_lookup() local
1002 struct scsi_device *sdev; in scsi_device_lookup() local