Lines Matching refs:end_transaction

161 static int end_transaction(transaction *tr, int force_it, errno_t (*callback)(void*), void *callback_arg, boolean_t drop_lock, boolean_t must_wait);
2222 * "end_transaction" will wait for any in-progress flush to complete
2225 end_transaction(tr, 1, NULL, NULL, FALSE, TRUE);
3653 * the journal during this end_transaction call; you probably want to set the
3667 end_transaction(transaction *tr, int force_it, errno_t (*callback)(void*), void *callback_arg, boolean_t drop_lock, boolean_t must_wait)
3714 lock_condition(jnl, &jnl->flushing, "end_transaction");
3743 panic("jnl: end_transaction: async_trim already non-NULL!");
3773 panic("jnl: end_transaction: end is bogus 0x%llx (sz 0x%llx)\n",
3779 lock_condition(jnl, &jnl->writing_header, "end_transaction");
3901 * lock, or complete end_transaction asynchronously, since
3905 * if drop_lock == FALSE, we can't complete end_transaction
4084 * 'end_transaction', we need to wait for its completion
4106 printf("jnl: %s: end_transaction: only wrote %d of %d bytes to the journal!\n",
4117 panic("jnl: end_transaction: bad tr journal start/end: 0x%llx 0x%llx\n",
4221 * noticed in 'end_transaction'... we add this additional
4224 * in 'end_transaction' which is holding the journal lock while
4453 // called from end_transaction().
4463 ret = end_transaction(tr, 1, NULL, NULL, TRUE, TRUE);
4467 ret = end_transaction(tr, 0, NULL, NULL, TRUE, FALSE);
4536 end_transaction(tr, 1, NULL, NULL, drop_lock, TRUE); // force it to get flushed
4690 wait_condition(jnl, &jnl->flushing, "end_transaction");
4720 ret = end_transaction(tr, 1, callback, callback_arg, FALSE, TRUE);
4722 printf("jnl: %s: relocate: end_transaction failed (%d)\n", jnl->jdev_name, ret);