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

/u-boot/include/
H A Dsandboxfs.h27 loff_t maxsize, loff_t *actread);
36 loff_t *actread);
H A Dsemihostingfs.h17 loff_t *actread);
H A Dsquashfs.h20 loff_t len, loff_t *actread);
H A Derofs.h12 loff_t len, loff_t *actread);
H A Dubifs_uboot.h31 loff_t size, loff_t *actread);
H A Dext4fs.h149 int ext4fs_read(char *buf, loff_t offset, loff_t len, loff_t *actread);
164 loff_t *actread);
H A Dfs.h147 * @actread: returns the actual number of bytes read
148 * Return: 0 if OK with valid *actread, -1 on error conditions
151 loff_t *actread);
H A Dfat.h204 loff_t *actread);
/u-boot/fs/sandbox/
H A Dsandboxfs.c22 loff_t maxsize, loff_t *actread)
52 *actread = size;
123 loff_t *actread)
127 ret = sandbox_fs_read_at(filename, offset, buf, len, actread);
21 sandbox_fs_read_at(const char *filename, loff_t pos, void *buffer, loff_t maxsize, loff_t *actread) argument
122 fs_read_sandbox(const char *filename, void *buf, loff_t offset, loff_t len, loff_t *actread) argument
/u-boot/fs/
H A Dsemihostingfs.c24 loff_t maxsize, loff_t *actread)
51 *actread = size;
98 loff_t *actread)
102 ret = smh_fs_read_at(filename, offset, buf, len, actread);
23 smh_fs_read_at(const char *filename, loff_t pos, void *buffer, loff_t maxsize, loff_t *actread) argument
97 smh_fs_read(const char *filename, void *buf, loff_t offset, loff_t len, loff_t *actread) argument
H A Dfs.c103 loff_t *actread)
163 loff_t len, loff_t *actread);
565 int do_lmb_check, loff_t *actread)
584 ret = info->read(filename, buf, offset, len, actread);
588 if (ret == 0 && len && *actread != len)
596 loff_t *actread)
598 return _fs_read(filename, addr, offset, len, 0, actread);
101 fs_read_unsupported(const char *filename, void *buf, loff_t offset, loff_t len, loff_t *actread) argument
564 _fs_read(const char *filename, ulong addr, loff_t offset, loff_t len, int do_lmb_check, loff_t *actread) argument
595 fs_read(const char *filename, ulong addr, loff_t offset, loff_t len, loff_t *actread) argument
/u-boot/common/spl/
H A Dspl_fat.c52 loff_t actread; local
56 ret = fat_read_file(filename, buf, file_offset, size, &actread);
60 return actread;
/u-boot/fs/erofs/
H A Dfs.c220 loff_t *actread)
240 *actread = 0;
245 *actread = 0;
247 *actread = vi.i_size - offset;
249 *actread = len;
219 erofs_read(const char *filename, void *buf, loff_t offset, loff_t len, loff_t *actread) argument
/u-boot/drivers/misc/
H A Dfs_loader.c152 loff_t actread; local
186 firmwarep->offset, firmwarep->size, &actread);
190 ret, firmwarep->name, actread, firmwarep->size);
192 ret = actread;
/u-boot/fs/ext4/
H A Dext4fs.c53 loff_t len, char *buf, loff_t *actread)
181 *actread = len;
226 int ext4fs_read(char *buf, loff_t offset, loff_t len, loff_t *actread) argument
231 return ext4fs_read_file(ext4fs_file, offset, len, buf, actread);
52 ext4fs_read_file(struct ext2fs_node *node, loff_t pos, loff_t len, char *buf, loff_t *actread) argument
H A Dext4_common.h54 char *buf, loff_t *actread);
H A Dext4_common.c2050 loff_t actread; local
2068 (char *)&dirent, &actread);
2086 &actread);
2185 loff_t actread; local
2202 symlink, &actread);
2203 if ((status < 0) || (actread == 0)) {
/u-boot/fs/squashfs/
H A Dsqfs.c1321 loff_t *actread)
1340 *actread = 0;
1374 *actread = 0;
1414 ret = sqfs_read(resolved, buf, offset, len, actread);
1493 if ((*actread + sparse_size) > len)
1494 sparse_size = len - *actread;
1495 memset(buf + *actread, 0, sparse_size);
1496 *actread += sparse_size;
1504 if ((*actread + dest_len) > len)
1505 dest_len = len - *actread;
1320 sqfs_read(const char *filename, void *buf, loff_t offset, loff_t len, loff_t *actread) argument
[all...]
/u-boot/drivers/fpga/
H A Dzynqpl.c429 loff_t blocksize, actread; local
444 if (fs_read(filename, (u32) buf, pos, blocksize, &actread) < 0)
467 if (fs_read(filename, (u32) buf, pos, blocksize, &actread) < 0)
470 if (fs_read(filename, (u32) buf, pos, bsize, &actread) < 0)
/u-boot/fs/btrfs/
H A Dbtrfs.c227 loff_t *actread)
264 *actread = len;
226 btrfs_read(const char *file, void *buf, loff_t offset, loff_t len, loff_t *actread) argument
/u-boot/fs/ubifs/
H A Dubifs.c830 loff_t size, loff_t *actread)
841 *actread = 0;
904 *actread = i * PAGE_SIZE;
906 *actread = size;
924 loff_t actread; local
929 err = ubifs_read(filename, (void *)(uintptr_t)addr, 0, size, &actread);
931 env_set_hex("filesize", actread);
829 ubifs_read(const char *filename, void *buf, loff_t offset, loff_t size, loff_t *actread) argument
/u-boot/common/
H A Dsplash_source.c260 loff_t actread; local
299 res = fs_read(splash_file, bmp_load_addr, 0, 0, &actread);
/u-boot/fs/fat/
H A Dfat.c1307 loff_t *actread)
1329 ret = get_contents(&fsdata, dentptr, offset, buf, len, actread);
1340 loff_t actread; local
1343 ret = fat_read_file(filename, buffer, 0, maxsize, &actread);
1347 return actread;
1306 fat_read_file(const char *filename, void *buf, loff_t offset, loff_t len, loff_t *actread) argument
/u-boot/test/image/
H A Dspl_load_fs.c265 loff_t actread; local
287 virt_to_phys(data_read), 0, data_size, &actread));
288 ut_asserteq(data_size, actread);
/u-boot/lib/efi_loader/
H A Defi_file.c461 loff_t actread; local
481 *buffer_size, &actread))
484 *buffer_size = actread;
485 fh->offset += actread;

Completed in 300 milliseconds