Lines Matching refs:wip
2667 struct xfs_inode *wip, /* in: whiteout inode */ in xfs_sort_for_rename() argument
2689 if (wip) in xfs_sort_for_rename()
2690 i_tab[i++] = wip; in xfs_sort_for_rename()
2846 struct xfs_inode **wip) in xfs_rename_alloc_whiteout() argument
2864 *wip = tmpfile; in xfs_rename_alloc_whiteout()
2883 struct xfs_inode *wip = NULL; /* whiteout inode */ in xfs_rename() local
2902 error = xfs_rename_alloc_whiteout(target_dp, &wip); in xfs_rename()
2910 xfs_sort_for_rename(src_dp, target_dp, src_ip, target_ip, wip, in xfs_rename()
2949 if (wip) in xfs_rename()
2950 xfs_trans_ijoin(tp, wip, XFS_ILOCK_EXCL); in xfs_rename()
3008 if (wip) { in xfs_rename()
3009 ASSERT(VFS_I(wip)->i_nlink == 0); in xfs_rename()
3010 error = xfs_iunlink_remove(tp, wip); in xfs_rename()
3014 xfs_bumplink(tp, wip); in xfs_rename()
3015 xfs_trans_log_inode(tp, wip, XFS_ILOG_CORE); in xfs_rename()
3016 VFS_I(wip)->i_state &= ~I_LINKABLE; in xfs_rename()
3123 if (wip) { in xfs_rename()
3124 error = xfs_dir_replace(tp, src_dp, src_name, wip->i_ino, in xfs_rename()
3138 if (wip) in xfs_rename()
3139 xfs_irele(wip); in xfs_rename()
3145 if (wip) in xfs_rename()
3146 xfs_irele(wip); in xfs_rename()