Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 25 of 198) sorted by relevance

12345678

/u-boot/fs/sandbox/
A Dsandboxfs.c21 int sandbox_fs_read_at(const char *filename, loff_t pos, void *buffer, in sandbox_fs_read_at() argument
27 fd = os_open(filename, OS_O_RDONLY); in sandbox_fs_read_at()
36 ret = os_get_filesize(filename, &size); in sandbox_fs_read_at()
64 fd = os_open(filename, OS_O_RDWR | OS_O_CREAT); in sandbox_fs_write_at()
104 int sandbox_fs_exists(const char *filename) in sandbox_fs_exists() argument
109 ret = os_get_filesize(filename, &size); in sandbox_fs_exists()
113 int sandbox_fs_size(const char *filename, loff_t *size) in sandbox_fs_size() argument
115 return os_get_filesize(filename, size); in sandbox_fs_size()
127 ret = sandbox_fs_read_at(filename, offset, buf, len, actread); in fs_read_sandbox()
129 printf("** Unable to read file %s **\n", filename); in fs_read_sandbox()
[all …]
/u-boot/cmd/
A Dreiser.c35 char *filename = "/"; in do_reiserls() local
48 filename = argv[3]; in do_reiserls()
61 if (reiserfs_ls (filename)) { in do_reiserls()
81 char *filename = NULL; in do_reiserload() local
97 filename = env_get("bootfile"); in do_reiserload()
102 filename = env_get("bootfile"); in do_reiserload()
107 filename = argv[4]; in do_reiserload()
112 filename = argv[4]; in do_reiserload()
120 if (!filename) { in do_reiserload()
132 filename, argv[1], dev, in do_reiserload()
[all …]
A Dubifs.c87 char *filename = "/"; in do_ubifs_ls() local
96 filename = argv[1]; in do_ubifs_ls()
97 debug("Using filename %s\n", filename); in do_ubifs_ls()
99 ret = ubifs_ls(filename); in do_ubifs_ls()
101 printf("** File not found %s **\n", filename); in do_ubifs_ls()
111 char *filename; in do_ubifs_load() local
129 filename = argv[2]; in do_ubifs_load()
136 debug("Loading file '%s' to address 0x%08x (size %d)\n", filename, addr, size); in do_ubifs_load()
138 ret = ubifs_load(filename, addr, size); in do_ubifs_load()
140 printf("** File not found %s **\n", filename); in do_ubifs_load()
A Dzfs.c38 char *filename = NULL; in do_zfs_load() local
54 filename = env_get("bootfile"); in do_zfs_load()
67 filename = argv[4]; in do_zfs_load()
70 filename = argv[4]; in do_zfs_load()
78 if (!filename) { in do_zfs_load()
89 filename, argv[1], dev, in do_zfs_load()
97 if (zfs_open(&zfile, filename)) { in do_zfs_load()
107 filename, argv[1], dev, part); in do_zfs_load()
136 const char *filename = "/"; in do_zfs_ls() local
146 filename = argv[3]; in do_zfs_ls()
[all …]
A Dcramfs.c79 extern int cramfs_ls (struct part_info *info, char *filename);
100 char *filename; in do_cramfs_load() local
123 filename = env_get("bootfile"); in do_cramfs_load()
124 if (!filename) in do_cramfs_load()
125 filename = "uImage"; in do_cramfs_load()
128 filename = argv[1]; in do_cramfs_load()
133 filename = argv[2]; in do_cramfs_load()
139 size = cramfs_load (offset_virt, &part, filename); in do_cramfs_load()
168 char *filename = "/"; in do_cramfs_ls() local
188 filename = argv[1]; in do_cramfs_ls()
[all …]
A Dyaffs2.c139 char *filename; in do_yrd() local
146 filename = argv[1]; in do_yrd()
148 printf("Reading file %s ", filename); in do_yrd()
150 cmd_yaffs_read_file(filename); in do_yrd()
158 char *filename; in do_ywr() local
167 filename = argv[1]; in do_ywr()
172 filename); in do_ywr()
182 char *filename; in do_yrdm() local
190 filename = argv[1]; in do_yrdm()
200 char *filename; in do_ywrm() local
[all …]
A Djffs2.c480 char *filename; in do_jffs2_fsload() local
486 filename = env_get("bootfile"); in do_jffs2_fsload()
487 if (!filename) in do_jffs2_fsload()
488 filename = "uImage"; in do_jffs2_fsload()
491 filename = argv[1]; in do_jffs2_fsload()
496 filename = argv[2]; in do_jffs2_fsload()
510 size = cramfs_load ((char *) offset, part, filename); in do_jffs2_fsload()
541 char *filename = "/"; in do_jffs2_ls() local
546 filename = argv[1]; in do_jffs2_ls()
556 ret = cramfs_ls (part, filename); in do_jffs2_ls()
[all …]
A Dsysboot.c64 char *filename; in do_sysboot() local
87 filename = env_get("bootfile"); in do_sysboot()
89 filename = argv[5]; in do_sysboot()
90 env_set("bootfile", filename); in do_sysboot()
111 if (get_pxe_file(cmdtp, filename, pxefile_addr_r) < 0) { in do_sysboot()
/u-boot/include/
A Dsandboxfs.h26 int sandbox_fs_read_at(const char *filename, loff_t pos, void *buffer,
28 int sandbox_fs_write_at(const char *filename, loff_t pos, void *buffer,
33 int sandbox_fs_exists(const char *filename);
34 int sandbox_fs_size(const char *filename, loff_t *size);
35 int fs_read_sandbox(const char *filename, void *buf, loff_t offset, loff_t len,
37 int fs_write_sandbox(const char *filename, void *buf, loff_t offset,
A Dsquashfs.h15 int sqfs_opendir(const char *filename, struct fs_dir_stream **dirsp);
19 int sqfs_read(const char *filename, void *buf, loff_t offset,
21 int sqfs_size(const char *filename, loff_t *size);
22 int sqfs_exists(const char *filename);
A Dubifs_uboot.h24 int ubifs_load(char *filename, u32 addr, u32 size);
28 int ubifs_exists(const char *filename);
29 int ubifs_size(const char *filename, loff_t *size);
30 int ubifs_read(const char *filename, void *buf, loff_t offset,
A Dfs.h113 int fs_exists(const char *filename);
122 int fs_size(const char *filename, loff_t *size);
137 int fs_read(const char *filename, ulong addr, loff_t offset, loff_t len,
152 int fs_write(const char *filename, ulong addr, loff_t offset, loff_t len,
187 struct fs_dir_stream *fs_opendir(const char *filename);
219 int fs_unlink(const char *filename);
227 int fs_mkdir(const char *filename);
A Dext4fs.h138 int ext4fs_filename_unlink(char *filename);
141 int ext4_write_file(const char *filename, void *buf, loff_t offset, loff_t len,
147 int ext4fs_open(const char *filename, loff_t *len);
153 int ext4fs_exists(const char *filename);
154 int ext4fs_size(const char *filename, loff_t *size);
162 int ext4_read_file(const char *filename, void *buf, loff_t offset, loff_t len,
A Dfat.h201 int fat_exists(const char *filename);
202 int fat_size(const char *filename, loff_t *size);
203 int file_fat_read_at(const char *filename, loff_t pos, void *buffer,
205 int file_fat_read(const char *filename, void *buffer, int maxsize);
209 int file_fat_write(const char *filename, void *buf, loff_t offset, loff_t len,
211 int fat_read_file(const char *filename, void *buf, loff_t offset, loff_t len,
213 int fat_opendir(const char *filename, struct fs_dir_stream **dirsp);
216 int fat_unlink(const char *filename);
/u-boot/arch/arm/dts/
A Dsocfpga_soc64_fit-u-boot.dtsi18 filename = "u-boot.itb";
34 filename = "u-boot-nodtb.bin";
48 filename = "bl31.bin";
58 filename = "u-boot.dtb";
76 filename = "kernel.itb";
92 filename = "Image";
103 filename = "linux.dtb";
126 filename = "signed-bl31.bin";
130 filename = "signed-u-boot.dtb";
134 filename = "signed-Image";
[all …]
/u-boot/drivers/block/
A Dsandbox.c113 if (!filename)
120 fname = strdup(filename);
126 fd = os_open(filename, OS_O_RDWR);
140 host_dev->filename = fname;
163 int host_dev_bind(int dev, char *filename) argument
173 if (host_dev->filename)
174 free(host_dev->filename);
175 if (filename && *filename) {
176 host_dev->filename = strdup(filename);
178 host_dev->filename = NULL;
[all …]
/u-boot/common/spl/
A Dspl_fat.c48 char *filename = (char *)load->filename; in spl_fit_read() local
50 ret = fat_read_file(filename, buf, file_offset, size, &actread); in spl_fit_read()
59 const char *filename) in spl_load_image_fat() argument
70 err = file_fat_read(filename, header, sizeof(struct image_header)); in spl_load_image_fat()
76 err = file_fat_read(filename, (void *)CONFIG_SYS_LOAD_ADDR, 0); in spl_load_image_fat()
92 load.filename = (void *)filename; in spl_load_image_fat()
101 err = file_fat_read(filename, in spl_load_image_fat()
109 __func__, filename, err); in spl_load_image_fat()
/u-boot/fs/
A Dfs.c150 int (*exists)(const char *filename);
465 int fs_exists(const char *filename) in fs_exists() argument
471 ret = info->exists(filename); in fs_exists()
484 ret = info->size(filename, size); in fs_size()
641 ret = info->unlink(filename); in fs_unlink()
701 const char *filename; in do_load() local
731 filename = argv[4]; in do_load()
733 filename = env_get("bootfile"); in do_load()
734 if (!filename) { in do_load()
805 const char *filename; in do_save() local
[all …]
/u-boot/test/py/
A Du_boot_utils.py256 def __init__(self, log, filename): argument
268 self.filename = filename
276 if os.path.exists(self.filename):
277 filename_timestamp = os.path.getmtime(self.filename)
280 self.filename)
281 os.unlink(self.filename)
286 os.path.unlink(self.filename)
292 filename_timestamp = os.path.getmtime(self.filename)
299 os.utime(self.filename)
302 def persistent_file_helper(u_boot_log, filename): argument
[all …]
/u-boot/arch/x86/dts/
A Du-boot.dtsi19 filename = "u-boot.rom";
26 filename = CONFIG_FLASH_DESCRIPTOR_FILE;
29 filename = CONFIG_INTEL_ME_FILE;
107 filename = CONFIG_FSP_FILE;
113 filename = CONFIG_FLASH_DESCRIPTOR_FILE;
116 filename = CONFIG_IFWI_INPUT_FILE;
135 filename = CONFIG_FSP_FILE_M;
138 filename = CONFIG_FSP_FILE_S;
147 filename = CONFIG_CMC_FILE;
153 filename = CONFIG_VGA_BIOS_FILE;
[all …]
/u-boot/scripts/dtc/
A Dutil.c238 if (strcmp(filename, "-") != 0) { in utilfdt_read_err_len()
239 fd = open(filename, O_RDONLY); in utilfdt_read_err_len()
271 int utilfdt_read_err(const char *filename, char **buffp) in utilfdt_read_err() argument
274 return utilfdt_read_err_len(filename, buffp, &len); in utilfdt_read_err()
277 char *utilfdt_read_len(const char *filename, off_t *len) in utilfdt_read_len() argument
280 int ret = utilfdt_read_err_len(filename, &buff, len); in utilfdt_read_len()
291 char *utilfdt_read(const char *filename) in utilfdt_read() argument
294 return utilfdt_read_len(filename, &len); in utilfdt_read()
305 if (strcmp(filename, "-") != 0) { in utilfdt_write_err()
329 int utilfdt_write(const char *filename, const void *blob) in utilfdt_write() argument
[all …]
A Dutil.h103 char *utilfdt_read(const char *filename);
110 char *utilfdt_read_len(const char *filename, off_t *len);
121 int utilfdt_read_err(const char *filename, char **buffp);
128 int utilfdt_read_err_len(const char *filename, char **buffp, off_t *len);
138 int utilfdt_write(const char *filename, const void *blob);
149 int utilfdt_write_err(const char *filename, const void *blob);
/u-boot/tools/binman/etype/
A Dblob_named_by_arg.py33 filename, = self.GetEntryArgsOrProps(
35 if filename:
36 self._filename = filename
/u-boot/tools/binman/test/
A D186_compress_extra.dts15 filename = "compress";
25 filename = "compress";
29 filename = "compress";
/u-boot/tools/buildman/
A Dkconfiglib.py1054 self.top_node.filename = filename
1070 self.filename = filename
1216 if filename is None:
1452 if filename is None:
1568 if filename is None:
2194 .format(self.filename, self.linenr, filename,
2935 node.filename = self.filename
3021 node.filename = self.filename
3041 node.filename = self.filename
3073 node.filename = self.filename
[all …]

Completed in 158 milliseconds

12345678