Lines Matching refs:MAX_HDRIVES
1477 if (hdrive >= MAX_HDRIVES) in gdth_analyse_hdrive()
1604 (b == ha->virt_bus && t < MAX_HDRIVES && ha->hdr[t].lock)) in gdth_next()
1696 } else if (t >= MAX_HDRIVES || !ha->hdr[t].present || l != 0) { in gdth_next()
3220 (b == ha->virt_bus && t < MAX_HDRIVES && ha->hdr[t].lock)) { in gdth_timed_out()
3253 for (i = 0; i < MAX_HDRIVES; ++i) { in gdth_eh_bus_reset()
3420 for (i = 0; i < ldrv.drive_cnt && i < MAX_HDRIVES; ++i) { in ioc_lockdrv()
3422 if (j >= MAX_HDRIVES || !ha->hdr[j].present) in ioc_lockdrv()
3447 res.number >= MAX_HDRIVES) in ioc_resetdrv()
3638 for (i = 0; i < MAX_HDRIVES; ++i) { in ioc_hdrlist()
3712 for (; i < hdr_cnt && i < MAX_HDRIVES; ++i) { in ioc_rescan()
3965 for (i = 0; i < MAX_HDRIVES; ++i) { in gdth_flush()
4071 ha->tid_cnt = pdev->device >= 0x200 ? MAXID : MAX_HDRIVES; in gdth_pci_probe_one()