Lines Matching refs:cmnd
155 static int schedule_resp(struct scsi_cmnd * cmnd,
160 static int stop_queued_cmnd(struct scsi_cmnd * cmnd);
171 unsigned char *cmd = (unsigned char *) SCpnt->cmnd; in scsi_debug_queuecommand()
956 static int stop_queued_cmnd(struct scsi_cmnd * cmnd) in stop_queued_cmnd() argument
965 if (sqcp->in_use && (cmnd == sqcp->a_cmnd)) { in stop_queued_cmnd()
1012 static int schedule_resp(struct scsi_cmnd * cmnd, in schedule_resp() argument
1020 for (k = 0, num = cmnd->cmd_len; k < num; ++k) in schedule_resp()
1021 printk("%02x ", (int)cmnd->cmnd[k]); in schedule_resp()
1024 if (cmnd && devip) { in schedule_resp()
1027 memcpy(cmnd->sense_buffer, devip->sense_buff, in schedule_resp()
1032 if (cmnd) in schedule_resp()
1033 cmnd->result = scsi_result; in schedule_resp()
1035 done(cmnd); in schedule_resp()
1054 sqcp->a_cmnd = cmnd; in schedule_resp()