Home
last modified time | relevance | path

Searched refs:efi_bs_call (Results 1 – 17 of 17) sorted by relevance

/linux-5.19.10/drivers/firmware/efi/libstub/
Darm32-stub.c35 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, in check_platform_features()
46 status = efi_bs_call(install_configuration_table, &cpu_state_guid, in check_platform_features()
67 efi_bs_call(install_configuration_table, &cpu_state_guid, NULL); in check_platform_features()
69 efi_bs_call(free_pool, efi_entry_state); in check_platform_features()
92 status = efi_bs_call(allocate_pool, EFI_RUNTIME_SERVICES_DATA, in alloc_screen_info()
98 status = efi_bs_call(install_configuration_table, in alloc_screen_info()
103 efi_bs_call(free_pool, si); in alloc_screen_info()
112 efi_bs_call(install_configuration_table, &screen_info_guid, NULL); in free_screen_info()
113 efi_bs_call(free_pool, si); in free_screen_info()
157 efi_bs_call(free_pages, alloc_base, in handle_kernel_image()
[all …]
Dpci.c26 status = efi_bs_call(locate_handle, EFI_LOCATE_BY_PROTOCOL, &pci_proto, in efi_pci_disable_bridge_busmaster()
35 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, pci_handle_size, in efi_pci_disable_bridge_busmaster()
42 status = efi_bs_call(locate_handle, EFI_LOCATE_BY_PROTOCOL, &pci_proto, in efi_pci_disable_bridge_busmaster()
53 status = efi_bs_call(handle_protocol, handle, &pci_proto, in efi_pci_disable_bridge_busmaster()
82 efi_bs_call(disconnect_controller, handle, NULL, NULL); in efi_pci_disable_bridge_busmaster()
88 status = efi_bs_call(handle_protocol, handle, &pci_proto, in efi_pci_disable_bridge_busmaster()
113 efi_bs_call(free_pool, pci_handle); in efi_pci_disable_bridge_busmaster()
Dmem.c37 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, in efi_get_memory_map()
44 status = efi_bs_call(get_memory_map, map->map_size, m, in efi_get_memory_map()
49 efi_bs_call(free_pool, m); in efi_get_memory_map()
68 efi_bs_call(free_pool, m); in efi_get_memory_map()
102 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_MAX_ADDRESS, in efi_allocate_pages()
131 efi_bs_call(free_pages, addr, nr_pages); in efi_free()
Drandom.c45 status = efi_bs_call(locate_protocol, &rng_proto, NULL, (void **)&rng); in efi_get_random_bytes()
74 status = efi_bs_call(locate_protocol, &rng_proto, NULL, (void **)&rng); in efi_random_get_seed()
78 status = efi_bs_call(allocate_pool, EFI_RUNTIME_SERVICES_DATA, in efi_random_get_seed()
99 status = efi_bs_call(install_configuration_table, &rng_table_guid, seed); in efi_random_get_seed()
106 efi_bs_call(free_pool, seed); in efi_random_get_seed()
Dx86-stub.c52 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, in preserve_pci_rom_image()
93 efi_bs_call(free_pool, rom); in preserve_pci_rom_image()
116 status = efi_bs_call(locate_handle, EFI_LOCATE_BY_PROTOCOL, in setup_efi_pci()
120 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, in setup_efi_pci()
128 status = efi_bs_call(locate_handle, EFI_LOCATE_BY_PROTOCOL, in setup_efi_pci()
144 status = efi_bs_call(handle_protocol, h, &pci_proto, in setup_efi_pci()
162 efi_bs_call(free_pool, pci_handle); in setup_efi_pci()
173 status = efi_bs_call(locate_protocol, &guid, NULL, (void **)&p); in retrieve_apple_device_properties()
187 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, in retrieve_apple_device_properties()
198 efi_bs_call(free_pool, new); in retrieve_apple_device_properties()
[all …]
Defi-stub-helper.c198 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, len, (void **)&buf); in efi_parse_options()
237 efi_bs_call(free_pool, buf); in efi_parse_options()
407 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, options_bytes, in efi_convert_cmdline()
454 status = efi_bs_call(exit_boot_services, handle, *map->key_ptr); in efi_exit_boot_services()
471 status = efi_bs_call(get_memory_map, in efi_exit_boot_services()
487 status = efi_bs_call(exit_boot_services, handle, *map->key_ptr); in efi_exit_boot_services()
497 efi_bs_call(free_pool, *map->map); in efi_exit_boot_services()
581 status = efi_bs_call(locate_device_path, &lf2_proto_guid, &dp, &handle); in efi_load_initrd_dev_path()
585 status = efi_bs_call(handle_protocol, handle, &lf2_proto_guid, in efi_load_initrd_dev_path()
655 efi_bs_call(locate_protocol, &tcg2_guid, NULL, (void **)&tcg2); in efi_measure_initrd()
[all …]
Dalignedmem.c38 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_MAX_ADDRESS, in efi_allocate_pages_aligned()
50 efi_bs_call(free_pages, alloc_addr, slack - l + 1); in efi_allocate_pages_aligned()
54 efi_bs_call(free_pages, *addr + size, slack); in efi_allocate_pages_aligned()
Dtpm.c65 status = efi_bs_call(locate_protocol, &tcg2_guid, NULL, in efi_retrieve_tpm2_eventlog()
118 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, in efi_retrieve_tpm2_eventlog()
159 status = efi_bs_call(install_configuration_table, in efi_retrieve_tpm2_eventlog()
166 efi_bs_call(free_pool, log_tbl); in efi_retrieve_tpm2_eventlog()
Dgop.c166 efi_bs_call(free_pool, info); in choose_mode_modenum()
231 efi_bs_call(free_pool, info); in choose_mode_res()
291 efi_bs_call(free_pool, info); in choose_mode_auto()
345 efi_bs_call(free_pool, info); in choose_mode_list()
379 efi_bs_call(stall, 10 * EFI_USEC_PER_SEC); in choose_mode_list()
483 status = efi_bs_call(handle_protocol, h, proto, (void **)&gop); in find_gop()
503 status = efi_bs_call(handle_protocol, h, &conout_proto, &dummy); in find_gop()
565 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, in efi_setup_gop()
570 status = efi_bs_call(locate_handle, EFI_LOCATE_BY_PROTOCOL, proto, NULL, in efi_setup_gop()
578 efi_bs_call(free_pool, gop_handle); in efi_setup_gop()
Drelocate.c82 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS, in efi_low_alloc_above()
93 efi_bs_call(free_pool, map); in efi_low_alloc_above()
148 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS, in efi_relocate_kernel()
Defi-stub.c63 status = efi_bs_call(locate_handle, EFI_LOCATE_BY_PROTOCOL, in setup_graphics()
84 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, sizeof(*rsv), in install_memreserve_table()
95 status = efi_bs_call(install_configuration_table, in install_memreserve_table()
311 efi_bs_call(free_pool, cmdline_ptr); in efi_pe_entry()
Drandomalloc.c129 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS, in efi_random_alloc()
136 efi_bs_call(free_pool, memory_map); in efi_random_alloc()
Darm64-stub.c77 efi_bs_call(free_pool, memory_map); in check_image_region()
109 } else if (efi_bs_call(handle_protocol, image_handle, in handle_kernel_image()
Driscv-stub.c56 status = efi_bs_call(locate_protocol, &boot_protocol_guid, NULL, in get_boot_hartid_from_efi()
Dfile.c73 status = efi_bs_call(handle_protocol, image->device_handle, &fs_proto, in efi_open_volume()
Defistub.h48 #define efi_bs_call(func, ...) efi_system_table->boottime->func(__VA_ARGS__) macro
/linux-5.19.10/arch/x86/include/asm/
Defi.h355 #define efi_bs_call(func, ...) \ macro