Lines Matching defs: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);
2217 * "end_transaction" will wait for any in-progress flush to complete
2220 end_transaction(tr, 1, NULL, NULL, FALSE, TRUE);
3550 * the journal during this end_transaction call; you probably want to set the
3564 end_transaction(transaction *tr, int force_it, errno_t (*callback)(void*), void *callback_arg, boolean_t drop_lock, boolean_t must_wait)
3611 lock_condition(jnl, &jnl->flushing, "end_transaction");
3640 panic("jnl: end_transaction: async_trim already non-NULL!");
3670 panic("jnl: end_transaction: end is bogus 0x%llx (sz 0x%llx)\n",
3676 lock_condition(jnl, &jnl->writing_header, "end_transaction");
3798 * lock, or complete end_transaction asynchronously, since
3802 * if drop_lock == FALSE, we can't complete end_transaction
3978 * 'end_transaction', we need to wait for its completion
4000 printf("jnl: %s: end_transaction: only wrote %d of %d bytes to the journal!\n",
4011 panic("jnl: end_transaction: bad tr journal start/end: 0x%llx 0x%llx\n",
4115 * noticed in 'end_transaction'... we add this additional
4118 * in 'end_transaction' which is holding the journal lock while
4347 // called from end_transaction().
4350 ret = end_transaction(tr, 0, NULL, NULL, TRUE, FALSE);
4418 end_transaction(tr, 1, NULL, NULL, drop_lock, TRUE); // force it to get flushed
4572 wait_condition(jnl, &jnl->flushing, "end_transaction");
4602 ret = end_transaction(tr, 1, callback, callback_arg, FALSE, TRUE);
4604 printf("jnl: %s: relocate: end_transaction failed (%d)\n", jnl->jdev_name, ret);