Searched refs:f_off (Results 1 – 3 of 3) sorted by relevance
100 file->f_off = 0; in ext2_open()143 ssize_t r = ext2_inode_read(f->f_inode, dest, f->f_off, nbytes); in ext2_read()148 f->f_off += r; in ext2_read()161 f->f_off = f->f_inode->i_size; in ext2_write()164 ssize_t r = ext2_inode_write(f->f_inode, src, f->f_off, nbytes); in ext2_write()170 f->f_off += r; in ext2_write()185 new_off = f->f_off + off; in ext2_lseek()200 f->f_off = new_off; in ext2_lseek()208 return f->f_off; in ext2_tell()325 dir->f_off = 0; in ext2_opendir()[all …]
209 uint32_t f_off; member
801 if (dir->f_off >= dir->f_inode->i_size) { in ext2_get_direntry()810 uint32_t block = dir->f_off / fs->block_size; in ext2_get_direntry()811 uint32_t block_off = dir->f_off % fs->block_size; in ext2_get_direntry()861 dir->f_off += de->de_rec_len; in ext2_get_direntry()