Lines Matching refs:vi
1070 static int ntfs_dir_open(struct inode *vi, struct file *filp) in ntfs_dir_open() argument
1073 if (i_size_read(vi) > MAX_LFS_FILESIZE) in ntfs_dir_open()
1079 static int ntfs_dir_release(struct inode *vi, struct file *filp) in ntfs_dir_release() argument
1113 struct inode *bmp_vi, *vi = filp->f_mapping->host; in ntfs_dir_fsync() local
1114 struct ntfs_volume *vol = NTFS_I(vi)->vol; in ntfs_dir_fsync()
1115 struct ntfs_inode *ni = NTFS_I(vi); in ntfs_dir_fsync()
1138 parent_vi = ntfs_iget(vi->i_sb, MREF_LE(fn->parent_directory)); in ntfs_dir_fsync()
1159 inode_lock(vi); in ntfs_dir_fsync()
1162 na.mft_no = vi->i_ino; in ntfs_dir_fsync()
1166 bmp_vi = ilookup5(vi->i_sb, vi->i_ino, ntfs_test_inode, &na); in ntfs_dir_fsync()
1171 ret = __ntfs_write_inode(vi, 1); in ntfs_dir_fsync()
1173 write_inode_now(vi, !datasync); in ntfs_dir_fsync()
1181 err = sync_blockdev(vi->i_sb->s_bdev); in ntfs_dir_fsync()
1187 ntfs_warning(vi->i_sb, in ntfs_dir_fsync()
1190 inode_unlock(vi); in ntfs_dir_fsync()