Home
last modified time | relevance | path

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

/fs/btrfs/
Dspace-info.c224 struct reserve_ticket *ticket; in btrfs_try_granting_tickets() local
227 ticket = list_first_entry(head, struct reserve_ticket, list); in btrfs_try_granting_tickets()
230 if ((used + ticket->bytes <= space_info->total_bytes) || in btrfs_try_granting_tickets()
231 can_overcommit(fs_info, space_info, ticket->bytes, flush, in btrfs_try_granting_tickets()
235 ticket->bytes); in btrfs_try_granting_tickets()
236 list_del_init(&ticket->list); in btrfs_try_granting_tickets()
237 ticket->bytes = 0; in btrfs_try_granting_tickets()
239 wake_up(&ticket->wait); in btrfs_try_granting_tickets()
462 struct reserve_ticket *ticket = NULL; in may_commit_transaction() local
482 ticket = list_first_entry(&space_info->priority_tickets, in may_commit_transaction()
[all …]
/fs/xfs/
Dxfs_log.c30 struct xlog_ticket *ticket,
57 struct xlog_ticket *ticket,
81 struct xlog_ticket *ticket);
85 struct xlog_ticket *ticket);
513 struct xlog_ticket *ticket, in xfs_log_done() argument
525 (((ticket->t_flags & XLOG_TIC_INITED) == 0) && in xfs_log_done()
526 (xlog_commit_record(log, ticket, iclog, &lsn)))) { in xfs_log_done()
533 trace_xfs_log_done_nonperm(log, ticket); in xfs_log_done()
539 xlog_ungrant_log_space(log, ticket); in xfs_log_done()
541 trace_xfs_log_done_perm(log, ticket); in xfs_log_done()
[all …]
Dxfs_log.h109 struct xlog_ticket *ticket,
129 struct xlog_ticket **ticket,
136 struct xlog_ticket *xfs_log_ticket_get(struct xlog_ticket *ticket);
137 void xfs_log_ticket_put(struct xlog_ticket *ticket);
Dxfs_log_cil.c65 log->l_cilp->xc_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_init_post_recovery()
425 if (ctx->ticket->t_curr_res == 0) { in xlog_cil_insert_items()
426 ctx_res = ctx->ticket->t_unit_res; in xlog_cil_insert_items()
427 ctx->ticket->t_curr_res = ctx_res; in xlog_cil_insert_items()
438 ctx->ticket->t_unit_res += split_res; in xlog_cil_insert_items()
439 ctx->ticket->t_curr_res += split_res; in xlog_cil_insert_items()
664 new_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_push()
792 tic = ctx->ticket; in xlog_cil_push()
874 xfs_log_ticket_put(new_ctx->ticket); in xlog_cil_push()
1217 if (log->l_cilp->xc_ctx->ticket) in xlog_cil_destroy()
[all …]
Dxfs_log_priv.h243 struct xlog_ticket *ticket; /* chkpt ticket */ member
446 void xlog_print_tic_res(struct xfs_mount *mp, struct xlog_ticket *ticket);