Lines Matching refs:tp
276 struct xfs_trans *tp)
280 list_for_each_entry(lip, &tp->t_items, li_trans) {
451 struct xfs_trans *tp,
457 if (list_empty(&tp->t_items)) {
462 list_for_each_entry(lip, &tp->t_items, li_trans) {
552 struct xfs_trans *tp,
565 ASSERT(tp);
571 xlog_cil_insert_format_items(log, tp, &len);
628 ctx_res += split_res * (tp->t_ticket->t_iclog_hdrs - 1);
630 ctx_res = split_res * tp->t_ticket->t_iclog_hdrs;
631 atomic_sub(tp->t_ticket->t_iclog_hdrs, &cil->xc_iclog_hdrs);
657 if (!list_empty(&tp->t_busy))
658 list_splice_init(&tp->t_busy, &cilpcp->busy_extents);
667 list_for_each_entry(lip, &tp->t_items, li_trans) {
683 tp->t_ticket->t_curr_res -= ctx_res + len;
684 if (WARN_ON(tp->t_ticket->t_curr_res < 0)) {
692 xlog_print_trans(tp);
1532 struct xfs_trans *tp)
1537 list_for_each_entry_safe(lip, next, &tp->t_items, li_trans) {
1572 struct xfs_trans *tp,
1585 xlog_cil_alloc_shadow_bufs(log, tp);
1590 if (tp->t_flags & XFS_TRANS_HAS_INTENT_DONE)
1591 released_space = xlog_cil_process_intents(cil, tp);
1593 xlog_cil_insert_items(log, tp, released_space);
1596 xfs_log_ticket_regrant(log, tp->t_ticket);
1598 xfs_log_ticket_ungrant(log, tp->t_ticket);
1599 tp->t_ticket = NULL;
1600 xfs_trans_unreserve_and_mod_sb(tp);
1613 trace_xfs_trans_commit_items(tp, _RET_IP_);
1614 list_for_each_entry_safe(lip, next, &tp->t_items, li_trans) {