/linux-6.6.21/arch/x86/platform/efi/ |
D | efi.c | 125 if (!efi_enabled(EFI_MEMMAP)) in do_add_efi_memmap() 185 if (!efi_enabled(EFI_MEMMAP)) in do_efi_soft_reserve() 205 if (efi_enabled(EFI_PARAVIRT)) in efi_memblock_x86_reserve_range() 220 if (!efi_enabled(EFI_PARAVIRT)) { in efi_memblock_x86_reserve_range() 373 int size = efi_enabled(EFI_64BIT) ? sizeof(efi_system_table_64_t) in efi_systab_init() 392 if (efi_enabled(EFI_64BIT)) { in efi_systab_init() 452 if (efi_enabled(EFI_64BIT)) in efi_config_init() 528 if (efi_enabled(EFI_DBG)) in efi_init() 616 if (efi_enabled(EFI_64BIT)) { in efi_map_next_entry() 841 if (efi_enabled(EFI_DBG)) { in __efi_enter_virtual_mode() [all …]
|
D | fake_mem.c | 74 if (!efi_enabled(EFI_MEMMAP) || !nr_fake_mem) in efi_fake_memmap() 140 if (!efi_enabled(EFI_MEMMAP) || !nr_fake_mem) in efi_fake_memmap_early()
|
D | quirks.c | 328 if (!efi_enabled(EFI_MEMMAP)) in efi_reserve_boot_services() 415 if (efi_enabled(EFI_DBG)) in efi_free_boot_services() 536 if (!efi_enabled(EFI_64BIT)) in efi_reuse_config()
|
/linux-6.6.21/drivers/firmware/efi/ |
D | arm-runtime.c | 43 if (efi_enabled(EFI_RUNTIME_SERVICES)) in ptdump_init() 92 if (!efi_enabled(EFI_BOOT)) { in arm_enable_runtime_services() 135 if (efi_enabled(EFI_RUNTIME_SERVICES)) { in arm_enable_runtime_services()
|
D | efi.c | 94 return !efi_enabled(EFI_MEM_NO_SOFT_RESERVE); in __efi_soft_reserve_enabled() 161 return sprintf(buf, "%d\n", efi_enabled(EFI_64BIT) ? 64 : 32); in fw_platform_size_show() 381 if (!efi_enabled(EFI_RUNTIME_SERVICES)) in efisubsys_init() 384 if (!efi_enabled(EFI_BOOT)) in efisubsys_init() 436 if (efi_enabled(EFI_DBG) && efi_enabled(EFI_PRESERVE_BS_REGIONS)) in efisubsys_init() 469 if (!efi_enabled(EFI_MEMMAP)) in efi_find_mirror() 497 if (!efi_enabled(EFI_MEMMAP)) { in __efi_mem_desc_lookup() 557 if (WARN_ON_ONCE(efi_enabled(EFI_PARAVIRT))) in efi_mem_reserve() 673 } else if (efi_enabled(EFI_64BIT)) { in efi_config_parse_tables() 718 if (!IS_ENABLED(CONFIG_X86_32) && efi_enabled(EFI_MEMMAP)) in efi_config_parse_tables() [all …]
|
D | memattr.c | 144 if (WARN_ON(!efi_enabled(EFI_MEMMAP))) in efi_memattr_apply_permissions() 158 if (efi_enabled(EFI_DBG)) in efi_memattr_apply_permissions() 170 if (efi_enabled(EFI_DBG) || !valid) in efi_memattr_apply_permissions()
|
D | riscv-runtime.c | 70 if (!efi_enabled(EFI_BOOT)) { in riscv_enable_runtime_services() 113 if (efi_enabled(EFI_RUNTIME_SERVICES)) { in riscv_enable_runtime_services()
|
D | fdtparams.c | 78 if (efi_enabled(EFI_DBG)) in efi_get_fdt_prop() 111 if (efi_enabled(EFI_DBG)) in efi_get_fdt_params()
|
D | efi-init.c | 154 if (efi_enabled(EFI_DBG)) in reserve_regions() 169 if (efi_enabled(EFI_DBG)) { in reserve_regions()
|
D | esrt.c | 214 if (!efi_enabled(EFI_CONFIG_TABLES)) in esrt_table_exists() 246 if (!efi_enabled(EFI_MEMMAP) && !efi_enabled(EFI_PARAVIRT)) in efi_esrt_init()
|
D | efi-bgrt.c | 36 if (!efi_enabled(EFI_MEMMAP)) in efi_bgrt_init()
|
D | memmap.c | 92 if (!efi_enabled(EFI_MEMMAP)) in efi_memmap_unmap()
|
/linux-6.6.21/security/integrity/platform_certs/ |
D | machine_keyring.c | 37 if (rc && efi_enabled(EFI_BOOT) && in add_to_machine_keyring() 87 if (efi_enabled(EFI_BOOT)) in imputed_trust_enabled()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | efi.c | 153 return efi_enabled(EFI_RUNTIME_SERVICES); in efi_poweroff_required() 209 if (!efi_enabled(EFI_RUNTIME_SERVICES)) in arm64_efi_rt_init()
|
D | setup.c | 338 if (!efi_enabled(EFI_BOOT)) { in setup_arch() 455 if (!efi_enabled(EFI_BOOT) && mmu_enabled_at_boot) in check_mmu_enabled_at_boot()
|
/linux-6.6.21/arch/x86/kernel/ |
D | setup.c | 987 if (efi_enabled(EFI_BOOT)) in setup_arch() 1028 if (efi_enabled(EFI_BOOT)) in setup_arch() 1192 if (efi_enabled(EFI_BOOT)) { in setup_arch() 1292 if (!efi_enabled(EFI_BOOT) || (efi_mem_type(0xa0000) != EFI_CONVENTIONAL_MEMORY)) in setup_arch() 1313 if (efi_enabled(EFI_BOOT)) in setup_arch()
|
D | kexec-bzimage64.c | 187 if (!efi_enabled(EFI_RUNTIME_SERVICES)) in setup_efi_state() 368 if (efi_enabled(EFI_RUNTIME_SERVICES) && !efi_enabled(EFI_64BIT)) { in bzImage64_probe()
|
D | kvm.c | 585 if (!efi_enabled(EFI_BOOT)) in setup_efi_kvm_sev_migration() 588 if (!efi_enabled(EFI_RUNTIME_SERVICES)) { in setup_efi_kvm_sev_migration() 975 if (!efi_enabled(EFI_BOOT)) in kvm_init_platform()
|
/linux-6.6.21/security/integrity/ima/ |
D | ima_efi.c | 38 if (!initialized && efi_enabled(EFI_BOOT)) { in arch_ima_get_secureboot()
|
/linux-6.6.21/drivers/xen/ |
D | efi.c | 305 if (!efi_enabled(EFI_PARAVIRT) || efi_enabled(EFI_MEMMAP)) in efi_mem_desc_lookup() 338 if (!efi_enabled(EFI_PARAVIRT)) in xen_efi_config_table_is_usable()
|
/linux-6.6.21/drivers/firmware/ |
D | iscsi_ibft_find.c | 63 if (efi_enabled(EFI_BOOT)) in reserve_ibft_region()
|
/linux-6.6.21/drivers/acpi/ |
D | prmt.c | 239 if (!efi_enabled(EFI_RUNTIME_SERVICES)) { in acpi_platformrt_space_handler() 333 if (!efi_enabled(EFI_RUNTIME_SERVICES)) { in init_prmt()
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | efi.c | 54 if (!efi_enabled(EFI_BOOT) || !efi_systab->runtime) in efi_runtime_init()
|
/linux-6.6.21/arch/arm/kernel/ |
D | efi.c | 108 if (dump_state || efi_enabled(EFI_DBG)) { in load_cpu_state_table()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | efi.h | 170 return IS_ENABLED(CONFIG_X86_64) && !efi_enabled(EFI_64BIT); in efi_is_mixed() 175 if (IS_ENABLED(CONFIG_X86_64) == efi_enabled(EFI_64BIT)) in efi_runtime_supported()
|