Lines Matching defs:SCarg
1842 static int eata2x_eh_abort(struct scsi_cmnd *SCarg)
1844 struct Scsi_Host *shost = SCarg->device->host;
1848 if (SCarg->host_scribble == NULL) {
1849 scmd_printk(KERN_INFO, SCarg,
1850 "abort, pid %ld inactive.\n", SCarg->serial_number);
1854 i = *(unsigned int *)SCarg->host_scribble;
1855 scmd_printk(KERN_WARNING, SCarg,
1856 "abort, mbox %d, pid %ld.\n", i, SCarg->serial_number);
1859 panic("%s: abort, invalid SCarg->host_scribble.\n", ha->board_name);
1874 if (SCarg != ha->cp[i].SCpnt)
1875 panic("%s: abort, mbox %d, SCarg %p, cp SCpnt %p.\n",
1876 ha->board_name, i, SCarg, ha->cp[i].SCpnt);
1897 SCarg->result = DID_ABORT << 16;
1898 SCarg->host_scribble = NULL;
1901 ha->board_name, i, SCarg->serial_number);
1902 SCarg->scsi_done(SCarg);
1909 static int eata2x_eh_host_reset(struct scsi_cmnd *SCarg)
1914 struct Scsi_Host *shost = SCarg->device->host;
1917 scmd_printk(KERN_INFO, SCarg,
1918 "reset, enter, pid %ld.\n", SCarg->serial_number);
1922 if (SCarg->host_scribble == NULL)
1923 printk("%s: reset, pid %ld inactive.\n", ha->board_name, SCarg->serial_number);
1982 if (SCpnt == SCarg)
2051 printk("%s: reset, exit, pid %ld done.\n", ha->board_name, SCarg->serial_number);