Home
last modified time | relevance | path

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

/openbmc/u-boot/fs/sandbox/
H A Dsandboxfs.c20 loff_t maxsize, loff_t *actread) in sandbox_fs_read_at() argument
50 *actread = size; in sandbox_fs_read_at()
121 loff_t *actread) in fs_read_sandbox() argument
125 ret = sandbox_fs_read_at(filename, offset, buf, len, actread); in fs_read_sandbox()
/openbmc/u-boot/drivers/misc/
H A Dfs_loader.c140 loff_t actread; in fw_get_filesystem_firmware() local
174 firmwarep->offset, firmwarep->size, &actread); in fw_get_filesystem_firmware()
178 ret, firmwarep->name, actread, firmwarep->size); in fw_get_filesystem_firmware()
180 ret = actread; in fw_get_filesystem_firmware()
/openbmc/u-boot/include/
H A Dsandboxfs.h24 loff_t maxsize, loff_t *actread);
33 loff_t *actread);
H A Dext4fs.h139 int ext4fs_read(char *buf, loff_t offset, loff_t len, loff_t *actread);
153 loff_t *actread);
H A Dubifs_uboot.h28 loff_t size, loff_t *actread);
H A Dfat.h194 loff_t maxsize, loff_t *actread);
202 loff_t *actread);
H A Dfs.h86 loff_t *actread);
/openbmc/u-boot/fs/ext4/
H A Dext4fs.c49 loff_t len, char *buf, loff_t *actread) in ext4fs_read_file() argument
161 *actread = len; in ext4fs_read_file()
202 int ext4fs_read(char *buf, loff_t offset, loff_t len, loff_t *actread) in ext4fs_read() argument
207 return ext4fs_read_file(ext4fs_file, offset, len, buf, actread); in ext4fs_read()
H A Dext4_common.h53 char *buf, loff_t *actread);
H A Dext4_common.c2011 loff_t actread; in ext4fs_iterate_dir() local
2029 (char *)&dirent, &actread); in ext4fs_iterate_dir()
2047 &actread); in ext4fs_iterate_dir()
2146 loff_t actread; in ext4fs_read_symlink() local
2163 symlink, &actread); in ext4fs_read_symlink()
2164 if ((status < 0) || (actread == 0)) { in ext4fs_read_symlink()
/openbmc/u-boot/common/spl/
H A Dspl_fat.c44 loff_t actread; in spl_fit_read() local
48 ret = fat_read_file(filename, buf, file_offset, size, &actread); in spl_fit_read()
52 return actread; in spl_fit_read()
/openbmc/u-boot/fs/
H A Dfs.c81 loff_t *actread) in fs_read_unsupported() argument
136 loff_t len, loff_t *actread);
469 int do_lmb_check, loff_t *actread) in _fs_read() argument
488 ret = info->read(filename, buf, offset, len, actread); in _fs_read()
492 if (ret == 0 && len && *actread != len) in _fs_read()
500 loff_t *actread) in fs_read() argument
502 return _fs_read(filename, addr, offset, len, 0, actread); in fs_read()
/openbmc/u-boot/fs/ubifs/
H A Dubifs.c844 loff_t size, loff_t *actread) in ubifs_read() argument
855 *actread = 0; in ubifs_read()
918 *actread = i * PAGE_SIZE; in ubifs_read()
920 *actread = size; in ubifs_read()
938 loff_t actread; in ubifs_load() local
943 err = ubifs_read(filename, (void *)(uintptr_t)addr, 0, size, &actread); in ubifs_load()
945 env_set_hex("filesize", actread); in ubifs_load()
/openbmc/u-boot/drivers/fpga/
H A Dzynqpl.c421 loff_t blocksize, actread; in zynq_loadfs() local
435 if (fs_read(filename, (u32) buf, pos, blocksize, &actread) < 0) in zynq_loadfs()
458 if (fs_read(filename, (u32) buf, pos, blocksize, &actread) < 0) in zynq_loadfs()
461 if (fs_read(filename, (u32) buf, pos, bsize, &actread) < 0) in zynq_loadfs()
/openbmc/u-boot/fs/btrfs/
H A Dbtrfs.c174 loff_t *actread) in btrfs_read() argument
206 *actread = rd; in btrfs_read()
/openbmc/u-boot/fs/fat/
H A Dfat.c1133 loff_t maxsize, loff_t *actread) in file_fat_read_at() argument
1159 ret = get_contents(&fsdata, dentptr, pos, buffer, maxsize, actread); in file_fat_read_at()
1170 loff_t actread; in file_fat_read() local
1173 ret = file_fat_read_at(filename, 0, buffer, maxsize, &actread); in file_fat_read()
1177 return actread; in file_fat_read()
1181 loff_t *actread) in fat_read_file() argument
1185 ret = file_fat_read_at(filename, offset, buf, len, actread); in fat_read_file()
/openbmc/u-boot/lib/efi_loader/
H A Defi_file.c305 loff_t actread; in file_read() local
308 *buffer_size, &actread)) in file_read()
311 *buffer_size = actread; in file_read()
312 fh->offset += actread; in file_read()
/openbmc/u-boot/common/
H A Dsplash_source.c219 loff_t actread; in splash_load_fs() local
255 res = fs_read(splash_file, bmp_load_addr, 0, 0, &actread); in splash_load_fs()