SCSI_ADD_TIMER
Section: ()
Updated: 06 October 2005
Index
Return to Main Contents
NAME
scsi_add_timer - Start timeout timer for a single scsi command.
SYNOPSIS
"SYNOPSIS"
void scsi_add_timer (struct scsi_cmnd * scmd, int timeout, void (*complete)
struct scsi_cmnd *);
ARGUMENTS
- scmd
-
scsi command that is about to start running.
- timeout
-
amount of time to allow this command to run.
- complete
-
timeout function to call if timer isn't canceled.
NOTES
This should be turned into an inline function. Each scsi command
has its own timer, and as it is added to the queue, we set up the
timer. When the command completes, we cancel the timer.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- NOTES
-
This document was created by
man2html,
using the manual pages.
Time: 06:21:07 GMT, October 06, 2005