Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_log.c161 struct xlog_ticket *tic; in xlog_grant_head_wake_all() local
164 list_for_each_entry(tic, &head->waiters, t_queue) in xlog_grant_head_wake_all()
165 wake_up_process(tic->t_task); in xlog_grant_head_wake_all()
173 struct xlog_ticket *tic) in xlog_ticket_reservation() argument
176 ASSERT(tic->t_flags & XLOG_TIC_PERM_RESERV); in xlog_ticket_reservation()
177 return tic->t_unit_res; in xlog_ticket_reservation()
179 if (tic->t_flags & XLOG_TIC_PERM_RESERV) in xlog_ticket_reservation()
180 return tic->t_unit_res * tic->t_cnt; in xlog_ticket_reservation()
182 return tic->t_unit_res; in xlog_ticket_reservation()
192 struct xlog_ticket *tic; in xlog_grant_head_wake() local
[all …]
Dxfs_log_cil.c102 struct xlog_ticket *tic; in xlog_cil_ticket_alloc() local
104 tic = xlog_ticket_alloc(log, 0, 1, XFS_TRANSACTION, 0, in xlog_cil_ticket_alloc()
106 tic->t_trans_type = XFS_TRANS_CHECKPOINT; in xlog_cil_ticket_alloc()
112 tic->t_curr_res = 0; in xlog_cil_ticket_alloc()
113 return tic; in xlog_cil_ticket_alloc()
437 struct xlog_ticket *tic; in xlog_cil_push() local
563 tic = ctx->ticket; in xlog_cil_push()
566 thdr.th_tid = tic->t_tid; in xlog_cil_push()
571 tic->t_curr_res -= lhdr.i_len + sizeof(xlog_op_header_t); in xlog_cil_push()
577 error = xlog_write(log, &lvhdr, tic, &ctx->start_lsn, NULL, 0); in xlog_cil_push()
[all …]
Dxfs_trace.h767 TP_PROTO(struct log *log, struct xlog_ticket *tic),
768 TP_ARGS(log, tic),
789 __entry->trans_type = tic->t_trans_type;
790 __entry->ocnt = tic->t_ocnt;
791 __entry->cnt = tic->t_cnt;
792 __entry->curr_res = tic->t_curr_res;
793 __entry->unit_res = tic->t_unit_res;
794 __entry->flags = tic->t_flags;
835 TP_PROTO(struct log *log, struct xlog_ticket *tic), \
836 TP_ARGS(log, tic))
Dxfs_log.h168 int xfs_log_regrant(struct xfs_mount *mp, struct xlog_ticket *tic);
Dxfs_log_priv.h569 struct xlog_ticket *tic, xfs_lsn_t *start_lsn,