Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/
H A 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()
995 ASSERT(tp->t_ticket != NULL); in __xfs_trans_commit()
1030 if (tp->t_ticket) { in __xfs_trans_commit()
[all …]
H A Dxfs_log_cil.c625 ctx_res += split_res * (tp->t_ticket->t_iclog_hdrs - 1); in xlog_cil_insert_items()
627 ctx_res = split_res * tp->t_ticket->t_iclog_hdrs; in xlog_cil_insert_items()
628 atomic_sub(tp->t_ticket->t_iclog_hdrs, &cil->xc_iclog_hdrs); in xlog_cil_insert_items()
680 tp->t_ticket->t_curr_res -= ctx_res + len; in xlog_cil_insert_items()
681 if (WARN_ON(tp->t_ticket->t_curr_res < 0)) { in xlog_cil_insert_items()
1582 xfs_log_ticket_regrant(log, tp->t_ticket); in xlog_cil_commit()
1584 xfs_log_ticket_ungrant(log, tp->t_ticket); in xlog_cil_commit()
1585 tp->t_ticket = NULL; in xlog_cil_commit()
H A Dxfs_trans.h138 struct xlog_ticket *t_ticket; /* log mgr ticket */ member
H A Dxfs_log.c2179 xlog_print_tic_res(mp, tp->t_ticket); in xlog_print_trans()
H A Dxfs_trace.h3744 if (tp->t_ticket)
3745 __entry->tid = tp->t_ticket->t_tid;