Lines Matching refs:wip
2651 struct xfs_inode *wip, /* in: whiteout inode */ in xfs_sort_for_rename() argument
2673 if (wip) in xfs_sort_for_rename()
2674 i_tab[i++] = wip; in xfs_sort_for_rename()
2828 struct xfs_inode **wip) in xfs_rename_alloc_whiteout() argument
2857 *wip = tmpfile; in xfs_rename_alloc_whiteout()
2877 struct xfs_inode *wip = NULL; /* whiteout inode */ in xfs_rename() local
2899 target_dp, &wip); in xfs_rename()
2907 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()
3032 if (inodes[i] == wip || in xfs_rename()
3059 if (wip) { in xfs_rename()
3062 ASSERT(VFS_I(wip)->i_nlink == 0); in xfs_rename()
3064 pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, wip->i_ino)); in xfs_rename()
3065 error = xfs_iunlink_remove(tp, pag, wip); in xfs_rename()
3070 xfs_bumplink(tp, wip); in xfs_rename()
3071 VFS_I(wip)->i_state &= ~I_LINKABLE; in xfs_rename()
3176 if (wip) in xfs_rename()
3177 error = xfs_dir_replace(tp, src_dp, src_name, wip->i_ino, in xfs_rename()
3192 if (wip) in xfs_rename()
3193 xfs_irele(wip); in xfs_rename()
3199 if (wip) in xfs_rename()
3200 xfs_irele(wip); in xfs_rename()