Lines Matching refs:vi
1451 static int ntfs_dir_open(struct inode *vi, struct file *filp) in ntfs_dir_open() argument
1454 if (i_size_read(vi) > MAX_LFS_FILESIZE) in ntfs_dir_open()
1490 struct inode *bmp_vi, *vi = filp->f_mapping->host; in ntfs_dir_fsync() local
1494 ntfs_debug("Entering for inode 0x%lx.", vi->i_ino); in ntfs_dir_fsync()
1499 inode_lock(vi); in ntfs_dir_fsync()
1501 BUG_ON(!S_ISDIR(vi->i_mode)); in ntfs_dir_fsync()
1503 na.mft_no = vi->i_ino; in ntfs_dir_fsync()
1507 bmp_vi = ilookup5(vi->i_sb, vi->i_ino, ntfs_test_inode, &na); in ntfs_dir_fsync()
1512 ret = __ntfs_write_inode(vi, 1); in ntfs_dir_fsync()
1513 write_inode_now(vi, !datasync); in ntfs_dir_fsync()
1514 err = sync_blockdev(vi->i_sb->s_bdev); in ntfs_dir_fsync()
1520 ntfs_warning(vi->i_sb, "Failed to f%ssync inode 0x%lx. Error " in ntfs_dir_fsync()
1521 "%u.", datasync ? "data" : "", vi->i_ino, -ret); in ntfs_dir_fsync()
1522 inode_unlock(vi); in ntfs_dir_fsync()