Lines Matching refs:ip2
2626 struct xfs_inode *ip2, /* in: inode of new entry */
2647 if (ip2)
2648 i_tab[i++] = ip2;
2695 struct xfs_inode *ip2,
2704 error = xfs_dir_replace(tp, dp1, name1, ip2->i_ino, spaceres);
2721 if (S_ISDIR(VFS_I(ip2)->i_mode)) {
2722 error = xfs_dir_replace(tp, ip2, &xfs_name_dotdot,
2727 /* transfer ip2 ".." reference to dp1 */
2752 if (!S_ISDIR(VFS_I(ip2)->i_mode)) {
2760 * Although ip2 isn't changed here, userspace needs
2775 xfs_trans_ichgtime(tp, ip2, ip2_flags);
2776 xfs_trans_log_inode(tp, ip2, XFS_ILOG_CORE);
3541 struct xfs_inode *ip2)
3547 if (ip1->i_ino > ip2->i_ino)
3548 swap(ip1, ip2);
3562 if (ip1 == ip2)
3566 xfs_ilock(ip2, xfs_lock_inumorder(XFS_MMAPLOCK_EXCL, 1));
3572 page = dax_layout_busy_page(VFS_I(ip2)->i_mapping);
3574 xfs_iunlock(ip2, XFS_MMAPLOCK_EXCL);
3589 struct xfs_inode *ip2)
3593 ret = xfs_iolock_two_inodes_and_break_layout(VFS_I(ip1), VFS_I(ip2));
3597 if (IS_DAX(VFS_I(ip1)) && IS_DAX(VFS_I(ip2))) {
3598 ret = xfs_mmaplock_two_inodes_and_break_dax_layout(ip1, ip2);
3600 inode_unlock(VFS_I(ip2));
3601 if (ip1 != ip2)
3607 VFS_I(ip2)->i_mapping);
3616 struct xfs_inode *ip2)
3618 if (IS_DAX(VFS_I(ip1)) && IS_DAX(VFS_I(ip2))) {
3619 xfs_iunlock(ip2, XFS_MMAPLOCK_EXCL);
3620 if (ip1 != ip2)
3624 VFS_I(ip2)->i_mapping);
3626 inode_unlock(VFS_I(ip2));
3627 if (ip1 != ip2)
3635 struct xfs_inode *ip2)
3639 if (ip1 != ip2)
3641 xfs_iunlock(ip2, XFS_MMAPLOCK_EXCL);
3643 if (ip1 != ip2)
3645 inode_unlock(VFS_I(ip2));