Lines Matching refs:MAX_HDRIVES
1926 if (hdrive >= MAX_HDRIVES) in gdth_analyse_hdrive()
2053 (b == ha->virt_bus && t < MAX_HDRIVES && ha->hdr[t].lock)) in gdth_next()
2145 } else if (t >= MAX_HDRIVES || !ha->hdr[t].present || l != 0) { in gdth_next()
3907 (b == ha->virt_bus && t < MAX_HDRIVES && ha->hdr[t].lock)) { in gdth_timed_out()
3940 for (i = 0; i < MAX_HDRIVES; ++i) { in gdth_eh_bus_reset()
4107 for (i = 0; i < ldrv.drive_cnt && i < MAX_HDRIVES; ++i) { in ioc_lockdrv()
4109 if (j >= MAX_HDRIVES || !ha->hdr[j].present) in ioc_lockdrv()
4134 res.number >= MAX_HDRIVES) in ioc_resetdrv()
4308 for (i = 0; i < MAX_HDRIVES; ++i) { in ioc_hdrlist()
4382 for (; i < hdr_cnt && i < MAX_HDRIVES; ++i) { in ioc_rescan()
4640 for (i = 0; i < MAX_HDRIVES; ++i) { in gdth_flush()
4763 ha->tid_cnt = MAX_HDRIVES; in gdth_isa_probe_one()
4894 ha->tid_cnt = MAX_HDRIVES; in gdth_eisa_probe_one()
5022 ha->tid_cnt = pdev->device >= 0x200 ? MAXID : MAX_HDRIVES; in gdth_pci_probe_one()