Lines Matching refs:offset
104 loff_t offset, loff_t len,
111 loff_t offset, loff_t len,
170 int (*read)(const char *filename, void *buf, loff_t offset,
172 int (*write)(const char *filename, void *buf, loff_t offset,
577 static int fs_read_lmb_check(const char *filename, ulong addr, loff_t offset,
589 if (offset >= size) {
590 /* offset >= EOF, no bytes will be written */
593 read_len = size - offset;
611 static int _fs_read(const char *filename, ulong addr, loff_t offset, loff_t len,
620 ret = fs_read_lmb_check(filename, addr, offset, len, info);
631 ret = info->read(filename, buf, offset, len, actread);
636 log_debug("** %s shorter than offset + len **\n", filename);
642 int fs_read(const char *filename, ulong addr, loff_t offset, loff_t len,
645 return _fs_read(filename, addr, offset, len, 0, actread);
648 int fs_write(const char *filename, ulong addr, loff_t offset, loff_t len,
656 ret = info->write(filename, buf, offset, len, actwrite);