| /lib/efi_loader/ |
| A D | efi_device_path_utilities.c | 30 const struct efi_device_path *device_path) in get_device_path_size() argument 34 EFI_ENTRY("%pD", device_path); in get_device_path_size() 36 if (device_path) in get_device_path_size() 58 const struct efi_device_path *device_path) in duplicate_device_path() argument 60 EFI_ENTRY("%pD", device_path); in duplicate_device_path() 61 return EFI_EXIT(efi_dp_dup(device_path)); in duplicate_device_path() 99 const struct efi_device_path *device_path, in append_device_node() argument 102 EFI_ENTRY("%pD, %p", device_path, device_node); in append_device_node() 120 const struct efi_device_path *device_path, in append_device_path_instance() argument 164 const struct efi_device_path *device_path) in is_device_path_multi_instance() argument [all …]
|
| A D | efi_device_path_to_text.c | 443 struct efi_device_path *device_path, in efi_convert_device_path_to_text() argument 451 EFI_ENTRY("%p, %d, %d", device_path, display_only, allow_shortcuts); in efi_convert_device_path_to_text() 453 if (!device_path) in efi_convert_device_path_to_text() 455 while (device_path && str + MAX_NODE_LEN < buffer + MAX_PATH_LEN) { in efi_convert_device_path_to_text() 456 if (device_path->type == DEVICE_PATH_TYPE_END) { in efi_convert_device_path_to_text() 457 if (device_path->sub_type != in efi_convert_device_path_to_text() 464 str, device_path); in efi_convert_device_path_to_text() 466 *(u8 **)&device_path += device_path->length; in efi_convert_device_path_to_text()
|
| A D | helloworld.c | 187 efi_status_t print_device_path(struct efi_device_path *device_path, in print_device_path() argument 193 if (!device_path) { in print_device_path() 198 string = dp2txt->convert_device_path_to_text(device_path, true, false); in print_device_path() 226 struct efi_device_path *device_path; in efi_main() local 270 (void **)&device_path, NULL, NULL, in efi_main() 278 ret = print_device_path(device_path, device_path_to_text); in efi_main()
|
| A D | efi_bootmgr.c | 77 if (!device_path) in expand_media_path() 85 handle = efi_dp_find_obj(device_path, in expand_media_path() 93 full_path = efi_dp_from_file(device_path, fname); in expand_media_path() 96 full_path = efi_dp_dup(device_path); in expand_media_path() 99 full_path = efi_dp_dup(device_path); in expand_media_path() 256 (void **)&device_path, efi_root, NULL, in search_default_file() 271 full_path = expand_media_path(device_path); in search_default_file() 831 struct efi_device_path *device_path; in efi_bootmgr_enumerate_boot_options() local 860 short_dp = efi_dp_shorten(device_path); in efi_bootmgr_enumerate_boot_options() 862 device_path = short_dp; in efi_bootmgr_enumerate_boot_options() [all …]
|
| A D | efi_tcg2.c | 469 struct efi_device_path *device_path; in tcg2_measure_pe_image() local 512 device_path = handler->protocol_interface; in tcg2_measure_pe_image() 513 device_path_length = efi_dp_size(device_path); in tcg2_measure_pe_image() 543 memcpy(image_load_event->device_path, device_path, device_path_length); in tcg2_measure_pe_image() 1159 struct efi_device_path *device_path; in tcg2_measure_gpt_data() local 1182 device_path = efi_dp_dup(orig_device_path); in tcg2_measure_gpt_data() 1183 if (!device_path) in tcg2_measure_gpt_data() 1186 dp = search_gpt_dp_node(device_path); in tcg2_measure_gpt_data() 1196 dp = device_path; in tcg2_measure_gpt_data() 1274 efi_free_pool(device_path); in tcg2_measure_gpt_data()
|
| A D | efi_hii_config.c | 84 const struct efi_device_path *device_path, in get_alt_config() argument 89 this, config_resp, guid, name, device_path, in get_alt_config()
|
| A D | efi_disk.c | 331 struct efi_device_path *device_path; in efi_fs_from_path() local 336 ret = efi_dp_split_file_path(full_path, &device_path, &file_path); in efi_fs_from_path() 342 efiobj = efi_dp_find_obj(device_path, NULL, NULL); in efi_fs_from_path() 343 efi_free_pool(device_path); in efi_fs_from_path()
|
| A D | efi_boottime.c | 1787 efi_status_t efi_setup_loaded_image(struct efi_device_path *device_path, in efi_setup_loaded_image() argument 1818 if (device_path) { in efi_setup_loaded_image() 1819 info->device_handle = efi_dp_find_obj(device_path, NULL, NULL); in efi_setup_loaded_image() 1821 dp = efi_dp_concat(device_path, file_path, 0); in efi_setup_loaded_image() 1869 struct efi_device_path **device_path, in efi_locate_device_path() argument 1882 EFI_ENTRY("%pUs, %p, %p", protocol, device_path, device); in efi_locate_device_path() 1884 if (!protocol || !device_path || !*device_path) { in efi_locate_device_path() 1890 len = efi_dp_instance_size(*device_path); in efi_locate_device_path() 1915 if (memcmp(*device_path, dp, len_dp)) in efi_locate_device_path() 1925 remainder = (u8 *)*device_path + len_best; in efi_locate_device_path() [all …]
|
| A D | efi_device_path.c | 1044 struct efi_device_path **device_path, in efi_dp_split_file_path() argument 1049 *device_path = NULL; in efi_dp_split_file_path() 1068 *device_path = dp; in efi_dp_split_file_path() 1214 struct efi_device_path *search_gpt_dp_node(struct efi_device_path *device_path) in search_gpt_dp_node() argument 1216 struct efi_device_path *dp = device_path; in search_gpt_dp_node()
|
| /lib/efi_client/ |
| A D | efi_app_init.c | 38 struct efi_device_path *device_path, int len, in efi_bind_block() argument 48 plat.device_path = malloc(device_path->length); in efi_bind_block() 49 if (!plat.device_path) in efi_bind_block() 51 memcpy(plat.device_path, device_path, device_path->length); in efi_bind_block()
|
| /lib/acpi/ |
| A D | acpi_table.c | 317 const char *device_path) in acpi_create_dbg2() argument 362 path = device_path ? : "."; in acpi_create_dbg2()
|