Lines Matching refs:ip2

1987 	struct xfs_inode	*ip2,	/* in: inode of new entry */  in xfs_sort_for_rename()  argument
2008 if (ip2) in xfs_sort_for_rename()
2009 i_tab[i++] = ip2; in xfs_sort_for_rename()
2704 struct xfs_inode *ip2) in xfs_mmaplock_two_inodes_and_break_dax_layout() argument
2710 if (ip1->i_ino > ip2->i_ino) in xfs_mmaplock_two_inodes_and_break_dax_layout()
2711 swap(ip1, ip2); in xfs_mmaplock_two_inodes_and_break_dax_layout()
2725 if (ip1 == ip2) in xfs_mmaplock_two_inodes_and_break_dax_layout()
2729 xfs_ilock(ip2, xfs_lock_inumorder(XFS_MMAPLOCK_EXCL, 1)); in xfs_mmaplock_two_inodes_and_break_dax_layout()
2735 page = dax_layout_busy_page(VFS_I(ip2)->i_mapping); in xfs_mmaplock_two_inodes_and_break_dax_layout()
2737 xfs_iunlock(ip2, XFS_MMAPLOCK_EXCL); in xfs_mmaplock_two_inodes_and_break_dax_layout()
2752 struct xfs_inode *ip2) in xfs_ilock2_io_mmap() argument
2756 ret = xfs_iolock_two_inodes_and_break_layout(VFS_I(ip1), VFS_I(ip2)); in xfs_ilock2_io_mmap()
2760 if (IS_DAX(VFS_I(ip1)) && IS_DAX(VFS_I(ip2))) { in xfs_ilock2_io_mmap()
2761 ret = xfs_mmaplock_two_inodes_and_break_dax_layout(ip1, ip2); in xfs_ilock2_io_mmap()
2763 inode_unlock(VFS_I(ip2)); in xfs_ilock2_io_mmap()
2764 if (ip1 != ip2) in xfs_ilock2_io_mmap()
2770 VFS_I(ip2)->i_mapping); in xfs_ilock2_io_mmap()
2779 struct xfs_inode *ip2) in xfs_iunlock2_io_mmap() argument
2781 if (IS_DAX(VFS_I(ip1)) && IS_DAX(VFS_I(ip2))) { in xfs_iunlock2_io_mmap()
2782 xfs_iunlock(ip2, XFS_MMAPLOCK_EXCL); in xfs_iunlock2_io_mmap()
2783 if (ip1 != ip2) in xfs_iunlock2_io_mmap()
2787 VFS_I(ip2)->i_mapping); in xfs_iunlock2_io_mmap()
2789 inode_unlock(VFS_I(ip2)); in xfs_iunlock2_io_mmap()
2790 if (ip1 != ip2) in xfs_iunlock2_io_mmap()
2798 struct xfs_inode *ip2) in xfs_iunlock2_remapping() argument
2802 if (ip1 != ip2) in xfs_iunlock2_remapping()
2804 xfs_iunlock(ip2, XFS_MMAPLOCK_EXCL); in xfs_iunlock2_remapping()
2806 if (ip1 != ip2) in xfs_iunlock2_remapping()
2808 inode_unlock(VFS_I(ip2)); in xfs_iunlock2_remapping()