Lines Matching refs:ntp
89 struct xfs_trans *ntp; in xfs_trans_dup() local
93 ntp = kmem_zone_zalloc(xfs_trans_zone, 0); in xfs_trans_dup()
98 ntp->t_magic = XFS_TRANS_HEADER_MAGIC; in xfs_trans_dup()
99 ntp->t_mountp = tp->t_mountp; in xfs_trans_dup()
100 INIT_LIST_HEAD(&ntp->t_items); in xfs_trans_dup()
101 INIT_LIST_HEAD(&ntp->t_busy); in xfs_trans_dup()
102 INIT_LIST_HEAD(&ntp->t_dfops); in xfs_trans_dup()
103 ntp->t_firstblock = NULLFSBLOCK; in xfs_trans_dup()
108 ntp->t_flags = XFS_TRANS_PERM_LOG_RES | in xfs_trans_dup()
113 ntp->t_ticket = xfs_log_ticket_get(tp->t_ticket); in xfs_trans_dup()
116 ntp->t_blk_res = tp->t_blk_res - tp->t_blk_res_used; in xfs_trans_dup()
119 ntp->t_rtx_res = tp->t_rtx_res - tp->t_rtx_res_used; in xfs_trans_dup()
121 ntp->t_pflags = tp->t_pflags; in xfs_trans_dup()
124 xfs_defer_move(ntp, tp); in xfs_trans_dup()
126 xfs_trans_dup_dqinfo(tp, ntp); in xfs_trans_dup()
129 return ntp; in xfs_trans_dup()