Lines Matching defs:scmd
100 int scsi_eh_scmd_add(struct scsi_cmnd *scmd, int eh_flag) in scsi_eh_scmd_add()
136 struct scsi_cmnd *scmd = req->special; in scsi_times_out() local
192 struct scsi_cmnd *scmd; in scsi_eh_prt_fail_stats() local
239 static int scsi_check_sense(struct scsi_cmnd *scmd) in scsi_check_sense()
462 static int scsi_eh_completed_normally(struct scsi_cmnd *scmd) in scsi_eh_completed_normally()
526 static void scsi_eh_done(struct scsi_cmnd *scmd) in scsi_eh_done()
543 static int scsi_try_host_reset(struct scsi_cmnd *scmd) in scsi_try_host_reset()
573 static int scsi_try_bus_reset(struct scsi_cmnd *scmd) in scsi_try_bus_reset()
615 static int scsi_try_target_reset(struct scsi_cmnd *scmd) in scsi_try_target_reset()
646 static int scsi_try_bus_device_reset(struct scsi_cmnd *scmd) in scsi_try_bus_device_reset()
660 static int scsi_try_to_abort_cmd(struct scsi_host_template *hostt, struct scsi_cmnd *scmd) in scsi_try_to_abort_cmd()
668 static void scsi_abort_eh_cmnd(struct scsi_cmnd *scmd) in scsi_abort_eh_cmnd()
691 void scsi_eh_prep_cmnd(struct scsi_cmnd *scmd, struct scsi_eh_save *ses, in scsi_eh_prep_cmnd()
759 void scsi_eh_restore_cmnd(struct scsi_cmnd* scmd, struct scsi_eh_save *ses) in scsi_eh_restore_cmnd()
789 static int scsi_send_eh_cmnd(struct scsi_cmnd *scmd, unsigned char *cmnd, in scsi_send_eh_cmnd()
882 static int scsi_request_sense(struct scsi_cmnd *scmd) in scsi_request_sense()
899 void scsi_eh_finish_cmd(struct scsi_cmnd *scmd, struct list_head *done_q) in scsi_eh_finish_cmd()
930 struct scsi_cmnd *scmd, *next; in scsi_eh_get_sense() local
979 static int scsi_eh_tur(struct scsi_cmnd *scmd) in scsi_eh_tur()
1019 struct scsi_cmnd *scmd, *next; in scsi_eh_test_devices() local
1059 struct scsi_cmnd *scmd, *next; in scsi_eh_abort_cmds() local
1094 static int scsi_eh_try_stu(struct scsi_cmnd *scmd) in scsi_eh_try_stu()
1125 struct scsi_cmnd *scmd, *stu_scmd, *next; in scsi_eh_stu() local
1179 struct scsi_cmnd *scmd, *bdr_scmd, *next; in scsi_eh_bus_device_reset() local
1240 struct scsi_cmnd *next, *scmd; in scsi_eh_target_reset() local
1283 struct scsi_cmnd *scmd, *chan_scmd, *next; in scsi_eh_bus_reset() local
1343 struct scsi_cmnd *scmd, *next; in scsi_eh_host_reset() local
1378 struct scsi_cmnd *scmd, *next; in scsi_eh_offline_sdevs() local
1398 int scsi_noretry_cmd(struct scsi_cmnd *scmd) in scsi_noretry_cmd()
1444 int scsi_decide_disposition(struct scsi_cmnd *scmd) in scsi_decide_disposition()
1761 struct scsi_cmnd *scmd, *next; in scsi_eh_flush_done_q() local
1970 scsi_reset_provider_done_command(struct scsi_cmnd *scmd) in scsi_reset_provider_done_command()
1990 struct scsi_cmnd *scmd; in scsi_reset_provider() local