Lines Matching defs:new_ctx
388 struct xfs_cil_ctx *new_ctx;
405 new_ctx = kmem_zalloc(sizeof(*new_ctx), KM_SLEEP|KM_NOFS);
406 new_ctx->ticket = xlog_cil_ticket_alloc(log);
470 INIT_LIST_HEAD(&new_ctx->committing);
471 INIT_LIST_HEAD(&new_ctx->busy_extents);
472 new_ctx->sequence = ctx->sequence + 1;
473 new_ctx->cil = cil;
474 cil->xc_ctx = new_ctx;
481 cil->xc_current_sequence = new_ctx->sequence;
540 list_for_each_entry(new_ctx, &cil->xc_committing, committing) {
545 if (new_ctx->sequence >= ctx->sequence)
547 if (!new_ctx->commit_lsn) {
585 xfs_log_ticket_put(new_ctx->ticket);
586 kmem_free(new_ctx);