Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/scsi/
Daha1740.c343 int ecbno, nseg; in aha1740_queuecommand_lck() local
368 ecbno = host->last_ecb_used + 1; /* An optimization */ in aha1740_queuecommand_lck()
369 if (ecbno >= AHA1740_ECBS) in aha1740_queuecommand_lck()
370 ecbno = 0; in aha1740_queuecommand_lck()
372 if (!host->ecb[ecbno].cmdw) in aha1740_queuecommand_lck()
374 ecbno++; in aha1740_queuecommand_lck()
375 if (ecbno >= AHA1740_ECBS) in aha1740_queuecommand_lck()
376 ecbno = 0; in aha1740_queuecommand_lck()
377 } while (ecbno != host->last_ecb_used); in aha1740_queuecommand_lck()
379 if (host->ecb[ecbno].cmdw) in aha1740_queuecommand_lck()
[all …]