Searched refs:t_ticket (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/fs/xfs/
H A Dxfs_trans.c134 ASSERT(tp->t_ticket != NULL); xfs_trans_dup()
141 ntp->t_ticket = xfs_log_ticket_get(tp->t_ticket); xfs_trans_dup()
210 ASSERT(tp->t_ticket == NULL); xfs_trans_reserve()
214 if (tp->t_ticket != NULL) { xfs_trans_reserve()
216 error = xfs_log_regrant(tp->t_mountp, tp->t_ticket); xfs_trans_reserve()
221 &tp->t_ticket, XFS_TRANSACTION, xfs_trans_reserve()
254 xfs_log_done(tp->t_mountp, tp->t_ticket, NULL, false); xfs_trans_reserve()
255 tp->t_ticket = NULL; xfs_trans_reserve()
913 ASSERT(tp->t_ticket != NULL); __xfs_trans_commit()
949 if (tp->t_ticket) { __xfs_trans_commit()
950 commit_lsn = xfs_log_done(mp, tp->t_ticket, NULL, regrant); __xfs_trans_commit()
1004 if (tp->t_ticket) xfs_trans_cancel()
1005 xfs_log_done(mp, tp->t_ticket, NULL, false); xfs_trans_cancel()
H A Dxfs_log_cil.c336 tp->t_ticket->t_curr_res -= ctx->ticket->t_unit_res; xlog_cil_insert_items()
350 tp->t_ticket->t_curr_res -= hdrs; xlog_cil_insert_items()
351 ASSERT(tp->t_ticket->t_curr_res >= len); xlog_cil_insert_items()
353 tp->t_ticket->t_curr_res -= len; xlog_cil_insert_items()
793 if (tp->t_ticket->t_curr_res < 0) xfs_log_commit_cil()
794 xlog_print_tic_res(mp, tp->t_ticket); xfs_log_commit_cil()
800 xfs_log_done(mp, tp->t_ticket, NULL, regrant); xfs_log_commit_cil()
H A Dxfs_trans.h100 struct xlog_ticket *t_ticket; /* log mgr ticket */ member in struct:xfs_trans

Completed in 129 milliseconds