/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
H 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() 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() 156 efi_bs_call(free_page in handle_kernel_image() [all...] |
H 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() 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() 97 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_MAX_ADDRESS, in efi_allocate_pages() 126 efi_bs_call(free_pages, addr, nr_pages); in efi_free()
|
H A D | x86-stub.c | 51 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, in preserve_pci_rom_image() 92 efi_bs_call(free_pool, rom); in preserve_pci_rom_image() 115 status = efi_bs_call(locate_handle, EFI_LOCATE_BY_PROTOCOL, in setup_efi_pci() 119 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, in setup_efi_pci() 127 status = efi_bs_call(locate_handle, EFI_LOCATE_BY_PROTOCOL, in setup_efi_pci() 143 status = efi_bs_call(handle_protocol, h, &pci_proto, in setup_efi_pci() 161 efi_bs_call(free_pool, pci_handle); in setup_efi_pci() 172 status = efi_bs_call(locate_protocol, &guid, NULL, (void **)&p); in retrieve_apple_device_properties() 186 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, in retrieve_apple_device_properties() 197 efi_bs_call(free_poo in retrieve_apple_device_properties() [all...] |
H A D | pci.c | 26 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()
|
H A D | efi-stub-helper.c | 198 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() 446 efi_bs_call(free_pool, map); in efi_exit_boot_services() 453 status = efi_bs_call(exit_boot_services, handle, map->map_key); in efi_exit_boot_services() 470 status = efi_bs_call(get_memory_map, in efi_exit_boot_services() 486 status = efi_bs_call(exit_boot_services, handle, map->map_key); in efi_exit_boot_services() 567 status = efi_bs_call(locate_device_path, &lf2_proto_guid, &dp, &handle); in efi_load_initrd_dev_path() 571 status = efi_bs_call(handle_protocol, handle, &lf2_proto_guid, in efi_load_initrd_dev_path() 644 status = efi_bs_call(allocate_poo in efi_load_initrd() [all...] |
H A D | loongarch-stub.c | 29 status = efi_bs_call(allocate_pool, in alloc_screen_info() 36 status = efi_bs_call(install_configuration_table, &screen_info_guid, si); in alloc_screen_info() 40 efi_bs_call(free_pool, si); in alloc_screen_info() 50 efi_bs_call(install_configuration_table, &screen_info_guid, NULL); in free_screen_info() 51 efi_bs_call(free_pool, si); in free_screen_info()
|
H A D | random.c | 45 status = efi_bs_call(locate_protocol, &rng_proto, NULL, (void **)&rng); in efi_get_random_bytes() 75 status = efi_bs_call(locate_protocol, &rng_proto, NULL, (void **)&rng); in efi_random_get_seed() 97 status = efi_bs_call(allocate_pool, EFI_ACPI_RECLAIM_MEMORY, in efi_random_get_seed() 124 status = efi_bs_call(install_configuration_table, &rng_table_guid, seed); in efi_random_get_seed() 131 efi_bs_call(free_pool, prev_seed); in efi_random_get_seed() 137 efi_bs_call(free_pool, seed); in efi_random_get_seed()
|
H A D | alignedmem.c | 38 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()
|
H A D | efi-stub.c | 66 status = efi_bs_call(locate_handle, EFI_LOCATE_BY_PROTOCOL, in setup_graphics() 87 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, sizeof(*rsv), in install_memreserve_table() 98 status = efi_bs_call(install_configuration_table, in install_memreserve_table() 266 efi_bs_call(free_pool, cmdline_ptr); in efi_pe_entry() 291 status = efi_bs_call(get_memory_map, &size, NULL, &mmap_key, desc_size, in efi_alloc_virtmap() 296 return efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, in efi_alloc_virtmap()
|
H A D | gop.c | 166 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_poo in efi_setup_gop() [all...] |
H A D | tpm.c | 65 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()
|
H A D | relocate.c | 73 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()
|
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/ |
H 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() 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()
|
H A D | efi-stub-helper.c | 55 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, len, (void **)&buf); in efi_parse_options() 96 efi_bs_call(free_pool, buf); in efi_parse_options() 230 efi_bs_call(locate_protocol, &tcg2_guid, NULL, (void **)&tcg2); in efi_measure_tagged_event() 239 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, in efi_measure_tagged_event() 262 efi_bs_call(free_pool, evt); in efi_measure_tagged_event() 350 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, options_bytes, in efi_convert_cmdline() 392 efi_bs_call(free_pool, map); in efi_exit_boot_services() 396 status = efi_bs_call(exit_boot_services, handle, map->map_key); in efi_exit_boot_services() 413 status = efi_bs_call(get_memory_map, in efi_exit_boot_services() 429 status = efi_bs_call(exit_boot_service in efi_exit_boot_services() [all...] |
H A D | screen_info.c | 29 status = efi_bs_call(allocate_pool, EFI_ACPI_RECLAIM_MEMORY, in __alloc_screen_info() 35 status = efi_bs_call(install_configuration_table, in __alloc_screen_info() 40 efi_bs_call(free_pool, si); in __alloc_screen_info() 49 efi_bs_call(install_configuration_table, &screen_info_guid, NULL); in free_screen_info() 50 efi_bs_call(free_pool, si); in free_screen_info()
|
H A D | pci.c | 26 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()
|
H 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()
|
H 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()
|
H A D | x86-stub.c | 65 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, in preserve_pci_rom_image() 106 efi_bs_call(free_pool, rom); in preserve_pci_rom_image() 129 status = efi_bs_call(locate_handle, EFI_LOCATE_BY_PROTOCOL, in setup_efi_pci() 133 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, in setup_efi_pci() 141 status = efi_bs_call(locate_handle, EFI_LOCATE_BY_PROTOCOL, in setup_efi_pci() 157 status = efi_bs_call(handle_protocol, h, &pci_proto, in setup_efi_pci() 175 efi_bs_call(free_pool, pci_handle); in setup_efi_pci() 186 status = efi_bs_call(locate_protocol, &guid, NULL, (void **)&p); in retrieve_apple_device_properties() 200 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, in retrieve_apple_device_properties() 211 efi_bs_call(free_poo in retrieve_apple_device_properties() [all...] |
H A D | efi-stub.c | 63 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() 152 efi_bs_call(free_pool, cmdline_ptr); in efi_handle_cmdline() 212 status = efi_bs_call(get_memory_map, &size, NULL, &mmap_key, desc_size, in efi_alloc_virtmap() 217 return efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, in efi_alloc_virtmap()
|
H A D | alignedmem.c | 41 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()
|
H A D | gop.c | 166 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_poo in efi_setup_gop() [all...] |
H A D | tpm.c | 65 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()
|
H A D | relocate.c | 73 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()
|
H A D | zboot.c | 45 if (efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS, EFI_LOADER_DATA, in alloc_preferred_address() 79 status = efi_bs_call(handle_protocol, handle, in efi_zboot_entry() 145 efi_bs_call(free_pool, cmdline_ptr); in efi_zboot_entry()
|