Lines Matching refs:ndevices
1213 for (i = 0; i < h->ndevices; i++) { in hpsa_find_target_lun()
1289 int n = h->ndevices; in hpsa_scsi_add_entry()
1349 h->ndevices++; in hpsa_scsi_add_entry()
1455 for (i = entry; i < h->ndevices-1; i++) in hpsa_scsi_remove_entry()
1457 h->ndevices--; in hpsa_scsi_remove_entry()
1481 for (i = 0; i < h->ndevices; i++) { in fixup_botched_add()
1483 for (j = i; j < h->ndevices-1; j++) in fixup_botched_add()
1485 h->ndevices--; in fixup_botched_add()
1702 struct hpsa_scsi_dev_t *dev[], int ndevices, in hpsa_figure_phys_disk_ptrs() argument
1727 for (j = 0; j < ndevices; j++) { in hpsa_figure_phys_disk_ptrs()
1777 struct hpsa_scsi_dev_t *dev[], int ndevices) in hpsa_update_log_drive_phys_drive_ptrs() argument
1781 for (i = 0; i < ndevices; i++) { in hpsa_update_log_drive_phys_drive_ptrs()
1810 hpsa_figure_phys_disk_ptrs(h, dev, ndevices, dev[i]); in hpsa_update_log_drive_phys_drive_ptrs()
1966 while (i < h->ndevices) { in adjust_hpsa_scsi_table()
2007 h->ndevices, &entry); in adjust_hpsa_scsi_table()
2021 hpsa_update_log_drive_phys_drive_ptrs(h, h->dev, h->ndevices); in adjust_hpsa_scsi_table()
2031 for (i = 0; i < h->ndevices; i++) { in adjust_hpsa_scsi_table()
2102 for (i = 0; i < h->ndevices; i++) { in lookup_hpsa_scsi_dev()
8357 for (i = 0; i < h->ndevices; i++) { in hpsa_set_ioaccel_status()
8767 h->ndevices = 0; in hpsa_init_one()
9049 for (i = 0; i < h->ndevices; i++) { in hpsa_free_device_info()
9736 for (i = 0; i < h->ndevices; i++) { in hpsa_find_device_by_sas_rphy()