Lines Matching refs:VFS_I
64 return blkdev_issue_zeroout(xfs_find_bdev_for_inode(VFS_I(ip)), in xfs_zero_extent()
566 error = filemap_write_and_wait(VFS_I(ip)->i_mapping); in xfs_getbmap()
742 if (!S_ISREG(VFS_I(ip)->i_mode)) in xfs_can_free_eofblocks()
749 if (VFS_I(ip)->i_size == 0 && in xfs_can_free_eofblocks()
750 VFS_I(ip)->i_mapping->nrpages == 0 && in xfs_can_free_eofblocks()
817 inode_dio_wait(VFS_I(ip)); in xfs_free_eofblocks()
1049 struct inode *inode = VFS_I(ip); in xfs_flush_unmap_range()
1116 error = iomap_zero_range(VFS_I(ip), offset, len, NULL, &xfs_iomap_ops); in xfs_free_file_space()
1127 error = filemap_write_and_wait_range(VFS_I(ip)->i_mapping, in xfs_free_file_space()
1453 error = filemap_write_and_wait(VFS_I(ip)->i_mapping); in xfs_swap_extent_flush()
1456 truncate_pagecache_range(VFS_I(ip), 0, -1); in xfs_swap_extent_flush()
1459 if (VFS_I(ip)->i_mapping->nrpages) in xfs_swap_extent_flush()
1497 end_fsb = XFS_B_TO_FSB(ip->i_mount, i_size_read(VFS_I(ip))); in xfs_swap_extent_rmap()
1737 lock_two_nondirectories(VFS_I(ip), VFS_I(tip)); in xfs_swap_extents()
1742 if ((VFS_I(ip)->i_mode & S_IFMT) != (VFS_I(tip)->i_mode & S_IFMT)) { in xfs_swap_extents()
1836 if ((sbp->bs_ctime.tv_sec != VFS_I(ip)->i_ctime.tv_sec) || in xfs_swap_extents()
1837 (sbp->bs_ctime.tv_nsec != VFS_I(ip)->i_ctime.tv_nsec) || in xfs_swap_extents()
1838 (sbp->bs_mtime.tv_sec != VFS_I(ip)->i_mtime.tv_sec) || in xfs_swap_extents()
1839 (sbp->bs_mtime.tv_nsec != VFS_I(ip)->i_mtime.tv_nsec)) { in xfs_swap_extents()
1925 unlock_two_nondirectories(VFS_I(ip), VFS_I(tip)); in xfs_swap_extents()