Lines Matching refs:ticket
23 * Allocate a new ticket. Failing to get a new ticket makes it really hard to
28 * We don't reserve any space for the ticket - we are going to steal whatever
30 * the space required, we need to set the current reservation of the ticket to
55 * Here we allocate a log ticket to track space usage during a CIL push. This
56 * ticket is passed to xlog_write() directly so that we don't slowly leak log
64 log->l_cilp->xc_ctx->ticket = xlog_cil_ticket_alloc(log);
380 * consumed by the item. Add the space to the checkpoint ticket and calculate
382 * as well. Remove the amount of space we added to the checkpoint ticket from
383 * the current transaction ticket so that the accounting works out correctly.
418 * Now transfer enough transaction reservation to the context ticket
419 * for the checkpoint. The context ticket is special - the unit
424 if (ctx->ticket->t_curr_res == 0) {
425 ctx_res = ctx->ticket->t_unit_res;
426 ctx->ticket->t_curr_res = ctx_res;
437 ctx->ticket->t_unit_res += split_res;
438 ctx->ticket->t_curr_res += split_res;
456 xfs_warn(log->l_mp, " ctx ticket: %d bytes", ctx_res);
661 new_ctx->ticket = xlog_cil_ticket_alloc(log);
800 tic = ctx->ticket;
884 xfs_log_ticket_put(new_ctx->ticket);
949 trace_xfs_log_cil_wait(log, cil->xc_ctx->ticket);
1243 if (log->l_cilp->xc_ctx->ticket)
1244 xfs_log_ticket_put(log->l_cilp->xc_ctx->ticket);