Lines Matching refs:ndevices

1141 	for (i = 0; i < h->ndevices; i++) {  in hpsa_find_target_lun()
1216 int n = h->ndevices; in hpsa_scsi_add_entry()
1276 h->ndevices++; in hpsa_scsi_add_entry()
1376 for (i = entry; i < h->ndevices-1; i++) in hpsa_scsi_remove_entry()
1378 h->ndevices--; in hpsa_scsi_remove_entry()
1402 for (i = 0; i < h->ndevices; i++) { in fixup_botched_add()
1404 for (j = i; j < h->ndevices-1; j++) in fixup_botched_add()
1406 h->ndevices--; in fixup_botched_add()
1613 struct hpsa_scsi_dev_t *dev[], int ndevices, in hpsa_figure_phys_disk_ptrs() argument
1638 for (j = 0; j < ndevices; j++) { in hpsa_figure_phys_disk_ptrs()
1679 struct hpsa_scsi_dev_t *dev[], int ndevices) in hpsa_update_log_drive_phys_drive_ptrs() argument
1683 for (i = 0; i < ndevices; i++) { in hpsa_update_log_drive_phys_drive_ptrs()
1700 hpsa_figure_phys_disk_ptrs(h, dev, ndevices, dev[i]); in hpsa_update_log_drive_phys_drive_ptrs()
1790 while (i < h->ndevices) { in adjust_hpsa_scsi_table()
1831 h->ndevices, &entry); in adjust_hpsa_scsi_table()
1845 hpsa_update_log_drive_phys_drive_ptrs(h, h->dev, h->ndevices); in adjust_hpsa_scsi_table()
1850 for (i = 0; i < h->ndevices; i++) { in adjust_hpsa_scsi_table()
1921 for (i = 0; i < h->ndevices; i++) { in lookup_hpsa_scsi_dev()
3688 rc = hpsa_scsi_find_entry(dev, h->dev, h->ndevices, &entry); in hpsa_update_device_supports_aborts()
3690 entry >= 0 && entry < h->ndevices) { in hpsa_update_device_supports_aborts()
3753 for (i = 0; i < h->ndevices; i++) in hpsa_get_pdisk_of_ioaccel2()
8160 for (i = 0; i < h->ndevices; i++) in hpsa_ack_ctlr_events()
8440 h->ndevices = 0; in hpsa_init_one()
8704 for (i = 0; i < h->ndevices; i++) { in hpsa_free_device_info()
9398 for (i = 0; i < h->ndevices; i++) { in hpsa_find_device_by_sas_rphy()