Lines Matching refs:new_entry

1363 	int entry, struct hpsa_scsi_dev_t *new_entry)  in hpsa_scsi_update_entry()  argument
1369 h->dev[entry]->raid_level = new_entry->raid_level; in hpsa_scsi_update_entry()
1374 h->dev[entry]->ioaccel_handle = new_entry->ioaccel_handle; in hpsa_scsi_update_entry()
1377 if (new_entry->offload_config && new_entry->offload_to_be_enabled) { in hpsa_scsi_update_entry()
1386 h->dev[entry]->raid_map = new_entry->raid_map; in hpsa_scsi_update_entry()
1387 h->dev[entry]->ioaccel_handle = new_entry->ioaccel_handle; in hpsa_scsi_update_entry()
1389 if (new_entry->offload_to_be_enabled) { in hpsa_scsi_update_entry()
1390 h->dev[entry]->ioaccel_handle = new_entry->ioaccel_handle; in hpsa_scsi_update_entry()
1393 h->dev[entry]->hba_ioaccel_enabled = new_entry->hba_ioaccel_enabled; in hpsa_scsi_update_entry()
1394 h->dev[entry]->offload_config = new_entry->offload_config; in hpsa_scsi_update_entry()
1395 h->dev[entry]->offload_to_mirror = new_entry->offload_to_mirror; in hpsa_scsi_update_entry()
1396 h->dev[entry]->queue_depth = new_entry->queue_depth; in hpsa_scsi_update_entry()
1403 h->dev[entry]->offload_to_be_enabled = new_entry->offload_to_be_enabled; in hpsa_scsi_update_entry()
1408 if (!new_entry->offload_to_be_enabled) in hpsa_scsi_update_entry()
1416 int entry, struct hpsa_scsi_dev_t *new_entry, in hpsa_scsi_replace_entry() argument
1429 if (new_entry->target == -1) { in hpsa_scsi_replace_entry()
1430 new_entry->target = h->dev[entry]->target; in hpsa_scsi_replace_entry()
1431 new_entry->lun = h->dev[entry]->lun; in hpsa_scsi_replace_entry()
1434 h->dev[entry] = new_entry; in hpsa_scsi_replace_entry()
1435 added[*nadded] = new_entry; in hpsa_scsi_replace_entry()
1438 hpsa_show_dev_msg(KERN_INFO, h, new_entry, "replaced"); in hpsa_scsi_replace_entry()