/u-boot/lib/efi_loader/ |
H A D | efi_bootbin.c | 126 struct efi_device_path *file_path = NULL; local 138 file_path = efi_dp_from_mem(EFI_RESERVED_MEMORY_TYPE, 147 file_path, NULL); 150 msg_path = file_path; 152 file_path = efi_dp_concat(bootefi_device_path, 160 ret = EFI_CALL(efi_load_image(false, efi_root, file_path, source_buffer, 179 mem_handle, &efi_guid_device_path, file_path, NULL); 183 efi_free_pool(file_path);
|
H A D | efi_load_initrd.c | 16 struct efi_device_path *file_path, bool boot_policy, 83 * @file_path: media device path of the file, "" in this case 92 struct efi_device_path *file_path, bool boot_policy, 100 EFI_ENTRY("%p, %p, %d, %p, %p", this, file_path, boot_policy, 109 if (file_path->type != dp_lf2_handle.end.type || 110 file_path->sub_type != dp_lf2_handle.end.sub_type) { 91 efi_load_file2_initrd(struct efi_load_file_protocol *this, struct efi_device_path *file_path, bool boot_policy, efi_uintn_t *buffer_size, void *buffer) argument
|
H A D | efi_load_options.c | 84 lo->file_path = (struct efi_device_path *)data; 85 if (efi_dp_check_length(lo->file_path, len) < 0) 135 memcpy(p, lo->file_path, lo->file_path_length);
|
H A D | efi_bootmgr.c | 555 * @file_path: file path 558 * If @file_path contains a file name, load the file. 559 * If @file_path does not have a file name, search the architecture-specific 569 static efi_status_t try_load_from_media(struct efi_device_path *file_path, argument 575 struct efi_device_path *final_dp = file_path; 577 handle_blkdev = efi_dp_find_obj(file_path, &efi_block_io_guid, &rem); 599 * Attempt to load load-option number 'n', returning device_path and file_path 637 log_debug("trying to load \"%ls\" from %pD\n", lo.label, lo.file_path); 639 if (EFI_DP_TYPE(lo.file_path, MEDIA_DEVICE, FILE_PATH)) { 640 /* file_path does [all...] |
H A D | efi_boottime.c | 1780 * @file_path: file path of the loaded image 1786 struct efi_device_path *file_path, 1813 info->file_path = file_path; 1819 dp = efi_dp_concat(device_path, file_path, false); 1939 * @file_path: the path of the image to load 1945 efi_status_t efi_load_image_from_file(struct efi_device_path *file_path, argument 1954 f = efi_file_from_path(file_path); 1994 * @file_path: the path of the image to load 2001 struct efi_device_path *file_path, 1785 efi_setup_loaded_image(struct efi_device_path *device_path, struct efi_device_path *file_path, struct efi_loaded_image_obj **handle_ptr, struct efi_loaded_image **info_ptr) argument 2000 efi_load_image_from_path(bool boot_policy, struct efi_device_path *file_path, void **buffer, efi_uintn_t *size) argument 2081 efi_load_image(bool boot_policy, efi_handle_t parent_image, struct efi_device_path *file_path, void *source_buffer, efi_uintn_t source_size, efi_handle_t *image_handle) argument [all...] |
H A D | efi_disk.c | 328 struct efi_device_path *file_path; local 332 ret = efi_dp_split_file_path(full_path, &device_path, &file_path); 335 efi_free_pool(file_path);
|
H A D | helloworld.c | 220 ret = print_device_path(loaded_image->file_path, device_path_to_text);
|
H A D | efi_device_path.c | 1006 * @file_path: relative path of the file or NULL if there is none 1011 struct efi_device_path **file_path) 1016 *file_path = NULL; 1035 *file_path = fp; 1147 struct efi_device_path *fp = lo->file_path; 1009 efi_dp_split_file_path(struct efi_device_path *full_path, struct efi_device_path **device_path, struct efi_device_path **file_path) argument
|
H A D | efi_image_loader.c | 76 if (image->file_path) 77 printf(" '%pD'", image->file_path);
|
/u-boot/include/ |
H A D | bootmeth.h | 116 * @file_path: Path to file (may be absolute or relative) 124 const char *file_path, ulong addr, ulong *sizep); 228 * @file_path: Path to file (may be absolute or relative) 236 const char *file_path, ulong addr, ulong *sizep); 363 * @file_path: Path to file 369 const char *file_path, ulong addr, ulong *sizep);
|
H A D | pxe_utils.h | 83 typedef int (*pxe_getfile_func)(struct pxe_context *ctx, const char *file_path, 104 * @file_path: Path to the file 131 * Retrieve the file at 'file_path' to the locate given by 'file_addr'. If 133 * prepended to 'file_path' and the resulting path will be used. 136 * @file_path: Path to file 140 int get_pxe_file(struct pxe_context *ctx, const char *file_path,
|
H A D | efi_loader.h | 663 struct efi_device_path *file_path, 810 struct efi_device_path *file_path, 862 struct efi_device_path **file_path); 941 struct efi_device_path *file_path; member in struct:efi_load_option
|
/u-boot/boot/ |
H A D | bootmeth_pxe.c | 26 static int extlinux_pxe_getfile(struct pxe_context *ctx, const char *file_path, argument 37 ret = bootmeth_read_file(info->dev, info->bflow, file_path, addr, 116 const char *file_path, ulong addr, 127 tftp_argv[2] = (void *)file_path; 115 extlinux_pxe_read_file(struct udevice *dev, struct bootflow *bflow, const char *file_path, ulong addr, ulong *sizep) argument
|
H A D | bootmeth_sandbox.c | 31 const char *file_path, ulong addr, ulong *sizep) 30 sandbox_read_file(struct udevice *dev, struct bootflow *bflow, const char *file_path, ulong addr, ulong *sizep) argument
|
H A D | bootmeth-uclass.c | 87 const char *file_path, ulong addr, ulong *sizep) 94 return ops->read_file(dev, bflow, file_path, addr, sizep); 363 const char *file_path, ulong addr, ulong *sizep) 377 ret = fs_size(file_path, &size); 387 ret = fs_read(file_path, addr, 0, 0, &len_read); 86 bootmeth_read_file(struct udevice *dev, struct bootflow *bflow, const char *file_path, ulong addr, ulong *sizep) argument 362 bootmeth_common_read_file(struct udevice *dev, struct bootflow *bflow, const char *file_path, ulong addr, ulong *sizep) argument
|
H A D | bootmeth_extlinux.c | 38 static int extlinux_getfile(struct pxe_context *ctx, const char *file_path, argument 49 ret = bootmeth_read_file(info->dev, info->bflow, file_path, addr,
|
H A D | bootmeth_efi_mgr.c | 78 const char *file_path, ulong addr, ulong *sizep) 77 efi_mgr_read_file(struct udevice *dev, struct bootflow *bflow, const char *file_path, ulong addr, ulong *sizep) argument
|
H A D | bootmeth_qfw.c | 56 const char *file_path, ulong addr, ulong *sizep) 55 qfw_read_file(struct udevice *dev, struct bootflow *bflow, const char *file_path, ulong addr, ulong *sizep) argument
|
H A D | pxe_utils.c | 90 * the bootfile path is NULL, we use file_path as is. 93 * @file_path: File path to read (relative to the PXE file) 98 static int get_relfile(struct pxe_context *ctx, const char *file_path, argument 107 if (file_path[0] == '/' && ctx->allow_abs_path) 112 path_len = strlen(file_path) + strlen(relfile); 115 printf("Base path too long (%s%s)\n", relfile, file_path); 120 strcat(relfile, file_path); 141 * @file_path: File path to read (relative to the PXE file) 145 int get_pxe_file(struct pxe_context *ctx, const char *file_path, argument 152 err = get_relfile(ctx, file_path, file_add 206 get_relfile_envaddr(struct pxe_context *ctx, const char *file_path, const char *envaddr_name, ulong *filesizep) argument [all...] |
H A D | vbe_simple.c | 164 const char *file_path, ulong addr, ulong *sizep) 169 ret = bootmeth_common_read_file(dev, bflow, file_path, addr, 163 vbe_simple_read_file(struct udevice *dev, struct bootflow *bflow, const char *file_path, ulong addr, ulong *sizep) argument
|
/u-boot/cmd/ |
H A D | sysboot.c | 25 static int sysboot_read_file(struct pxe_context *ctx, const char *file_path, argument 37 ret = fs_read(file_path, addr, 0, 0, &len_read);
|
H A D | efidebug.c | 382 *image_path = efi_dp_str(image->file_path); 716 * @file_path: buffer to set the generated device path pointer 717 * @fp_size: file_path size 723 struct efi_device_path **file_path, 765 *file_path = &uridp->dp; 795 struct efi_device_path *file_path = NULL; local 855 file_path = efi_dp_shorten(fp_free); 856 if (!file_path) 857 file_path = fp_free; 858 fp_size += efi_dp_size(file_path) 721 efi_boot_add_uri(int argc, char *const argv[], u16 *var_name16, size_t var_name16_size, struct efi_load_option *lo, struct efi_device_path **file_path, efi_uintn_t *fp_size) argument [all...] |
H A D | pxe.c | 29 static int do_get_tftp(struct pxe_context *ctx, const char *file_path, argument 37 tftp_argv[2] = (void *)file_path;
|
/u-boot/scripts/ |
H A D | gen_compile_commands.py | 24 _LINE_PATTERN = r'^(saved)?cmd_[^ ]*\.o := (?P<command_prefix>.* )(?P<file_path>[^ ]*\.[cS]) *(;|$)' 154 def process_line(root_directory, command_prefix, file_path): 161 file_path: The .c file from the end of the extracted command. 168 ValueError: Could not find the extracted file based on file_path and 178 abs_path = os.path.realpath(os.path.join(root_directory, file_path)) 184 'command': prefix + file_path, 219 result.group('file_path'))
|
/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_load_file.c | 204 * @file_path: remaining device path 210 struct efi_device_path *file_path, 216 if (memcmp(file_path, dp_lf_file_remainder, 241 * @file_path: remaining device path 247 struct efi_device_path *file_path, 253 if (memcmp(file_path, dp_lf2_file_remainder, 209 load_file(struct efi_load_file_protocol *this, struct efi_device_path *file_path, bool boot_policy, efi_uintn_t *buffer_size, void *buffer) argument 246 load_file2(struct efi_load_file_protocol *this, struct efi_device_path *file_path, bool boot_policy, efi_uintn_t *buffer_size, void *buffer) argument
|