Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/firmware/efi/libstub/
A Dmem.c31 status = efi_bs_call(get_memory_map, &tmp.map_size, NULL, &tmp.map_key, in efi_get_memory_map()
37 status = efi_bs_call(allocate_pool, memtype, sizeof(*m) + size, in efi_get_memory_map()
49 status = efi_bs_call(install_configuration_table, &tbl_guid, m); in efi_get_memory_map()
55 status = efi_bs_call(get_memory_map, &m->map_size, m->map, &m->map_key, in efi_get_memory_map()
65 efi_bs_call(install_configuration_table, &tbl_guid, NULL); in efi_get_memory_map()
67 efi_bs_call(free_pool, m); in efi_get_memory_map()
100 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_MAX_ADDRESS, in efi_allocate_pages()
129 efi_bs_call(free_pages, addr, nr_pages); in efi_free()
A Dscreen_info.c34 status = efi_bs_call(allocate_pool, EFI_ACPI_RECLAIM_MEMORY, in alloc_screen_info()
40 status = efi_bs_call(install_configuration_table, in alloc_screen_info()
45 efi_bs_call(free_pool, si); in alloc_screen_info()
54 efi_bs_call(install_configuration_table, &screen_info_guid, NULL); in free_screen_info()
55 efi_bs_call(free_pool, si); in free_screen_info()
A 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()
A Defi-stub-helper.c94 efi_bs_call(free_pool, buf); in efi_parse_options()
228 efi_bs_call(locate_protocol, &tcg2_guid, NULL, (void **)&tcg2); in efi_measure_tagged_event()
237 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, in efi_measure_tagged_event()
260 efi_bs_call(free_pool, evt); in efi_measure_tagged_event()
387 efi_bs_call(free_pool, map); in efi_exit_boot_services()
411 status = efi_bs_call(get_memory_map, in efi_exit_boot_services()
512 status = efi_bs_call(handle_protocol, handle, &lf2_proto_guid, in efi_load_initrd_dev_path()
603 efi_bs_call(free_pool, tbl); in efi_load_initrd()
636 status = efi_bs_call(set_timer, timer, EfiTimerRelative, in efi_wait_for_key()
642 status = efi_bs_call(wait_for_event, 2, events, &index); in efi_wait_for_key()
[all …]
A 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()
120 efi_bs_call(free_pages, alloc_base, in handle_kernel_image()
124 efi_bs_call(free_pages, *reserve_addr + MAX_UNCOMP_KERNEL_SIZE, in handle_kernel_image()
A 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()
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()
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()
407 efi_bs_call(free_pool, uga_handle); in setup_uga()
443 efi_bs_call(exit, handle, status, 0, NULL); in efi_exit()
[all …]
A Drandom.c45 status = efi_bs_call(locate_protocol, &rng_proto, NULL, (void **)&rng); in efi_get_random_bytes()
76 status = efi_bs_call(locate_protocol, &rng_proto, NULL, (void **)&rng); in efi_random_get_seed()
105 status = efi_bs_call(allocate_pool, EFI_ACPI_RECLAIM_MEMORY, in efi_random_get_seed()
160 status = efi_bs_call(install_configuration_table, &rng_table_guid, seed); in efi_random_get_seed()
167 efi_bs_call(free_pool, prev_seed); in efi_random_get_seed()
173 efi_bs_call(free_pool, seed); in efi_random_get_seed()
A Defi-stub.c68 status = efi_bs_call(locate_handle, EFI_LOCATE_BY_PROTOCOL, in setup_graphics()
89 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, sizeof(*rsv), in install_memreserve_table()
100 status = efi_bs_call(install_configuration_table, in install_memreserve_table()
157 efi_bs_call(free_pool, cmdline_ptr); in efi_handle_cmdline()
217 status = efi_bs_call(get_memory_map, &size, NULL, &mmap_key, desc_size, in efi_alloc_virtmap()
222 return efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, in efi_alloc_virtmap()
A Dalignedmem.c41 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_MAX_ADDRESS, in efi_allocate_pages_aligned()
53 efi_bs_call(free_pages, alloc_addr, slack - l + 1); in efi_allocate_pages_aligned()
57 efi_bs_call(free_pages, *addr + size, slack); in efi_allocate_pages_aligned()
A 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()
A 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()
A Drelocate.c73 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS, in efi_low_alloc_above()
84 efi_bs_call(free_pool, map); in efi_low_alloc_above()
139 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS, in efi_relocate_kernel()
A Dzboot.c45 if (efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS, EFI_LOADER_DATA, in alloc_preferred_address()
75 status = efi_bs_call(handle_protocol, handle, in efi_zboot_entry()
147 efi_bs_call(free_pool, cmdline_ptr); in efi_zboot_entry()
A Dintrinsics.c20 efi_bs_call(copy_mem, dst, src, len); in memcpy()
28 efi_bs_call(set_mem, dst, len, c & U8_MAX); in memset()
A Dfile.c81 status = efi_bs_call(handle_protocol, efi_table_attr(image, device_handle), in efi_open_volume()
142 efi_bs_call(locate_protocol, &text_to_dp_guid, NULL, in efi_open_device_path()
152 if ((efi_bs_call(locate_device_path, &fs_proto, &initrd_dp, &handle) ?: in efi_open_device_path()
153 efi_bs_call(handle_protocol, handle, &fs_proto, (void **)&io)) in efi_open_device_path()
A Drandomalloc.c121 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS, in efi_random_alloc()
128 efi_bs_call(free_pool, map); in efi_random_alloc()
A Darm64-stub.c48 efi_bs_call(free_pool, map); in check_image_region()
71 } else if (efi_bs_call(handle_protocol, image_handle, in handle_kernel_image()
A Dloongarch-stub.c33 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS, in handle_kernel_image()
A Defi-stub-entry.c37 status = efi_bs_call(handle_protocol, handle, &loaded_image_proto, in efi_pe_entry()
A Dsmbios.c33 status = efi_bs_call(locate_protocol, &EFI_SMBIOS_PROTOCOL_GUID, NULL, in __efi_get_smbios_string()
A Driscv.c52 status = efi_bs_call(locate_protocol, &boot_protocol_guid, NULL, in get_boot_hartid_from_efi()
A Dfdt.c339 efi_bs_call(free_pool, priv.runtime_map); in allocate_new_fdt_and_exit_boot()
A Defistub.h61 #define efi_bs_call(func, ...) \ macro

Completed in 23 milliseconds