Lines Matching refs:ndevices
1207 for (i = 0; i < h->ndevices; i++) { in hpsa_find_target_lun()
1283 int n = h->ndevices; in hpsa_scsi_add_entry()
1343 h->ndevices++; in hpsa_scsi_add_entry()
1449 for (i = entry; i < h->ndevices-1; i++) in hpsa_scsi_remove_entry()
1451 h->ndevices--; in hpsa_scsi_remove_entry()
1475 for (i = 0; i < h->ndevices; i++) { in fixup_botched_add()
1477 for (j = i; j < h->ndevices-1; j++) in fixup_botched_add()
1479 h->ndevices--; in fixup_botched_add()
1696 struct hpsa_scsi_dev_t *dev[], int ndevices, in hpsa_figure_phys_disk_ptrs() argument
1721 for (j = 0; j < ndevices; j++) { in hpsa_figure_phys_disk_ptrs()
1771 struct hpsa_scsi_dev_t *dev[], int ndevices) in hpsa_update_log_drive_phys_drive_ptrs() argument
1775 for (i = 0; i < ndevices; i++) { in hpsa_update_log_drive_phys_drive_ptrs()
1804 hpsa_figure_phys_disk_ptrs(h, dev, ndevices, dev[i]); in hpsa_update_log_drive_phys_drive_ptrs()
1960 while (i < h->ndevices) { in adjust_hpsa_scsi_table()
2001 h->ndevices, &entry); in adjust_hpsa_scsi_table()
2015 hpsa_update_log_drive_phys_drive_ptrs(h, h->dev, h->ndevices); in adjust_hpsa_scsi_table()
2025 for (i = 0; i < h->ndevices; i++) { in adjust_hpsa_scsi_table()
2096 for (i = 0; i < h->ndevices; i++) { in lookup_hpsa_scsi_dev()
8332 for (i = 0; i < h->ndevices; i++) { in hpsa_set_ioaccel_status()
8746 h->ndevices = 0; in hpsa_init_one()
9028 for (i = 0; i < h->ndevices; i++) { in hpsa_free_device_info()
9721 for (i = 0; i < h->ndevices; i++) { in hpsa_find_device_by_sas_rphy()