| /u-boot/lib/efi_loader/ |
| A D | efi_bootmgr.c | 205 struct efi_device_path *file_path; in try_load_entry() local 209 lo.file_path); in try_load_entry() 211 if (EFI_DP_TYPE(lo.file_path, MEDIA_DEVICE, FILE_PATH)) { in try_load_entry() 213 ret = try_load_from_short_path(lo.file_path, handle); in try_load_entry() 215 file_path = expand_media_path(lo.file_path); in try_load_entry() 216 ret = EFI_CALL(efi_load_image(true, efi_root, file_path, in try_load_entry() 218 efi_free_pool(file_path); in try_load_entry()
|
| A D | efi_load_initrd.c | 17 struct efi_device_path *file_path, bool boot_policy, 93 struct efi_device_path *file_path, bool boot_policy, in efi_load_file2_initrd() argument 101 EFI_ENTRY("%p, %p, %d, %p, %p", this, file_path, boot_policy, in efi_load_file2_initrd() 110 if (file_path->type != dp_lf2_handle.end.type || in efi_load_file2_initrd() 111 file_path->sub_type != dp_lf2_handle.end.sub_type) { in efi_load_file2_initrd()
|
| A D | efi_load_options.c | 85 lo->file_path = (struct efi_device_path *)data; in efi_deserialize_load_option() 86 if (efi_dp_check_length(lo->file_path, len) < 0) in efi_deserialize_load_option() 136 memcpy(p, lo->file_path, lo->file_path_length); in efi_serialize_load_option()
|
| A D | efi_boottime.c | 1729 struct efi_device_path *file_path, in efi_setup_loaded_image() argument 1756 info->file_path = file_path; in efi_setup_loaded_image() 1762 dp = efi_dp_append(device_path, file_path); in efi_setup_loaded_image() 1897 f = efi_file_from_path(file_path); in efi_load_image_from_file() 1944 struct efi_device_path *file_path, in efi_load_image_from_path() argument 1960 dp = file_path; in efi_load_image_from_path() 2026 struct efi_device_path *file_path, in efi_load_image() argument 2039 file_path, source_buffer, source_size, image_handle); in efi_load_image() 2041 if (!image_handle || (!source_buffer && !file_path) || in efi_load_image() 2050 ret = efi_load_image_from_path(boot_policy, file_path, in efi_load_image() [all …]
|
| A D | efi_disk.c | 334 struct efi_device_path *file_path; in efi_fs_from_path() local 338 ret = efi_dp_split_file_path(full_path, &device_path, &file_path); in efi_fs_from_path() 341 efi_free_pool(file_path); in efi_fs_from_path()
|
| A D | helloworld.c | 220 ret = print_device_path(loaded_image->file_path, device_path_to_text); in efi_main()
|
| A D | efi_device_path.c | 1133 struct efi_device_path **file_path) in efi_dp_split_file_path() argument 1138 *file_path = NULL; in efi_dp_split_file_path() 1157 *file_path = fp; in efi_dp_split_file_path() 1268 struct efi_device_path *fp = lo->file_path; in efi_dp_from_lo()
|
| A D | efi_image_loader.c | 77 if (image->file_path) in efi_print_image_info() 78 printf(" '%pD'", image->file_path); in efi_print_image_info()
|
| /u-boot/include/ |
| A D | bootmeth.h | 121 const char *file_path, ulong addr, ulong *sizep); 224 const char *file_path, ulong addr, ulong *sizep); 330 const char *file_path, ulong addr, ulong *sizep);
|
| A D | pxe_utils.h | 83 typedef int (*pxe_getfile_func)(struct pxe_context *ctx, const char *file_path, 140 int get_pxe_file(struct pxe_context *ctx, const char *file_path,
|
| A D | efi_loader.h | 631 struct efi_device_path *file_path, 770 struct efi_device_path *file_path, 824 struct efi_device_path **file_path); 905 struct efi_device_path *file_path; member
|
| /u-boot/boot/ |
| A D | bootmeth_pxe.c | 26 static int extlinux_pxe_getfile(struct pxe_context *ctx, const char *file_path, in extlinux_pxe_getfile() argument 34 ret = bootmeth_read_file(info->dev, info->bflow, file_path, addr, in extlinux_pxe_getfile() 113 const char *file_path, ulong addr, in extlinux_pxe_read_file() argument 124 tftp_argv[2] = (void *)file_path; in extlinux_pxe_read_file()
|
| A D | bootmeth-uclass.c | 75 const char *file_path, ulong addr, ulong *sizep) in bootmeth_read_file() argument 82 return ops->read_file(dev, bflow, file_path, addr, sizep); in bootmeth_read_file() 388 const char *file_path, ulong addr, ulong *sizep) in bootmeth_common_read_file() argument 402 ret = fs_size(file_path, &size); in bootmeth_common_read_file() 412 ret = fs_read(file_path, addr, 0, 0, &len_read); in bootmeth_common_read_file()
|
| A D | bootmeth_sandbox.c | 31 const char *file_path, ulong addr, ulong *sizep) in sandbox_read_file() argument
|
| A D | bootmeth_extlinux.c | 38 static int extlinux_getfile(struct pxe_context *ctx, const char *file_path, in extlinux_getfile() argument 49 ret = bootmeth_read_file(info->dev, info->bflow, file_path, addr, in extlinux_getfile()
|
| A D | pxe_utils.c | 100 static int get_relfile(struct pxe_context *ctx, const char *file_path, in get_relfile() argument 109 if (file_path[0] == '/' && ctx->allow_abs_path) in get_relfile() 114 path_len = strlen(file_path) + strlen(relfile); in get_relfile() 117 printf("Base path too long (%s%s)\n", relfile, file_path); in get_relfile() 122 strcat(relfile, file_path); in get_relfile() 147 int get_pxe_file(struct pxe_context *ctx, const char *file_path, in get_pxe_file() argument 154 err = get_relfile(ctx, file_path, file_addr, &size); in get_pxe_file() 208 static int get_relfile_envaddr(struct pxe_context *ctx, const char *file_path, in get_relfile_envaddr() argument 221 return get_relfile(ctx, file_path, file_addr, filesizep); in get_relfile_envaddr()
|
| A D | bootmeth_efi_mgr.c | 61 const char *file_path, ulong addr, ulong *sizep) in efi_mgr_read_file() argument
|
| A D | vbe_simple.c | 164 const char *file_path, ulong addr, ulong *sizep) in vbe_simple_read_file() argument 169 ret = bootmeth_common_read_file(dev, bflow, file_path, addr, in vbe_simple_read_file()
|
| A D | bootmeth_qfw.c | 56 const char *file_path, ulong addr, ulong *sizep) in qfw_read_file() argument
|
| /u-boot/cmd/ |
| A D | bootefi.c | 490 struct efi_device_path *file_path = NULL; in efi_run_image() local 502 file_path = efi_dp_from_mem(EFI_RESERVED_MEMORY_TYPE, in efi_run_image() 511 file_path, NULL); in efi_run_image() 514 msg_path = file_path; in efi_run_image() 516 file_path = efi_dp_append(bootefi_device_path, in efi_run_image() 524 ret = EFI_CALL(efi_load_image(false, efi_root, file_path, source_buffer, in efi_run_image() 541 file_path, NULL); in efi_run_image() 542 efi_free_pool(file_path); in efi_run_image()
|
| A D | sysboot.c | 25 static int sysboot_read_file(struct pxe_context *ctx, const char *file_path, in sysboot_read_file() argument 37 ret = fs_read(file_path, addr, 0, 0, &len_read); in sysboot_read_file()
|
| A D | efidebug.c | 384 *image_path = efi_dp_str(image->file_path); in efi_get_driver_handle_info() 733 struct efi_device_path *file_path = NULL; in do_efi_boot_add() local 793 file_path = efi_dp_shorten(fp_free); in do_efi_boot_add() 794 if (!file_path) in do_efi_boot_add() 795 file_path = fp_free; in do_efi_boot_add() 796 fp_size += efi_dp_size(file_path) + in do_efi_boot_add() 837 if (!file_path) { in do_efi_boot_add() 843 final_fp = efi_dp_concat(file_path, initrd_dp); in do_efi_boot_add() 850 lo.file_path = final_fp; in do_efi_boot_add() 956 printf(" file_path: %pD\n", lo.file_path); in show_efi_boot_opt_data()
|
| A D | pxe.c | 29 static int do_get_tftp(struct pxe_context *ctx, const char *file_path, in do_get_tftp() argument 37 tftp_argv[2] = (void *)file_path; in do_get_tftp()
|
| A D | eficonfig.c | 1191 lo.file_path = dp; in eficonfig_set_boot_option() 1530 if (lo.file_path) in eficonfig_edit_boot_option() 1531 fill_file_info(lo.file_path, &bo->file_info, device_dp); in eficonfig_edit_boot_option() 2417 lo.file_path = device_path; in eficonfig_enumerate_boot_option()
|
| /u-boot/lib/efi_selftest/ |
| A D | efi_selftest_load_file.c | 210 struct efi_device_path *file_path, in load_file() argument 216 if (memcmp(file_path, dp_lf_file_remainder, in load_file() 247 struct efi_device_path *file_path, in load_file2() argument 253 if (memcmp(file_path, dp_lf2_file_remainder, in load_file2()
|