In older versions of the kernel (2.6.25.8), it was in drivers/scsi/scsi_error.c in the functions scsi_add_timer and scsi_delete_timer: http://www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/drivers/scsi/scsi_error.c?v=2.6.25.8
I can't seem to find anything similar in scsi_error.c in the 2.6.33.20 kernel, I've looked in other files (using grep and searching for time) and see mentions of timeouts, but nothing that looks similar like where you're setting the timeout value for the timer.
Any help is greatly appreciated, been banging my head on this for a while.
Thanks!