Lines Matching refs:ntp
90 struct xfs_trans *ntp; in xfs_trans_dup() local
94 ntp = kmem_zone_zalloc(xfs_trans_zone, KM_SLEEP); in xfs_trans_dup()
99 ntp->t_magic = XFS_TRANS_HEADER_MAGIC; in xfs_trans_dup()
100 ntp->t_mountp = tp->t_mountp; in xfs_trans_dup()
101 INIT_LIST_HEAD(&ntp->t_items); in xfs_trans_dup()
102 INIT_LIST_HEAD(&ntp->t_busy); in xfs_trans_dup()
103 INIT_LIST_HEAD(&ntp->t_dfops); in xfs_trans_dup()
104 ntp->t_firstblock = NULLFSBLOCK; in xfs_trans_dup()
109 ntp->t_flags = XFS_TRANS_PERM_LOG_RES | in xfs_trans_dup()
114 ntp->t_ticket = xfs_log_ticket_get(tp->t_ticket); in xfs_trans_dup()
117 ntp->t_blk_res = tp->t_blk_res - tp->t_blk_res_used; in xfs_trans_dup()
120 ntp->t_rtx_res = tp->t_rtx_res - tp->t_rtx_res_used; in xfs_trans_dup()
122 ntp->t_pflags = tp->t_pflags; in xfs_trans_dup()
125 xfs_defer_move(ntp, tp); in xfs_trans_dup()
127 xfs_trans_dup_dqinfo(tp, ntp); in xfs_trans_dup()
130 return ntp; in xfs_trans_dup()