D | bootloader_message.cpp | 132 bool read_bootloader_message_from(bootloader_message* boot, const std::string& misc_blk_device, in read_bootloader_message_from() argument 134 return read_misc_partition(boot, sizeof(*boot), misc_blk_device, in read_bootloader_message_from() 138 bool read_bootloader_message(bootloader_message* boot, std::string* err) { in read_bootloader_message() argument 143 return read_bootloader_message_from(boot, misc_blk_device, err); in read_bootloader_message() 152 bool write_bootloader_message_to(const bootloader_message& boot, const std::string& misc_blk_device, in write_bootloader_message_to() argument 154 return write_misc_partition(&boot, sizeof(boot), misc_blk_device, in write_bootloader_message_to() 158 bool write_bootloader_message(const bootloader_message& boot, std::string* err) { in write_bootloader_message() argument 163 return write_bootloader_message_to(boot, misc_blk_device, err); in write_bootloader_message() 173 bootloader_message boot = {}; in clear_bootloader_message() local 174 return write_bootloader_message(boot, err); in clear_bootloader_message() [all …]
|