Lines Matching refs:ndevices
1196 for (i = 0; i < h->ndevices; i++) { in hpsa_find_target_lun()
1272 int n = h->ndevices; in hpsa_scsi_add_entry()
1332 h->ndevices++; in hpsa_scsi_add_entry()
1438 for (i = entry; i < h->ndevices-1; i++) in hpsa_scsi_remove_entry()
1440 h->ndevices--; in hpsa_scsi_remove_entry()
1464 for (i = 0; i < h->ndevices; i++) { in fixup_botched_add()
1466 for (j = i; j < h->ndevices-1; j++) in fixup_botched_add()
1468 h->ndevices--; in fixup_botched_add()
1685 struct hpsa_scsi_dev_t *dev[], int ndevices, in hpsa_figure_phys_disk_ptrs() argument
1710 for (j = 0; j < ndevices; j++) { in hpsa_figure_phys_disk_ptrs()
1761 struct hpsa_scsi_dev_t *dev[], int ndevices) in hpsa_update_log_drive_phys_drive_ptrs() argument
1765 for (i = 0; i < ndevices; i++) { in hpsa_update_log_drive_phys_drive_ptrs()
1794 hpsa_figure_phys_disk_ptrs(h, dev, ndevices, dev[i]); in hpsa_update_log_drive_phys_drive_ptrs()
1950 while (i < h->ndevices) { in adjust_hpsa_scsi_table()
1991 h->ndevices, &entry); in adjust_hpsa_scsi_table()
2005 hpsa_update_log_drive_phys_drive_ptrs(h, h->dev, h->ndevices); in adjust_hpsa_scsi_table()
2015 for (i = 0; i < h->ndevices; i++) { in adjust_hpsa_scsi_table()
2086 for (i = 0; i < h->ndevices; i++) { in lookup_hpsa_scsi_dev()
8310 for (i = 0; i < h->ndevices; i++) { in hpsa_set_ioaccel_status()
8711 h->ndevices = 0; in hpsa_init_one()
8991 for (i = 0; i < h->ndevices; i++) { in hpsa_free_device_info()
9684 for (i = 0; i < h->ndevices; i++) { in hpsa_find_device_by_sas_rphy()