Lines Matching refs:boot
95 bootloader_message boot = {}; in get_args() local
97 if (!read_bootloader_message(&boot, &err)) { in get_args()
100 boot = {}; in get_args()
103 *stage = std::string(boot.stage); in get_args()
107 if (boot.command[0] != 0) { in get_args()
108 if (memchr(boot.command, '\0', sizeof(boot.command))) { in get_args()
109 boot_command = std::string(boot.command); in get_args()
111 boot_command = std::string(boot.command, sizeof(boot.command)); in get_args()
116 if (boot.status[0] != 0) { in get_args()
117 std::string boot_status = std::string(boot.status, sizeof(boot.status)); in get_args()
125 boot.recovery[sizeof(boot.recovery) - 1] = '\0'; // Ensure termination in get_args()
126 std::string boot_recovery(boot.recovery); in get_args()
134 } else if (boot.recovery[0] != 0) { in get_args()
527 bootloader_message boot = {}; in main() local
528 strlcpy(boot.command, "boot-rescue", sizeof(boot.command)); in main()
530 if (!write_bootloader_message(boot, &err)) { in main()