Lines Matching refs:ndevices
1209 for (i = 0; i < h->ndevices; i++) { in hpsa_find_target_lun()
1285 int n = h->ndevices; in hpsa_scsi_add_entry()
1345 h->ndevices++; in hpsa_scsi_add_entry()
1451 for (i = entry; i < h->ndevices-1; i++) in hpsa_scsi_remove_entry()
1453 h->ndevices--; in hpsa_scsi_remove_entry()
1477 for (i = 0; i < h->ndevices; i++) { in fixup_botched_add()
1479 for (j = i; j < h->ndevices-1; j++) in fixup_botched_add()
1481 h->ndevices--; in fixup_botched_add()
1698 struct hpsa_scsi_dev_t *dev[], int ndevices, in hpsa_figure_phys_disk_ptrs() argument
1723 for (j = 0; j < ndevices; j++) { in hpsa_figure_phys_disk_ptrs()
1773 struct hpsa_scsi_dev_t *dev[], int ndevices) in hpsa_update_log_drive_phys_drive_ptrs() argument
1777 for (i = 0; i < ndevices; i++) { in hpsa_update_log_drive_phys_drive_ptrs()
1806 hpsa_figure_phys_disk_ptrs(h, dev, ndevices, dev[i]); in hpsa_update_log_drive_phys_drive_ptrs()
1962 while (i < h->ndevices) { in adjust_hpsa_scsi_table()
2003 h->ndevices, &entry); in adjust_hpsa_scsi_table()
2017 hpsa_update_log_drive_phys_drive_ptrs(h, h->dev, h->ndevices); in adjust_hpsa_scsi_table()
2027 for (i = 0; i < h->ndevices; i++) { in adjust_hpsa_scsi_table()
2098 for (i = 0; i < h->ndevices; i++) { in lookup_hpsa_scsi_dev()
8359 for (i = 0; i < h->ndevices; i++) { in hpsa_set_ioaccel_status()
8769 h->ndevices = 0; in hpsa_init_one()
9051 for (i = 0; i < h->ndevices; i++) { in hpsa_free_device_info()
9745 for (i = 0; i < h->ndevices; i++) { in hpsa_find_device_by_sas_rphy()