Lines Matching refs:ticket

22  * Allocate a new ticket. Failing to get a new ticket makes it really hard to
27 * We don't reserve any space for the ticket - we are going to steal whatever
29 * the space required, we need to set the current reservation of the ticket to
129 ctx->ticket->t_curr_res += cilpcp->space_reserved;
204 * Here we allocate a log ticket to track space usage during a CIL push. This
205 * ticket is passed to xlog_write() directly so that we don't slowly leak log
213 log->l_cilp->xc_ctx->ticket = xlog_cil_ticket_alloc(log);
544 * consumed by the item. Add the space to the checkpoint ticket and calculate
546 * as well. Remove the amount of space we added to the checkpoint ticket from
547 * the current transaction ticket so that the accounting works out correctly.
602 ctx_res = ctx->ticket->t_unit_res;
610 * overrunning the reservation on this ticket.
691 xfs_warn(log->l_mp, " ctx ticket: %d bytes", ctx_res);
918 return xlog_write(log, ctx, &ctx->lv_chain, ctx->ticket, chain_len);
934 .oh_tid = cpu_to_be32(ctx->ticket->t_tid),
958 ctx->ticket->t_curr_res -= reg.i_len;
959 error = xlog_write(log, ctx, &lv_chain, ctx->ticket, reg.i_len);
990 struct xlog_ticket *tic = ctx->ticket;
1137 struct xlog_ticket *ticket;
1140 new_ctx->ticket = xlog_cil_ticket_alloc(log);
1273 * Grab the ticket from the ctx so we can ungrant it after releasing the
1279 ticket = ctx->ticket;
1329 ticket = ctx->ticket;
1330 xlog_state_release_iclog(log, ctx->commit_iclog, ticket);
1336 xfs_log_ticket_ungrant(log, ticket);
1341 xfs_log_ticket_put(new_ctx->ticket);
1349 xfs_log_ticket_ungrant(log, ctx->ticket);
1354 ticket = ctx->ticket;
1355 xlog_state_release_iclog(log, ctx->commit_iclog, ticket);
1358 xfs_log_ticket_ungrant(log, ticket);
1423 trace_xfs_log_cil_wait(log, cil->xc_ctx->ticket);
1800 if (cil->xc_ctx->ticket)
1801 xfs_log_ticket_put(cil->xc_ctx->ticket);