Home
last modified time | relevance | path

Searched refs:t_ticket (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_trans.c107 ASSERT(tp->t_ticket != NULL); in xfs_trans_dup()
115 ntp->t_ticket = xfs_log_ticket_get(tp->t_ticket); in xfs_trans_dup()
185 ASSERT(tp->t_ticket == NULL); in xfs_trans_reserve()
189 if (tp->t_ticket != NULL) { in xfs_trans_reserve()
191 error = xfs_log_regrant(mp, tp->t_ticket); in xfs_trans_reserve()
196 &tp->t_ticket, XFS_TRANSACTION, in xfs_trans_reserve()
229 xfs_log_ticket_ungrant(mp->m_log, tp->t_ticket); in xfs_trans_reserve()
230 tp->t_ticket = NULL; in xfs_trans_reserve()
868 ASSERT(tp->t_ticket != NULL); in __xfs_trans_commit()
903 if (tp->t_ticket) { in __xfs_trans_commit()
[all …]
H A Dxfs_log_cil.c427 tp->t_ticket->t_curr_res -= ctx_res; in xlog_cil_insert_items()
439 tp->t_ticket->t_curr_res -= split_res; in xlog_cil_insert_items()
440 ASSERT(tp->t_ticket->t_curr_res >= len); in xlog_cil_insert_items()
442 tp->t_ticket->t_curr_res -= len; in xlog_cil_insert_items()
449 if (WARN_ON(tp->t_ticket->t_curr_res < 0)) { in xlog_cil_insert_items()
482 if (tp->t_ticket->t_curr_res < 0) in xlog_cil_insert_items()
1045 xfs_log_ticket_regrant(log, tp->t_ticket); in xlog_cil_commit()
1047 xfs_log_ticket_ungrant(log, tp->t_ticket); in xlog_cil_commit()
1048 tp->t_ticket = NULL; in xlog_cil_commit()
H A Dxfs_trans.h134 struct xlog_ticket *t_ticket; /* log mgr ticket */ member
H A Dxfs_trace.h3416 if (tp->t_ticket)
3417 __entry->tid = tp->t_ticket->t_tid;
H A Dxfs_log.c2054 xlog_print_tic_res(mp, tp->t_ticket); in xlog_print_trans()