Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/
Dgdth_ioctl.h30 #define MAX_HDRIVES MAX_LDRIVES /* max. host drive count */ macro
193 u16 drives[MAX_HDRIVES]; /* drives */
241 } hdr_list[MAX_HDRIVES]; /* index is host drive number */
Dgdth_proc.c59 for (i = 0; i < MAX_HDRIVES; ++i) { in gdth_set_asc_info()
490 phg->entries = MAX_HDRIVES; in gdth_show_info()
509 for (i = 0; i < MAX_HDRIVES; ++i) { in gdth_show_info()
Dgdth.c1477 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()
3297 (b == ha->virt_bus && t < MAX_HDRIVES && ha->hdr[t].lock)) { in gdth_timed_out()
3330 for (i = 0; i < MAX_HDRIVES; ++i) { in gdth_eh_bus_reset()
3497 for (i = 0; i < ldrv.drive_cnt && i < MAX_HDRIVES; ++i) { in ioc_lockdrv()
3499 if (j >= MAX_HDRIVES || !ha->hdr[j].present) in ioc_lockdrv()
3524 res.number >= MAX_HDRIVES) in ioc_resetdrv()
3715 for (i = 0; i < MAX_HDRIVES; ++i) { in ioc_hdrlist()
3789 for (; i < hdr_cnt && i < MAX_HDRIVES; ++i) { in ioc_rescan()
[all …]
Dgdth.h652 gdth_hentry_str entry[MAX_HDRIVES]; /* entries */