Lines Matching refs:tdp
2581 xfs_inode_t *tdp, *sip; in xfs_link() local
2616 tdp = XFS_BHVTOI(target_dir_bdp); in xfs_link()
2617 mp = tdp->i_mount; in xfs_link()
2621 if (DM_EVENT_ENABLED(src_vp->v_vfsp, tdp, DM_EVENT_LINK)) { in xfs_link()
2633 if (!error && sip != tdp) in xfs_link()
2634 error = XFS_QM_DQATTACH(mp, tdp, 0); in xfs_link()
2653 if (sip->i_ino < tdp->i_ino) { in xfs_link()
2655 ips[1] = tdp; in xfs_link()
2657 ips[0] = tdp; in xfs_link()
2671 xfs_trans_ijoin(tp, tdp, XFS_ILOCK_EXCL); in xfs_link()
2682 (error = XFS_DIR_CANENTER(mp, tp, tdp, target_name, in xfs_link()
2688 error = XFS_DIR_CREATENAME(mp, tp, tdp, target_name, target_namelen, in xfs_link()
2693 xfs_ichgtime(tdp, XFS_ICHGTIME_MOD | XFS_ICHGTIME_CHG); in xfs_link()
2694 tdp->i_gen++; in xfs_link()
2695 xfs_trans_log_inode(tp, tdp, XFS_ILOG_CORE); in xfs_link()