Home
last modified time | relevance | path

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

/linux/drivers/firmware/efi/libstub/
H 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()
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()
196 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS, in efi_low_alloc_above()
H 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()
H A Defi-stub-helper.c59 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, len, (void **)&buf); in efi_parse_options()
266 efi_bs_call(locate_protocol, &tcg2_guid, NULL, (void **)&tcg2); in efi_measure_tagged_event()
282 efi_bs_call(locate_protocol, &cc_guid, NULL, (void **)&cc); in efi_measure_tagged_event()
304 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, size, (void **)&evt); in efi_measure_tagged_event()
403 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, options_bytes, in efi_convert_cmdline()
444 efi_bs_call(free_pool, map); in efi_exit_boot_services()
448 status = efi_bs_call(exit_boot_services, handle, map->map_key); in efi_exit_boot_services()
465 status = efi_bs_call(get_memory_map, in efi_exit_boot_services()
481 status = efi_bs_call(exit_boot_services, handle, map->map_key); in efi_exit_boot_services()
562 status = efi_bs_call(locate_device_path, &lf2_proto_guid, &dp, &handle); in efi_load_initrd_dev_path()
[all …]
H 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()
H A Dalignedmem.c42 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()
H A Dtpm.c99 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()
H A Dunaccepted_memory.c65 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()
H A Dgop.c321 efi_bs_call(stall, 10 * EFI_USEC_PER_SEC); in choose_mode_list()
442 status = efi_bs_call(handle_protocol, h, in find_handle_with_primary_gop()
464 status = efi_bs_call(handle_protocol, h, in find_handle_with_primary_gop()
489 status = efi_bs_call(locate_handle_buffer, EFI_LOCATE_BY_PROTOCOL, in efi_setup_graphics()
513 status = efi_bs_call(handle_protocol, handle, &EFI_EDID_ACTIVE_PROTOCOL_GUID, in efi_setup_graphics()
519 status = efi_bs_call(handle_protocol, handle, in efi_setup_graphics()
H A Driscv.c52 status = efi_bs_call(locate_protocol, &boot_protocol_guid, NULL, in get_boot_hartid_from_efi()
H A Dsmbios.c43 status = efi_bs_call(locate_protocol, &EFI_SMBIOS_PROTOCOL_GUID, NULL, in efi_get_smbios_record()
H A Dloongarch-stub.c68 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS, in efi_relocate_kernel()
H A Drandomalloc.c133 status = efi_bs_call(allocate_pages, EFI_ALLOCATE_ADDRESS, in efi_random_alloc()
H A Defistub.h67 #define efi_bs_call(func, ...) \ macro
1088 DEFINE_FREE(efi_pool, void *, if (_T) efi_bs_call(free_pool, _T));