Searched refs:file_path (Results 1 - 25 of 29) sorted by relevance

12

/u-boot/lib/efi_loader/
H A Defi_bootbin.c126 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 Defi_load_initrd.c16 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 Defi_load_options.c84 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 Defi_bootmgr.c555 * @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 Defi_boottime.c1780 * @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 Defi_disk.c328 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 Dhelloworld.c220 ret = print_device_path(loaded_image->file_path, device_path_to_text);
H A Defi_device_path.c1006 * @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 Defi_image_loader.c76 if (image->file_path)
77 printf(" '%pD'", image->file_path);
/u-boot/include/
H A Dbootmeth.h116 * @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 Dpxe_utils.h83 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 Defi_loader.h663 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 Dbootmeth_pxe.c26 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 Dbootmeth_sandbox.c31 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 Dbootmeth-uclass.c87 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 Dbootmeth_extlinux.c38 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 Dbootmeth_efi_mgr.c78 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 Dbootmeth_qfw.c56 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 Dpxe_utils.c90 * 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 Dvbe_simple.c164 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 Dsysboot.c25 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 Defidebug.c382 *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 Dpxe.c29 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 Dgen_compile_commands.py24 _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 Defi_selftest_load_file.c204 * @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

Completed in 372 milliseconds

12