Home
last modified time | relevance | path

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

/Linux-v6.6/fs/xfs/
Dxfs_trans.c108 ASSERT(tp->t_ticket != NULL); in xfs_trans_dup()
116 ntp->t_ticket = xfs_log_ticket_get(tp->t_ticket); in xfs_trans_dup()
186 ASSERT(tp->t_ticket == NULL); in xfs_trans_reserve()
190 if (tp->t_ticket != NULL) { in xfs_trans_reserve()
192 error = xfs_log_regrant(mp, tp->t_ticket); in xfs_trans_reserve()
196 &tp->t_ticket, permanent); in xfs_trans_reserve()
228 xfs_log_ticket_ungrant(mp->m_log, tp->t_ticket); in xfs_trans_reserve()
229 tp->t_ticket = NULL; in xfs_trans_reserve()
1003 ASSERT(tp->t_ticket != NULL); in __xfs_trans_commit()
1038 if (tp->t_ticket) { in __xfs_trans_commit()
[all …]
Dxfs_log_cil.c628 ctx_res += split_res * (tp->t_ticket->t_iclog_hdrs - 1); in xlog_cil_insert_items()
630 ctx_res = split_res * tp->t_ticket->t_iclog_hdrs; in xlog_cil_insert_items()
631 atomic_sub(tp->t_ticket->t_iclog_hdrs, &cil->xc_iclog_hdrs); in xlog_cil_insert_items()
683 tp->t_ticket->t_curr_res -= ctx_res + len; in xlog_cil_insert_items()
684 if (WARN_ON(tp->t_ticket->t_curr_res < 0)) { in xlog_cil_insert_items()
1585 xfs_log_ticket_regrant(log, tp->t_ticket); in xlog_cil_commit()
1587 xfs_log_ticket_ungrant(log, tp->t_ticket); in xlog_cil_commit()
1588 tp->t_ticket = NULL; in xlog_cil_commit()
Dxfs_trans.h136 struct xlog_ticket *t_ticket; /* log mgr ticket */ member
Dxfs_log.c2177 xlog_print_tic_res(mp, tp->t_ticket); in xlog_print_trans()
Dxfs_trace.h3749 if (tp->t_ticket)
3750 __entry->tid = tp->t_ticket->t_tid;