Searched refs:f_inode (Results 1 – 3 of 3) sorted by relevance
99 file->f_inode = found_inode; in ext2_open()119 rc = ext2_inode_sync(f->f_inode); in ext2_close()124 rc = ext2_inode_drop(f->f_inode); in ext2_close()143 ssize_t r = ext2_inode_read(f->f_inode, dest, f->f_off, nbytes); 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()189 new_off = f->f_inode->i_size + off; in ext2_lseek()197 if (new_off < 0 || new_off > f->f_inode->i_size) { in ext2_lseek()219 int rc = ext2_inode_trunc(f->f_inode, length); in ext2_truncate()231 int rc = ext2_inode_sync(f->f_inode); in ext2_sync()[all …]
208 struct ext2_inode *f_inode; member
801 if (dir->f_off >= dir->f_inode->i_size) { in ext2_get_direntry()807 struct ext2_data *fs = dir->f_inode->i_fs; in ext2_get_direntry()816 rc = ext2_fetch_inode_block(dir->f_inode, block); in ext2_get_direntry()823 EXT2_DISK_DIRENTRY_BY_OFFSET(inode_current_block_mem(dir->f_inode), block_off); in ext2_get_direntry()