Lines Matching refs:boot
91 bootloader_message boot = {}; in get_args() local
93 if (!read_bootloader_message(&boot, &err)) { in get_args()
96 boot = {}; in get_args()
98 stage = std::string(boot.stage); in get_args()
101 if (boot.command[0] != 0) { in get_args()
102 if (memchr(boot.command, '\0', sizeof(boot.command))) { in get_args()
103 boot_command = std::string(boot.command); in get_args()
105 boot_command = std::string(boot.command, sizeof(boot.command)); in get_args()
110 if (boot.status[0] != 0) { in get_args()
111 std::string boot_status = std::string(boot.status, sizeof(boot.status)); in get_args()
119 boot.recovery[sizeof(boot.recovery) - 1] = '\0'; // Ensure termination in get_args()
120 std::string boot_recovery(boot.recovery); in get_args()
128 } else if (boot.recovery[0] != 0) { in get_args()
497 bootloader_message boot = {}; in main() local
498 strlcpy(boot.command, "boot-rescue", sizeof(boot.command)); in main()
500 if (!write_bootloader_message(boot, &err)) { in main()