Lines Matching refs:misc_device
36 const char* misc_device; member
58 static bool LoadBootloaderControl(const char* misc_device, in LoadBootloaderControl() argument
61 if (read_bootloader_control_from(boot_ctrl, misc_device, &str_err)) in LoadBootloaderControl()
69 static bool SaveBootloaderControl(const char* misc_device, in SaveBootloaderControl() argument
74 if (write_bootloader_control_to(boot_ctrl, misc_device, &str_err)) in SaveBootloaderControl()
128 bootctrl_module->misc_device = strdup(device.c_str()); in BootControlInit()
185 if (!LoadBootloaderControl(bootctrl_module->misc_device, &bootctrl)) in IsSlotMarkedSuccessful()
199 if (!LoadBootloaderControl(bootctrl_module->misc_device, &bootctrl)) in MarkBootSuccessful()
207 if (!SaveBootloaderControl(bootctrl_module->misc_device, &bootctrl)) in MarkBootSuccessful()
229 if (!LoadBootloaderControl(bootctrl_module->misc_device, &bootctrl)) in SetActiveBootSlot()
255 if (!SaveBootloaderControl(bootctrl_module->misc_device, &bootctrl)) in SetActiveBootSlot()
276 if (!LoadBootloaderControl(bootctrl_module->misc_device, &bootctrl)) in SetSlotAsUnbootable()
283 if (!SaveBootloaderControl(bootctrl_module->misc_device, &bootctrl)) in SetSlotAsUnbootable()
303 if (!LoadBootloaderControl(bootctrl_module->misc_device, &bootctrl)) in IsSlotBootable()
348 .misc_device = nullptr,