| /drivers/firmware/efi/libstub/ |
| A D | mem.c | 31 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() 59 efi_bs_call(install_configuration_table, &tbl_guid, NULL); in efi_get_memory_map() 96 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_MAX_ADDRESS, in efi_allocate_pages() 125 efi_bs_call(free_pages, addr, nr_pages); in efi_free()
|
| A D | efi-stub-helper.c | 262 efi_bs_call(locate_protocol, &tcg2_guid, NULL, (void **)&tcg2); in efi_measure_tagged_event() 278 efi_bs_call(locate_protocol, &cc_guid, NULL, (void **)&cc); in efi_measure_tagged_event() 440 efi_bs_call(free_pool, map); in efi_exit_boot_services() 444 status = efi_bs_call(exit_boot_services, handle, map->map_key); in efi_exit_boot_services() 461 status = efi_bs_call(get_memory_map, in efi_exit_boot_services() 477 status = efi_bs_call(exit_boot_services, handle, map->map_key); in efi_exit_boot_services() 562 status = efi_bs_call(handle_protocol, handle, &lf2_proto_guid, in efi_load_initrd_dev_path() 655 efi_bs_call(free_pool, tbl); in efi_load_initrd() 688 status = efi_bs_call(set_timer, timer, EfiTimerRelative, in efi_wait_for_key() 694 status = efi_bs_call(wait_for_event, 2, events, &index); in efi_wait_for_key() [all …]
|
| A D | screen_info.c | 29 status = efi_bs_call(allocate_pool, EFI_ACPI_RECLAIM_MEMORY, in __alloc_screen_info() 37 status = efi_bs_call(install_configuration_table, in __alloc_screen_info() 42 efi_bs_call(free_pool, si); in __alloc_screen_info() 51 efi_bs_call(install_configuration_table, &screen_info_guid, NULL); in free_screen_info() 52 efi_bs_call(free_pool, si); in free_screen_info()
|
| A D | arm32-stub.c | 35 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 D | random.c | 45 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 D | pci.c | 25 status = efi_bs_call(locate_handle_buffer, EFI_LOCATE_BY_PROTOCOL, in efi_pci_disable_bridge_busmaster() 36 status = efi_bs_call(handle_protocol, handle, &pci_proto, in efi_pci_disable_bridge_busmaster() 65 efi_bs_call(disconnect_controller, handle, NULL, NULL); in efi_pci_disable_bridge_busmaster() 71 status = efi_bs_call(handle_protocol, handle, &pci_proto, in efi_pci_disable_bridge_busmaster()
|
| A D | tpm.c | 99 status = efi_bs_call(allocate_pool, EFI_ACPI_RECLAIM_MEMORY, in efi_retrieve_tcg2_eventlog() 141 status = efi_bs_call(install_configuration_table, in efi_retrieve_tcg2_eventlog() 148 efi_bs_call(free_pool, log_tbl); in efi_retrieve_tcg2_eventlog() 161 status = efi_bs_call(locate_protocol, &tpm2_guid, NULL, (void **)&tpm2); in efi_retrieve_eventlog() 179 status = efi_bs_call(locate_protocol, &cc_guid, NULL, (void **)&cc); in efi_retrieve_eventlog()
|
| A D | x86-stub.c | 65 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, in preserve_pci_rom_image() 124 status = efi_bs_call(locate_handle_buffer, EFI_LOCATE_BY_PROTOCOL, in setup_efi_pci() 138 status = efi_bs_call(handle_protocol, h, &pci_proto, in setup_efi_pci() 164 status = efi_bs_call(locate_protocol, &guid, NULL, (void **)&p); in retrieve_apple_device_properties() 178 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, in retrieve_apple_device_properties() 189 efi_bs_call(free_pool, new); in retrieve_apple_device_properties() 357 status = efi_bs_call(locate_protocol, &mem_acceptance_proto, NULL, in setup_unaccepted_memory() 395 efi_bs_call(exit, handle, status, 0, NULL); in efi_exit() 588 efi_bs_call(free_pool, *e820ext); in alloc_e820ext() 593 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, in alloc_e820ext() [all …]
|
| A D | alignedmem.c | 42 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_MAX_ADDRESS, in efi_allocate_pages_aligned() 54 efi_bs_call(free_pages, alloc_addr, slack - l + 1); in efi_allocate_pages_aligned() 58 efi_bs_call(free_pages, *addr + size, slack); in efi_allocate_pages_aligned()
|
| A D | efi-stub.c | 76 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, sizeof(*rsv), in install_memreserve_table() 87 status = efi_bs_call(install_configuration_table, in install_memreserve_table() 199 status = efi_bs_call(get_memory_map, &size, NULL, &mmap_key, desc_size, in efi_alloc_virtmap() 204 return efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, in efi_alloc_virtmap()
|
| A D | file.c | 81 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 D | unaccepted_memory.c | 65 status = efi_bs_call(allocate_pool, EFI_ACPI_RECLAIM_MEMORY, in allocate_unaccepted_bitmap() 79 status = efi_bs_call(install_configuration_table, in allocate_unaccepted_bitmap() 82 efi_bs_call(free_pool, unaccepted_table); in allocate_unaccepted_bitmap()
|
| A D | zboot.c | 15 if (efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS, EFI_LOADER_DATA, in alloc_preferred_address() 44 status = efi_bs_call(handle_protocol, handle, in efi_zboot_entry()
|
| A D | intrinsics.c | 43 efi_bs_call(copy_mem, dst, src, len); in memcpy() 54 efi_bs_call(set_mem, dst, len, c & U8_MAX); in memset()
|
| A D | relocate.c | 76 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS, in efi_low_alloc_above() 140 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS, in efi_relocate_kernel()
|
| A D | gop.c | 320 efi_bs_call(stall, 10 * EFI_USEC_PER_SEC); in choose_mode_list() 421 status = efi_bs_call(handle_protocol, h, in find_gop() 443 status = efi_bs_call(handle_protocol, h, in find_gop() 464 status = efi_bs_call(locate_handle_buffer, EFI_LOCATE_BY_PROTOCOL, in efi_setup_gop()
|
| A D | efi-stub-entry.c | 54 status = efi_bs_call(handle_protocol, handle, &loaded_image_proto, in efi_pe_entry()
|
| A D | riscv.c | 52 status = efi_bs_call(locate_protocol, &boot_protocol_guid, NULL, in get_boot_hartid_from_efi()
|
| A D | smbios.c | 43 status = efi_bs_call(locate_protocol, &EFI_SMBIOS_PROTOCOL_GUID, NULL, in efi_get_smbios_record()
|
| A D | kaslr.c | 29 } else if (efi_bs_call(handle_protocol, image_handle, in efi_kaslr_get_phys_seed()
|
| A D | randomalloc.c | 133 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS, in efi_random_alloc()
|
| A D | fdt.c | 339 efi_bs_call(free_pool, priv.runtime_map); in allocate_new_fdt_and_exit_boot()
|
| A D | efistub.h | 63 #define efi_bs_call(func, ...) \ macro 1058 DEFINE_FREE(efi_pool, void *, if (_T) efi_bs_call(free_pool, _T));
|