Home
last modified time | relevance | path

Searched refs:efi_enabled (Results 1 – 25 of 51) sorted by relevance

123

/linux-6.6.21/arch/x86/platform/efi/
Defi.c125 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 …]
Dfake_mem.c74 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()
Dquirks.c328 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/
Darm-runtime.c43 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()
Defi.c94 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 …]
Dmemattr.c144 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()
Driscv-runtime.c70 if (!efi_enabled(EFI_BOOT)) { in riscv_enable_runtime_services()
113 if (efi_enabled(EFI_RUNTIME_SERVICES)) { in riscv_enable_runtime_services()
Dfdtparams.c78 if (efi_enabled(EFI_DBG)) in efi_get_fdt_prop()
111 if (efi_enabled(EFI_DBG)) in efi_get_fdt_params()
Defi-init.c154 if (efi_enabled(EFI_DBG)) in reserve_regions()
169 if (efi_enabled(EFI_DBG)) { in reserve_regions()
Desrt.c214 if (!efi_enabled(EFI_CONFIG_TABLES)) in esrt_table_exists()
246 if (!efi_enabled(EFI_MEMMAP) && !efi_enabled(EFI_PARAVIRT)) in efi_esrt_init()
Defi-bgrt.c36 if (!efi_enabled(EFI_MEMMAP)) in efi_bgrt_init()
Dmemmap.c92 if (!efi_enabled(EFI_MEMMAP)) in efi_memmap_unmap()
/linux-6.6.21/security/integrity/platform_certs/
Dmachine_keyring.c37 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/
Defi.c153 return efi_enabled(EFI_RUNTIME_SERVICES); in efi_poweroff_required()
209 if (!efi_enabled(EFI_RUNTIME_SERVICES)) in arm64_efi_rt_init()
Dsetup.c338 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/
Dsetup.c987 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()
Dkexec-bzimage64.c187 if (!efi_enabled(EFI_RUNTIME_SERVICES)) in setup_efi_state()
368 if (efi_enabled(EFI_RUNTIME_SERVICES) && !efi_enabled(EFI_64BIT)) { in bzImage64_probe()
Dkvm.c585 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/
Dima_efi.c38 if (!initialized && efi_enabled(EFI_BOOT)) { in arch_ima_get_secureboot()
/linux-6.6.21/drivers/xen/
Defi.c305 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/
Discsi_ibft_find.c63 if (efi_enabled(EFI_BOOT)) in reserve_ibft_region()
/linux-6.6.21/drivers/acpi/
Dprmt.c239 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/
Defi.c54 if (!efi_enabled(EFI_BOOT) || !efi_systab->runtime) in efi_runtime_init()
/linux-6.6.21/arch/arm/kernel/
Defi.c108 if (dump_state || efi_enabled(EFI_DBG)) { in load_cpu_state_table()
/linux-6.6.21/arch/x86/include/asm/
Defi.h170 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()

123