Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/scsi/
Dadvansys.c8220 AscGetNumOfFreeQueue(ASC_DVC_VAR *asc_dvc, uchar target_ix, uchar n_qs) in AscGetNumOfFreeQueue() argument
8233 if (n_qs == 1) { in AscGetNumOfFreeQueue()
8240 if ((uint) (cur_used_qs + n_qs) <= (uint) asc_dvc->max_total_qng) { in AscGetNumOfFreeQueue()
8248 if (n_qs > 1) { in AscGetNumOfFreeQueue()
8249 if ((n_qs > asc_dvc->last_q_shortage) in AscGetNumOfFreeQueue()
8250 && (n_qs <= (asc_dvc->max_total_qng - ASC_MIN_FREE_Q))) { in AscGetNumOfFreeQueue()
8251 asc_dvc->last_q_shortage = n_qs; in AscGetNumOfFreeQueue()