Lines Matching defs:callback
96 static int end_transaction(transaction *tr, int force_it, errno_t (*callback)(void*), void *callback_arg);
456 // This is our callback that lets us know when a buffer has been
2507 // the copy will happen after calling the callback in
2654 * An optional callback can be supplied. If given, it is called after the
2659 * Note that the callback is only called if the transaction gets written to
2666 * callback See description above. Pass NULL for no callback.
2667 * callback_arg Argument passed to callback routine.
2674 end_transaction(transaction *tr, int force_it, errno_t (*callback)(void*), void *callback_arg)
2773 // if this block has a callback function set, call
2913 * If the caller supplied a callback, call it now that the blocks have been
2917 if (callback != NULL && callback(callback_arg) != 0) {
2935 // for each block, set the iodone callback and unlock it
3218 * callback routine. These updates must NOT go into a transaction. You should
3219 * force these updates to the media before returning from the callback. In the
3223 * Upon return from the callback, the blocks from the active transaction are
3242 * callback Routine called after the new journal has been initialized,
3245 * Pass NULL for no callback.
3246 * callback_arg An argument passed to the callback routine.
3257 errno_t (*callback)(void *), void *callback_arg)
3313 * supplied callback after the blocks have been written to the journal, but
3317 ret = end_transaction(tr, 1, callback, callback_arg);