Lines Matching defs:SCarg
1193 static int u14_34f_eh_abort(struct scsi_cmnd *SCarg) {
1196 j = ((struct hostdata *) SCarg->device->host->hostdata)->board_number;
1198 if (SCarg->host_scribble == NULL) {
1199 scmd_printk(KERN_INFO, SCarg, "abort, pid %ld inactive.\n",
1200 SCarg->serial_number);
1204 i = *(unsigned int *)SCarg->host_scribble;
1205 scmd_printk(KERN_INFO, SCarg, "abort, mbox %d, pid %ld.\n",
1206 i, SCarg->serial_number);
1209 panic("%s: abort, invalid SCarg->host_scribble.\n", BN(j));
1224 if (SCarg != HD(j)->cp[i].SCpnt)
1225 panic("%s: abort, mbox %d, SCarg %p, cp SCpnt %p.\n",
1226 BN(j), i, SCarg, HD(j)->cp[i].SCpnt);
1246 SCarg->result = DID_ABORT << 16;
1247 SCarg->host_scribble = NULL;
1250 BN(j), i, SCarg->serial_number);
1251 SCarg->scsi_done(SCarg);
1258 static int u14_34f_eh_host_reset(struct scsi_cmnd *SCarg) {
1264 j = ((struct hostdata *) SCarg->device->host->hostdata)->board_number;
1265 scmd_printk(KERN_INFO, SCarg, "reset, enter, pid %ld.\n", SCarg->serial_number);
1269 if (SCarg->host_scribble == NULL)
1270 printk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->serial_number);
1326 if (SCpnt == SCarg) arg_done = TRUE;
1390 if (arg_done) printk("%s: reset, exit, pid %ld done.\n", BN(j), SCarg->serial_number);