Home
last modified time | relevance | path

Searched refs:actread (Results 1 – 24 of 24) sorted by relevance

/u-boot/fs/
A Dsemihostingfs.c24 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 Dfs.c101 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 Dsandboxfs.c22 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 Dsandboxfs.h27 loff_t maxsize, loff_t *actread);
36 loff_t *actread);
A Dsemihostingfs.h17 loff_t *actread);
A Dsquashfs.h20 loff_t len, loff_t *actread);
A Dext4fs.h148 int ext4fs_read(char *buf, loff_t offset, loff_t len, loff_t *actread);
163 loff_t *actread);
A Dubifs_uboot.h31 loff_t size, loff_t *actread);
A Derofs.h12 loff_t len, loff_t *actread);
A Dfs.h152 loff_t *actread);
A Dfat.h210 loff_t *actread);
/u-boot/common/spl/
A Dspl_fat.c46 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 Dfs.c220 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 Dfs_loader.c152 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 Dsqfs.c1321 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 Dext4fs.c53 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 Dext4_common.h54 char *buf, loff_t *actread);
A Dext4_common.c2055 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 Dubifs.c836 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 Dzynqpl.c429 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 Dbtrfs.c227 loff_t *actread) in btrfs_read() argument
267 *actread = len; in btrfs_read()
/u-boot/common/
A Dsplash_source.c260 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 Dfat.c1247 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 Defi_file.c460 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()

Completed in 474 milliseconds