Lines Matching refs:info
137 BrilloBootInfo info; in module_setActiveBootSlot() local
145 if (!boot_info_load(&info)) { in module_setActiveBootSlot()
147 boot_info_reset(&info); in module_setActiveBootSlot()
149 if (!boot_info_validate(&info)) { in module_setActiveBootSlot()
151 boot_info_reset(&info); in module_setActiveBootSlot()
155 info.active_slot = slot; in module_setActiveBootSlot()
156 info.slot_info[slot].bootable = true; in module_setActiveBootSlot()
157 snprintf(info.bootctrl_suffix, in module_setActiveBootSlot()
158 sizeof(info.bootctrl_suffix), in module_setActiveBootSlot()
161 if (!boot_info_save(&info)) { in module_setActiveBootSlot()
210 BrilloBootInfo info; in module_setSlotAsUnbootable() local
215 if (!boot_info_load(&info)) { in module_setSlotAsUnbootable()
217 boot_info_reset(&info); in module_setSlotAsUnbootable()
219 if (!boot_info_validate(&info)) { in module_setSlotAsUnbootable()
221 boot_info_reset(&info); in module_setSlotAsUnbootable()
225 info.slot_info[slot].bootable = false; in module_setSlotAsUnbootable()
227 if (!boot_info_save(&info)) { in module_setSlotAsUnbootable()
237 BrilloBootInfo info; in module_isSlotBootable() local
242 if (!boot_info_load(&info)) { in module_isSlotBootable()
244 boot_info_reset(&info); in module_isSlotBootable()
246 if (!boot_info_validate(&info)) { in module_isSlotBootable()
248 boot_info_reset(&info); in module_isSlotBootable()
252 return info.slot_info[slot].bootable; in module_isSlotBootable()