Searched refs:BrilloBootInfo (Results 1 – 3 of 3) sorted by relevance
28 typedef struct BrilloBootInfo { struct46 } BrilloBootInfo; argument49 bool boot_info_load(BrilloBootInfo *out_info);50 bool boot_info_save(BrilloBootInfo *info);53 bool boot_info_validate(BrilloBootInfo* info);54 void boot_info_reset(BrilloBootInfo* info);62 _Static_assert(sizeof(BrilloBootInfo) == 32, "BrilloBootInfo has wrong size");
123 bool boot_info_load(BrilloBootInfo *out_info) in boot_info_load()127 memset(out_info, '\0', sizeof(BrilloBootInfo)); in boot_info_load()138 num_read = read(fd, (void*) out_info, sizeof(BrilloBootInfo)); in boot_info_load()141 if (num_read != sizeof(BrilloBootInfo)) in boot_info_load()146 bool boot_info_save(BrilloBootInfo *info) in boot_info_save()159 num_written = write(fd, (void*) info, sizeof(BrilloBootInfo)); in boot_info_save()162 if (num_written != sizeof(BrilloBootInfo)) in boot_info_save()167 bool boot_info_validate(BrilloBootInfo* info) in boot_info_validate()178 void boot_info_reset(BrilloBootInfo* info) in boot_info_reset()180 memset(info, '\0', sizeof(BrilloBootInfo)); in boot_info_reset()
137 BrilloBootInfo info; in module_setActiveBootSlot()210 BrilloBootInfo info; in module_setSlotAsUnbootable()237 BrilloBootInfo info; in module_isSlotBootable()