| /u-boot/fs/ |
| A D | semihostingfs.c | 24 loff_t maxsize, loff_t *actread) in smh_fs_read_at() argument 51 *actread = size; in smh_fs_read_at() 94 loff_t *actread) in smh_fs_read() argument 98 ret = smh_fs_read_at(filename, offset, buf, len, actread); in smh_fs_read()
|
| A D | fs.c | 101 loff_t *actread) in fs_read_unsupported() argument 161 loff_t len, loff_t *actread); 579 int do_lmb_check, loff_t *actread) in _fs_read() argument 598 ret = info->read(filename, buf, offset, len, actread); in _fs_read() 602 if (ret == 0 && len && *actread != len) in _fs_read() 610 loff_t *actread) in fs_read() argument 612 return _fs_read(filename, addr, offset, len, 0, actread); in fs_read()
|
| /u-boot/fs/sandbox/ |
| A D | sandboxfs.c | 22 loff_t maxsize, loff_t *actread) in sandbox_fs_read_at() argument 52 *actread = size; in sandbox_fs_read_at() 123 loff_t *actread) in fs_read_sandbox() argument 127 ret = sandbox_fs_read_at(filename, offset, buf, len, actread); in fs_read_sandbox()
|
| /u-boot/include/ |
| A D | sandboxfs.h | 27 loff_t maxsize, loff_t *actread); 36 loff_t *actread);
|
| A D | semihostingfs.h | 17 loff_t *actread);
|
| A D | squashfs.h | 20 loff_t len, loff_t *actread);
|
| A D | ext4fs.h | 148 int ext4fs_read(char *buf, loff_t offset, loff_t len, loff_t *actread); 163 loff_t *actread);
|
| A D | ubifs_uboot.h | 31 loff_t size, loff_t *actread);
|
| A D | erofs.h | 12 loff_t len, loff_t *actread);
|
| A D | fs.h | 152 loff_t *actread);
|
| A D | fat.h | 210 loff_t *actread);
|
| /u-boot/common/spl/ |
| A D | spl_fat.c | 46 loff_t actread; in spl_fit_read() local 50 ret = fat_read_file(filename, buf, file_offset, size, &actread); in spl_fit_read() 54 return actread; in spl_fit_read()
|
| /u-boot/fs/erofs/ |
| A D | fs.c | 220 loff_t *actread) in erofs_read() argument 240 *actread = 0; in erofs_read() 245 *actread = 0; in erofs_read() 247 *actread = vi.i_size - offset; in erofs_read() 249 *actread = len; in erofs_read()
|
| /u-boot/drivers/misc/ |
| A D | fs_loader.c | 152 loff_t actread; in fw_get_filesystem_firmware() local 186 firmwarep->offset, firmwarep->size, &actread); in fw_get_filesystem_firmware() 190 ret, firmwarep->name, actread, firmwarep->size); in fw_get_filesystem_firmware() 192 ret = actread; in fw_get_filesystem_firmware()
|
| /u-boot/fs/squashfs/ |
| A D | sqfs.c | 1321 loff_t *actread) in sqfs_read() argument 1340 *actread = 0; in sqfs_read() 1374 *actread = 0; in sqfs_read() 1496 *actread += sparse_size; in sqfs_read() 1507 *actread += dest_len; in sqfs_read() 1512 *actread += table_size; in sqfs_read() 1517 if (*actread >= len) in sqfs_read() 1562 memcpy(buf + *actread, &fragment_block[finfo.offset], finfo.size - *actread); in sqfs_read() 1563 *actread = finfo.size; in sqfs_read() 1570 memcpy(buf + *actread, &fragment_block[finfo.offset], finfo.size - *actread); in sqfs_read() [all …]
|
| /u-boot/fs/ext4/ |
| A D | ext4fs.c | 53 loff_t len, char *buf, loff_t *actread) in ext4fs_read_file() argument 181 *actread = len; in ext4fs_read_file() 223 int ext4fs_read(char *buf, loff_t offset, loff_t len, loff_t *actread) in ext4fs_read() argument 228 return ext4fs_read_file(ext4fs_file, offset, len, buf, actread); in ext4fs_read()
|
| A D | ext4_common.h | 54 char *buf, loff_t *actread);
|
| A D | ext4_common.c | 2055 loff_t actread; in ext4fs_iterate_dir() local 2073 (char *)&dirent, &actread); in ext4fs_iterate_dir() 2091 &actread); in ext4fs_iterate_dir() 2190 loff_t actread; in ext4fs_read_symlink() local 2207 symlink, &actread); in ext4fs_read_symlink() 2208 if ((status < 0) || (actread == 0)) { in ext4fs_read_symlink()
|
| /u-boot/fs/ubifs/ |
| A D | ubifs.c | 836 loff_t size, loff_t *actread) in ubifs_read() argument 847 *actread = 0; in ubifs_read() 910 *actread = i * PAGE_SIZE; in ubifs_read() 912 *actread = size; in ubifs_read() 930 loff_t actread; in ubifs_load() local 935 err = ubifs_read(filename, (void *)(uintptr_t)addr, 0, size, &actread); in ubifs_load() 937 env_set_hex("filesize", actread); in ubifs_load()
|
| /u-boot/drivers/fpga/ |
| A D | zynqpl.c | 429 loff_t blocksize, actread; in zynq_loadfs() local 444 if (fs_read(filename, (u32) buf, pos, blocksize, &actread) < 0) in zynq_loadfs() 467 if (fs_read(filename, (u32) buf, pos, blocksize, &actread) < 0) in zynq_loadfs() 470 if (fs_read(filename, (u32) buf, pos, bsize, &actread) < 0) in zynq_loadfs()
|
| /u-boot/fs/btrfs/ |
| A D | btrfs.c | 227 loff_t *actread) in btrfs_read() argument 267 *actread = len; in btrfs_read()
|
| /u-boot/common/ |
| A D | splash_source.c | 260 loff_t actread; in splash_load_fs() local 299 res = fs_read(splash_file, bmp_load_addr, 0, 0, &actread); in splash_load_fs()
|
| /u-boot/fs/fat/ |
| A D | fat.c | 1247 loff_t *actread) in fat_read_file() argument 1269 ret = get_contents(&fsdata, dentptr, offset, buf, len, actread); in fat_read_file() 1280 loff_t actread; in file_fat_read() local 1283 ret = fat_read_file(filename, buffer, 0, maxsize, &actread); in file_fat_read() 1287 return actread; in file_fat_read()
|
| /u-boot/lib/efi_loader/ |
| A D | efi_file.c | 460 loff_t actread; in file_read() local 480 *buffer_size, &actread)) in file_read() 483 *buffer_size = actread; in file_read() 484 fh->offset += actread; in file_read()
|