Lines Matching refs:parameter
16 int update_reboot_parameter_and_warn(const char *parameter, bool keep) { in update_reboot_parameter_and_warn() argument
19 if (isempty(parameter)) { in update_reboot_parameter_and_warn()
34 r = write_string_file("/run/systemd/reboot-param", parameter, in update_reboot_parameter_and_warn()
43 int read_reboot_parameter(char **parameter) { in read_reboot_parameter() argument
46 assert(parameter); in read_reboot_parameter()
48 r = read_one_line_file("/run/systemd/reboot-param", parameter); in read_reboot_parameter()
66 _cleanup_free_ char *parameter = NULL; in reboot_with_parameter() local
68 r = read_one_line_file("/run/systemd/reboot-param", ¶meter); in reboot_with_parameter()
73 if (!isempty(parameter)) { in reboot_with_parameter()
75 "Rebooting with argument '%s'.", parameter); in reboot_with_parameter()
80 (void) raw_reboot(LINUX_REBOOT_CMD_RESTART2, parameter); in reboot_with_parameter()