taglinefilesource code
host335kernel/blk_drv/scsi/7000fasst.cstatic void internal_done(int host, int errcode)
host320kernel/blk_drv/scsi/aha1542.cstatic void internal_done(int host, int errcode)
host26kernel/blk_drv/scsi/hosts.hint host;
host39kernel/blk_drv/scsi/scsi.cstatic void scsi_done (int host, int result);
host109kernel/blk_drv/scsi/scsi.cstatic void scan_scsis_done (int host, int result)
host113kernel/blk_drv/scsi/scsi.cprintk ("scan_scsis_done(%d, %06x)\n\r", host, result);
host328kernel/blk_drv/scsi/scsi.cstatic void scsi_times_out (int host)
host331kernel/blk_drv/scsi/scsi.cswitch (internal_timeout[host] & (IN_ABORT | IN_RESET))
host336kernel/blk_drv/scsi/scsi.chost);
host338kernel/blk_drv/scsi/scsi.cif (!scsi_abort  (host, DID_TIME_OUT))
host342kernel/blk_drv/scsi/scsi.chost);
host343kernel/blk_drv/scsi/scsi.cif (!scsi_reset (host)) 
host347kernel/blk_drv/scsi/scsi.cprintk("Unable to reset scsi host %d\r\n",host);
host359kernel/blk_drv/scsi/scsi.cstatic void internal_cmnd (int host,  unsigned char target, const void *cmnd , 
host368kernel/blk_drv/scsi/scsi.cif ((host < 0) ||  (host > MAX_SCSI_HOSTS))
host376kernel/blk_drv/scsi/scsi.ctemp = last_reset[host];
host379kernel/blk_drv/scsi/scsi.chost_timeout[host] = last_cmnd[host].timeout_per_command;
host388kernel/blk_drv/scsi/scsi.c"bufflen = %d, done = %08x)\n", host, target, cmnd, buffer, bufflen, done);
host392kernel/blk_drv/scsi/scsi.cif (scsi_hosts[host].can_queue)
host396kernel/blk_drv/scsi/scsi.cscsi_hosts[host].queuecommand);
host398kernel/blk_drv/scsi/scsi.cscsi_hosts[host].queuecommand (target, cmnd, buffer, bufflen, 
host405kernel/blk_drv/scsi/scsi.cprintk("command() :  routine at %08x\n", scsi_hosts[host].command);
host407kernel/blk_drv/scsi/scsi.ctemp=scsi_hosts[host].command (target, cmnd, buffer, bufflen);
host412kernel/blk_drv/scsi/scsi.cprintk("done(host = %d, result = %04x) : routine at %08x\n", host, temp, done);
host414kernel/blk_drv/scsi/scsi.cdone(host, temp);
host421kernel/blk_drv/scsi/scsi.cstatic void scsi_request_sense (int host, unsigned char target, 
host425kernel/blk_drv/scsi/scsi.chost_timeout[host] = SENSE_TIMEOUT;
host427kernel/blk_drv/scsi/scsi.clast_cmnd[host].flags |= WAS_SENSE;
host430kernel/blk_drv/scsi/scsi.clast_cmnd[host].sense_cmnd[1] = lun << 5;  
host432kernel/blk_drv/scsi/scsi.cinternal_cmnd (host, target, (void *) last_cmnd[host].sense_cmnd, 
host433kernel/blk_drv/scsi/scsi.c(void *) last_cmnd[host].sense_buffer, SENSE_LENGTH,
host448kernel/blk_drv/scsi/scsi.cvoid scsi_do_cmd (int host,  unsigned char target, const void *cmnd , 
host459kernel/blk_drv/scsi/scsi.c"command : " , host, target, buffer, bufflen, done, timeout, retries);
host465kernel/blk_drv/scsi/scsi.cif ((host  >= MAX_SCSI_HOSTS) || !scsi_hosts[host].present)
host467kernel/blk_drv/scsi/scsi.cprintk ("Invalid or not present host number. %d\n", host);
host482kernel/blk_drv/scsi/scsi.cif (host_busy[host])
host486kernel/blk_drv/scsi/scsi.cprintk("Host %d is busy.\n", host);
host488kernel/blk_drv/scsi/scsi.cwhile (host_busy[host]);
host490kernel/blk_drv/scsi/scsi.cprintk("Host %d is no longer busy.\n", host);
host495kernel/blk_drv/scsi/scsi.chost_busy[host] = 1;
host510kernel/blk_drv/scsi/scsi.cmemcpy ((void *) last_cmnd[host].cmnd , (void *) cmnd, 10);
host511kernel/blk_drv/scsi/scsi.clast_cmnd[host].host = host;
host512kernel/blk_drv/scsi/scsi.clast_cmnd[host].target = target;
host513kernel/blk_drv/scsi/scsi.clast_cmnd[host].lun = (last_cmnd[host].cmnd[1] >> 5);
host514kernel/blk_drv/scsi/scsi.clast_cmnd[host].bufflen = bufflen;
host515kernel/blk_drv/scsi/scsi.clast_cmnd[host].buffer = buffer;
host516kernel/blk_drv/scsi/scsi.clast_cmnd[host].sense_buffer = sense_buffer;
host517kernel/blk_drv/scsi/scsi.clast_cmnd[host].flags=0;
host518kernel/blk_drv/scsi/scsi.clast_cmnd[host].retries=0;
host519kernel/blk_drv/scsi/scsi.clast_cmnd[host].allowed=retries;
host520kernel/blk_drv/scsi/scsi.clast_cmnd[host].done = done;
host521kernel/blk_drv/scsi/scsi.clast_cmnd[host].timeout_per_command = timeout;
host525kernel/blk_drv/scsi/scsi.cinternal_timeout[host] = 0;
host526kernel/blk_drv/scsi/scsi.cinternal_cmnd (host,  target, cmnd , buffer, bufflen, scsi_done);
host540kernel/blk_drv/scsi/scsi.cstatic void reset (int host)
host543kernel/blk_drv/scsi/scsi.cprintk("reset(%d)\n", host);
host546kernel/blk_drv/scsi/scsi.clast_cmnd[host].flags |= (WAS_RESET | IS_RESETTING);
host547kernel/blk_drv/scsi/scsi.cscsi_reset(host);
host553kernel/blk_drv/scsi/scsi.cscsi_request_sense (host, last_cmnd[host].target, last_cmnd[host].lun);
host558kernel/blk_drv/scsi/scsi.cstatic int check_sense (int host)
host590kernel/blk_drv/scsi/scsi.cstatic void scsi_done (int host, int result)
host596kernel/blk_drv/scsi/scsi.coldto = host_timeout[host];
host597kernel/blk_drv/scsi/scsi.chost_timeout[host] = 0;
host605kernel/blk_drv/scsi/scsi.cprintk("In scsi_done(host = %d, result = %06x)\n", host, result);
host607kernel/blk_drv/scsi/scsi.cif (host > MAX_SCSI_HOSTS || host  < 0) 
host609kernel/blk_drv/scsi/scsi.chost_timeout[host] = 0;
host617kernel/blk_drv/scsi/scsi.cif (last_cmnd[host].flags & IS_RESETTING)
host619kernel/blk_drv/scsi/scsi.clast_cmnd[host].flags &= ~IS_RESETTING;
host624kernel/blk_drv/scsi/scsi.cif (status_byte(result) && (last_cmnd[host].flags & 
host627kernel/blk_drv/scsi/scsi.clast_cmnd[host].flags &= ~WAS_SENSE;
host629kernel/blk_drv/scsi/scsi.cinternal_timeout[host] &= ~SENSE_TIMEOUT;
host632kernel/blk_drv/scsi/scsi.cif (!(last_cmnd[host].flags & WAS_RESET)) 
host633kernel/blk_drv/scsi/scsi.creset(host);
host646kernel/blk_drv/scsi/scsi.cif (last_cmnd[host].flags & WAS_SENSE)
host652kernel/blk_drv/scsi/scsi.clast_cmnd[host].flags &= ~WAS_SENSE;
host654kernel/blk_drv/scsi/scsi.cinternal_timeout[host] &= ~SENSE_TIMEOUT;
host657kernel/blk_drv/scsi/scsi.cswitch (checked = check_sense(host))
host664kernel/blk_drv/scsi/scsi.chost_timeout[host] = oldto;
host707kernel/blk_drv/scsi/scsi.cscsi_request_sense (host, last_cmnd[host].target, last_cmnd[host].lun);
host722kernel/blk_drv/scsi/scsi.chost_timeout[host] = oldto;
host728kernel/blk_drv/scsi/scsi.creset(host);
host748kernel/blk_drv/scsi/scsi.cif (last_cmnd[host].flags & WAS_TIMEDOUT)  
host760kernel/blk_drv/scsi/scsi.clast_cmnd[host].flags  |= WAS_TIMEDOUT;
host794kernel/blk_drv/scsi/scsi.clast_cmnd[host].allowed, last_cmnd[host].retries);
host797kernel/blk_drv/scsi/scsi.cif ((++last_cmnd[host].retries) < last_cmnd[host].allowed)
host799kernel/blk_drv/scsi/scsi.cif ((last_cmnd[host].retries >= (last_cmnd[host].allowed >> 1)) 
host800kernel/blk_drv/scsi/scsi.c&& !(last_cmnd[host].flags & WAS_RESET))
host801kernel/blk_drv/scsi/scsi.creset(host);
host813kernel/blk_drv/scsi/scsi.cif (last_cmnd[host].flags & WAS_SENSE)      
host814kernel/blk_drv/scsi/scsi.cscsi_request_sense (host, last_cmnd[host].target,  
host815kernel/blk_drv/scsi/scsi.clast_cmnd[host].lun);   
host817kernel/blk_drv/scsi/scsi.cinternal_cmnd (host, last_cmnd[host].target,  
host818kernel/blk_drv/scsi/scsi.clast_cmnd[host].cmnd,  
host819kernel/blk_drv/scsi/scsi.clast_cmnd[host].buffer,   
host820kernel/blk_drv/scsi/scsi.clast_cmnd[host].bufflen, scsi_done);      
host829kernel/blk_drv/scsi/scsi.cprintk("Calling done function - at address %08x\n", last_cmnd[host].done);
host831kernel/blk_drv/scsi/scsi.chost_busy[host] = 0;
host832kernel/blk_drv/scsi/scsi.clast_cmnd[host].done (host, (result | ((exit & 0xff) << 24)));
host858kernel/blk_drv/scsi/scsi.cint scsi_abort (int host, int why)
host865kernel/blk_drv/scsi/scsi.cif (internal_timeout[host] & IN_ABORT) 
host868kernel/blk_drv/scsi/scsi.cwhile (internal_timeout[host] & IN_ABORT);
host872kernel/blk_drv/scsi/scsi.coldto = host_timeout[host];
host873kernel/blk_drv/scsi/scsi.cinternal_timeout[host] |= IN_ABORT;
host874kernel/blk_drv/scsi/scsi.chost_timeout[host] = ABORT_TIMEOUT;  
host879kernel/blk_drv/scsi/scsi.cif (!host_busy[host] || !scsi_hosts[host].abort(why))
host885kernel/blk_drv/scsi/scsi.cinternal_timeout[host] &= ~IN_ABORT;
host886kernel/blk_drv/scsi/scsi.chost_timeout[host]=oldto;
host894kernel/blk_drv/scsi/scsi.cint scsi_reset (int host)
host900kernel/blk_drv/scsi/scsi.cif (internal_timeout[host] & IN_RESET)
host903kernel/blk_drv/scsi/scsi.cwhile (internal_timeout[host] & IN_RESET);
host907kernel/blk_drv/scsi/scsi.coldto = host_timeout[host];  
host908kernel/blk_drv/scsi/scsi.chost_timeout[host] = RESET_TIMEOUT;  
host910kernel/blk_drv/scsi/scsi.cinternal_timeout[host] |= IN_RESET;
host912kernel/blk_drv/scsi/scsi.cif (host_busy[host])
host915kernel/blk_drv/scsi/scsi.cif (!(last_cmnd[host].flags & IS_RESETTING) && !(internal_timeout[host] & IN_ABORT))
host916kernel/blk_drv/scsi/scsi.cscsi_abort(host, DID_RESET);
host918kernel/blk_drv/scsi/scsi.ctemp = scsi_hosts[host].reset();      
host922kernel/blk_drv/scsi/scsi.chost_busy[host]=1;
host925kernel/blk_drv/scsi/scsi.ctemp = scsi_hosts[host].reset();
host926kernel/blk_drv/scsi/scsi.clast_reset[host] = jiffies;
host927kernel/blk_drv/scsi/scsi.chost_busy[host]=0;
host931kernel/blk_drv/scsi/scsi.chost_timeout[host] = oldto;    
host933kernel/blk_drv/scsi/scsi.cinternal_timeout[host] &= ~IN_RESET;
host247kernel/blk_drv/scsi/scsi.hextern int scsi_abort (int host, int code);
host261kernel/blk_drv/scsi/scsi.hextern void scsi_do_cmd (int host,  unsigned char target, const void *cmnd ,
host265kernel/blk_drv/scsi/scsi.hextern int scsi_reset (int host);
host68kernel/blk_drv/scsi/scsi_ioctl.cstatic void scsi_ioctl_done (int host, int result)
host70kernel/blk_drv/scsi/scsi_ioctl.cthe_result[host] = result;  
host79kernel/blk_drv/scsi/scsi_ioctl.cint inlen, outlen, cmdlen, temp, host;
host92kernel/blk_drv/scsi/scsi_ioctl.chost = dev->host_no;
host97kernel/blk_drv/scsi/scsi_ioctl.cif (the_result[host]) {
host99kernel/blk_drv/scsi/scsi_ioctl.cwhile(the_result[host])
host102kernel/blk_drv/scsi/scsi_ioctl.cthe_result[host]=-1;
host108kernel/blk_drv/scsi/scsi_ioctl.cscsi_do_cmd(host,  dev->id,  cmd,  buf,  ((outlen > MAX_BUF) ? 
host112kernel/blk_drv/scsi/scsi_ioctl.cwhile (the_result[host] == -1)
host114kernel/blk_drv/scsi/scsi_ioctl.ctemp = the_result[host];
host115kernel/blk_drv/scsi/scsi_ioctl.cthe_result[host] = 0;
host96kernel/blk_drv/scsi/sd.cstatic void rw_intr (int host, int result)
host98kernel/blk_drv/scsi/sd.cif (HOST != host)
host102kernel/blk_drv/scsi/sd.cprintk("sd%d : rw_intr(%d, %x)\n", MINOR(CURRENT->dev), host, result);
host310kernel/blk_drv/scsi/sd.cstatic void sd_init_done (int host, int result)