Home
last modified time | relevance | path

Searched refs:SCint (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dseagate.c599 static Scsi_Cmnd *SCint = NULL; variable
667 if (!SCint) in seagate_reconnect_intr()
669 SCtmp = SCint; in seagate_reconnect_intr()
670 SCint = NULL; in seagate_reconnect_intr()
704 SCint = SCpnt; in seagate_st0x_queue_command()
732 internal_command (SCint->target, SCint->lun, SCint->cmnd, in seagate_st0x_queue_command()
733 SCint->request_buffer, in seagate_st0x_queue_command()
734 SCint->request_bufflen, reconnect); in seagate_st0x_queue_command()
737 SCtmp = SCint; in seagate_st0x_queue_command()
738 SCint = NULL; in seagate_st0x_queue_command()
[all …]
Daha1542.c161 Scsi_Cmnd *SCint[AHA1542_MAILBOXES]; member
533 SCtmp = HOSTDATA(shost)->SCint[mbo]; in aha1542_intr_handle()
588 HOSTDATA(shost)->SCint[mbo] = NULL; /* This effectively frees up the mailbox slot, as in aha1542_intr_handle()
662 if (mb[mbo].status == 0 && HOSTDATA(SCpnt->host)->SCint[mbo] == NULL) in aha1542_queuecommand()
669 if (mb[mbo].status || HOSTDATA(SCpnt->host)->SCint[mbo]) in aha1542_queuecommand()
672 HOSTDATA(SCpnt->host)->SCint[mbo] = SCpnt; /* This will effectively prevent someone else from in aha1542_queuecommand()
1273 memset(HOSTDATA(shpnt)->SCint, 0, sizeof(HOSTDATA(shpnt)->SCint)); in aha1542_detect()
1329 if (HOSTDATA(shost)->SCint[i] && in aha1542_restart()
1330 !(HOSTDATA(shost)->SCint[i]->device->soft_reset)) { in aha1542_restart()
1383 if (mb[mbo].status == 0 && HOSTDATA(SCpnt->host)->SCint[mbo] == NULL) in aha1542_dev_reset()
[all …]
Dultrastor.c198 Scsi_Cmnd *SCint; member
742 my_mscp->SCint = SCpnt; in ultrastor_queuecommand()
939 if (config.mscp[mscp_index].SCint != SCpnt) in ultrastor_abort()
941 config.mscp[mscp_index].SCint, SCpnt); in ultrastor_abort()
943 if (config.mscp[mscp_index].SCint == 0) in ultrastor_abort()
946 if (config.mscp[mscp_index].SCint != SCpnt) panic("Bad abort"); in ultrastor_abort()
947 config.mscp[mscp_index].SCint = 0; in ultrastor_abort()
982 if (config.mscp_busy && config.mscp->done && config.mscp->SCint) in ultrastor_reset()
984 config.mscp->SCint->result = DID_RESET << 16; in ultrastor_reset()
985 config.mscp->done(config.mscp->SCint); in ultrastor_reset()
[all …]
DChangeLog1967 with SCint to fix race condition. Use recursion_depth to keep track
1984 Set SCint=NULL when we are done, to remove race condition.