• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/

Lines Matching refs:ticket

86 		if (log->l_cilp->xc_ctx->ticket)
87 xfs_log_ticket_put(log->l_cilp->xc_ctx->ticket);
96 * Allocate a new ticket. Failing to get a new ticket makes it really hard to
101 * We don't reserve any space for the ticket - we are going to steal whatever
103 * the space required, we need to set the current reservation of the ticket to
130 * Here we allocate a log ticket to track space usage during a CIL push. This
131 * ticket is passed to xlog_write() directly so that we don't slowly leak log
142 log->l_cilp->xc_ctx->ticket = xlog_cil_ticket_alloc(log);
150 * consumed by the item. Add the space to the checkpoint ticket and calculate
152 * as well. Remove the amount of space we addded to the checkpoint ticket from
153 * the current transaction ticket so that the accounting works out correctly.
162 struct xlog_ticket *ticket,
211 * Now transfer enough transaction reservation to the context ticket
212 * for the checkpoint. The context ticket is special - the unit
217 if (ctx->ticket->t_curr_res == 0) {
219 ASSERT(ticket->t_curr_res >= ctx->ticket->t_unit_res + len);
220 ctx->ticket->t_curr_res = ctx->ticket->t_unit_res;
221 ticket->t_curr_res -= ctx->ticket->t_unit_res;
233 ctx->ticket->t_unit_res += hdrs;
234 ctx->ticket->t_curr_res += hdrs;
235 ticket->t_curr_res -= hdrs;
236 ASSERT(ticket->t_curr_res >= len);
238 ticket->t_curr_res -= len;
307 struct xlog_ticket *ticket,
317 xlog_cil_insert(log, ticket, lv->lv_item, lv);
406 new_ctx->ticket = xlog_cil_ticket_alloc(log);
516 tic = ctx->ticket;
585 xfs_log_ticket_put(new_ctx->ticket);