Home
last modified time | relevance | path

Searched refs:add_params (Results 1 – 1 of 1) sorted by relevance

/system/update_engine/
Dboot_control_chromeos.cc229 CgptAddParams add_params; in SetActiveBootSlot() local
230 memset(&add_params, 0, sizeof(add_params)); in SetActiveBootSlot()
232 add_params.drive_name = const_cast<char*>(boot_disk_name_.c_str()); in SetActiveBootSlot()
233 add_params.partition = partition_num; in SetActiveBootSlot()
235 add_params.tries = 6; in SetActiveBootSlot()
236 add_params.set_tries = true; in SetActiveBootSlot()
238 retval = CgptSetAttributes(&add_params); in SetActiveBootSlot()
240 LOG(ERROR) << "Unable to set NumTriesLeft to " << add_params.tries in SetActiveBootSlot()