Searched refs:EFI_GLOBAL_VARIABLE (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/basic/ |
D | efivars.c | 316 r = read_flag(EFI_GLOBAL_VARIABLE(SecureBoot)); in is_efi_secure_boot() 334 int secure = read_flag(EFI_GLOBAL_VARIABLE(SecureBoot)); in efi_get_secure_boot_mode() 344 int audit = read_flag(EFI_GLOBAL_VARIABLE(AuditMode)); in efi_get_secure_boot_mode() 345 int deployed = read_flag(EFI_GLOBAL_VARIABLE(DeployedMode)); in efi_get_secure_boot_mode() 346 int setup = read_flag(EFI_GLOBAL_VARIABLE(SetupMode)); in efi_get_secure_boot_mode()
|
D | efivars.h | 37 #define EFI_GLOBAL_VARIABLE(name) EFI_GLOBAL_VARIABLE_STR(STRINGIFY(name)) macro
|
/systemd-251/src/shared/ |
D | efi-api.c | 80 r = efi_get_variable(EFI_GLOBAL_VARIABLE(OsIndicationsSupported), NULL, &v, &s); in efi_reboot_to_firmware_supported() 116 if (stat(EFIVAR_PATH(EFI_GLOBAL_VARIABLE(OsIndications)), &new_stat) < 0) { in get_os_indications() 130 r = efi_get_variable(EFI_GLOBAL_VARIABLE(OsIndications), NULL, &v, &s); in get_os_indications() 173 … return efi_set_variable(EFI_GLOBAL_VARIABLE(OsIndications), &b_new, sizeof(uint64_t)); in efi_set_reboot_to_firmware() 439 r = efi_get_variable(EFI_GLOBAL_VARIABLE(BootOrder), NULL, &buf, &l); in efi_get_boot_order() 459 return efi_set_variable(EFI_GLOBAL_VARIABLE(BootOrder), order, n * sizeof(uint16_t)); in efi_set_boot_order()
|
/systemd-251/src/boot/efi/ |
D | util.h | 96 #define EFI_GLOBAL_GUID &(const EFI_GUID) EFI_GLOBAL_VARIABLE
|