Lines Matching refs:hostno
227 static void hpsa_update_scsi_devices(struct ctlr_info *h, int hostno);
885 static int hpsa_scsi_add_entry(struct ctlr_info *h, int hostno, in hpsa_scsi_add_entry() argument
958 scsi_device_type(device->devtype), hostno, in hpsa_scsi_add_entry()
964 static void hpsa_scsi_update_entry(struct ctlr_info *h, int hostno, in hpsa_scsi_update_entry() argument
993 scsi_device_type(new_entry->devtype), hostno, new_entry->bus, in hpsa_scsi_update_entry()
998 static void hpsa_scsi_replace_entry(struct ctlr_info *h, int hostno, in hpsa_scsi_replace_entry() argument
1021 scsi_device_type(new_entry->devtype), hostno, new_entry->bus, in hpsa_scsi_replace_entry()
1026 static void hpsa_scsi_remove_entry(struct ctlr_info *h, int hostno, int entry, in hpsa_scsi_remove_entry() argument
1043 scsi_device_type(sd->devtype), hostno, sd->bus, sd->target, in hpsa_scsi_remove_entry()
1342 static void adjust_hpsa_scsi_table(struct ctlr_info *h, int hostno, in adjust_hpsa_scsi_table() argument
1382 hpsa_scsi_remove_entry(h, hostno, i, in adjust_hpsa_scsi_table()
1387 hpsa_scsi_replace_entry(h, hostno, i, sd[entry], in adjust_hpsa_scsi_table()
1394 hpsa_scsi_update_entry(h, hostno, i, sd[entry]); in adjust_hpsa_scsi_table()
1424 if (hpsa_scsi_add_entry(h, hostno, sd[i], in adjust_hpsa_scsi_table()
1453 if (hostno == -1 || !changes) in adjust_hpsa_scsi_table()
1471 " for removal.", hostno, removed[i]->bus, in adjust_hpsa_scsi_table()
1484 "device not added.\n", hostno, added[i]->bus, in adjust_hpsa_scsi_table()
3055 static void hpsa_update_scsi_devices(struct ctlr_info *h, int hostno) in hpsa_update_scsi_devices() argument
3231 adjust_hpsa_scsi_table(h, hostno, currentsd, ncurrent); in hpsa_update_scsi_devices()