Lines Matching refs:VFS_I

427 			error = filemap_write_and_wait(VFS_I(ip)->i_mapping);  in xfs_getbmap()
603 if (!S_ISREG(VFS_I(ip)->i_mode)) in xfs_can_free_eofblocks()
610 if (VFS_I(ip)->i_size == 0 && in xfs_can_free_eofblocks()
611 VFS_I(ip)->i_mapping->nrpages == 0 && in xfs_can_free_eofblocks()
678 inode_dio_wait(VFS_I(ip)); in xfs_free_eofblocks()
911 struct inode *inode = VFS_I(ip); in xfs_flush_unmap_range()
979 error = iomap_zero_range(VFS_I(ip), offset, len, NULL, in xfs_free_file_space()
991 error = filemap_write_and_wait_range(VFS_I(ip)->i_mapping, in xfs_free_file_space()
1226 (!uid_eq(VFS_I(ip)->i_uid, VFS_I(tip)->i_uid) || in xfs_swap_extents_check_format()
1227 !gid_eq(VFS_I(ip)->i_gid, VFS_I(tip)->i_gid) || in xfs_swap_extents_check_format()
1304 error = filemap_write_and_wait(VFS_I(ip)->i_mapping); in xfs_swap_extent_flush()
1307 truncate_pagecache_range(VFS_I(ip), 0, -1); in xfs_swap_extent_flush()
1310 if (VFS_I(ip)->i_mapping->nrpages) in xfs_swap_extent_flush()
1348 end_fsb = XFS_B_TO_FSB(ip->i_mount, i_size_read(VFS_I(ip))); in xfs_swap_extent_rmap()
1586 lock_two_nondirectories(VFS_I(ip), VFS_I(tip)); in xfs_swap_extents()
1591 if ((VFS_I(ip)->i_mode & S_IFMT) != (VFS_I(tip)->i_mode & S_IFMT)) { in xfs_swap_extents()
1692 if ((sbp->bs_ctime.tv_sec != VFS_I(ip)->i_ctime.tv_sec) || in xfs_swap_extents()
1693 (sbp->bs_ctime.tv_nsec != VFS_I(ip)->i_ctime.tv_nsec) || in xfs_swap_extents()
1694 (sbp->bs_mtime.tv_sec != VFS_I(ip)->i_mtime.tv_sec) || in xfs_swap_extents()
1695 (sbp->bs_mtime.tv_nsec != VFS_I(ip)->i_mtime.tv_nsec)) { in xfs_swap_extents()
1782 unlock_two_nondirectories(VFS_I(ip), VFS_I(tip)); in xfs_swap_extents()