Home
last modified time | relevance | path

Searched refs:EFI_SYSTEMD_VARIABLE (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/basic/
Defivars.c367 if (access(EFIVAR_PATH(EFI_SYSTEMD_VARIABLE(SystemdOptions)), F_OK) < 0) in read_efi_options_variable()
373 r = efi_get_variable_string(EFI_SYSTEMD_VARIABLE(SystemdOptions), ret); in read_efi_options_variable()
387 return write_string_file(EFIVAR_CACHE_PATH(EFI_SYSTEMD_VARIABLE(SystemdOptions)), line, in cache_efi_options_variable()
412 r = read_one_line_file(EFIVAR_CACHE_PATH(EFI_SYSTEMD_VARIABLE(SystemdOptions)), ret); in systemd_efi_options_variable()
426 if (stat(EFIVAR_PATH(EFI_SYSTEMD_VARIABLE(SystemdOptions)), &a) < 0 && errno != ENOENT) in systemd_efi_options_efivarfs_if_newer()
429 if (stat(EFIVAR_CACHE_PATH(EFI_SYSTEMD_VARIABLE(SystemdOptions)), &b) < 0) { in systemd_efi_options_efivarfs_if_newer()
431 …log_debug_errno(errno, "Failed to stat "EFIVAR_CACHE_PATH(EFI_SYSTEMD_VARIABLE(SystemdOptions))": … in systemd_efi_options_efivarfs_if_newer()
Defivars.h39 #define EFI_SYSTEMD_VARIABLE(name) EFI_SYSTEMD_VARIABLE_STR(STRINGIFY(name)) macro
/systemd-251/src/boot/
Dbootctl.c2259 r = efi_set_variable_string(EFI_SYSTEMD_VARIABLE(SystemdOptions), argv[1]); in verb_systemd_efi_options()
/systemd-251/src/partition/
Drepart.c4439 r = efi_get_variable_string(EFI_SYSTEMD_VARIABLE(FactoryReset), &value); in parse_efi_variable_factory_reset()
4459 r = efi_set_variable(EFI_SYSTEMD_VARIABLE(FactoryReset), NULL, 0); in remove_efi_variable_factory_reset()