Lines Matching refs:ndevices
869 for (i = 0; i < h->ndevices; i++) { in hpsa_find_target_lun()
890 int n = h->ndevices; in hpsa_scsi_add_entry()
948 h->ndevices++; in hpsa_scsi_add_entry()
1039 for (i = entry; i < h->ndevices-1; i++) in hpsa_scsi_remove_entry()
1041 h->ndevices--; in hpsa_scsi_remove_entry()
1067 for (i = 0; i < h->ndevices; i++) { in fixup_botched_add()
1069 for (j = i; j < h->ndevices-1; j++) in fixup_botched_add()
1071 h->ndevices--; in fixup_botched_add()
1268 struct hpsa_scsi_dev_t *dev[], int ndevices, in hpsa_figure_phys_disk_ptrs() argument
1291 for (j = 0; j < ndevices; j++) { in hpsa_figure_phys_disk_ptrs()
1329 struct hpsa_scsi_dev_t *dev[], int ndevices) in hpsa_update_log_drive_phys_drive_ptrs() argument
1333 for (i = 0; i < ndevices; i++) { in hpsa_update_log_drive_phys_drive_ptrs()
1338 hpsa_figure_phys_disk_ptrs(h, dev, ndevices, dev[i]); in hpsa_update_log_drive_phys_drive_ptrs()
1377 while (i < h->ndevices) { in adjust_hpsa_scsi_table()
1421 h->ndevices, &entry); in adjust_hpsa_scsi_table()
1507 for (i = 0; i < h->ndevices; i++) { in lookup_hpsa_scsi_dev()
6722 for (i = 0; i < h->ndevices; i++) in hpsa_ack_ctlr_events()
6941 h->ndevices = 0; in hpsa_init_one()
7088 for (i = 0; i < h->ndevices; i++) in hpsa_free_device_info()