Lines Matching full:callback
75 * @callback: The function to call to notify each waiter, or NULL to invoke the callback field
77 * @context: The context to pass to the callback function.
79 * Notifies all the entries waiting in a waitq to continue execution by invoking a callback
84 vdo_waiter_callback_fn callback, void *context) in vdo_waitq_notify_all_waiters() argument
88 * loop if entries are returned to the waitq by the callback function. in vdo_waitq_notify_all_waiters()
95 /* Drain the copied waitq, invoking the callback on every entry. */ in vdo_waitq_notify_all_waiters()
97 vdo_waitq_notify_next_waiter(&waiters, callback, context); in vdo_waitq_notify_all_waiters()
183 * @callback: The function to call to notify the waiter, or NULL to invoke the callback field
185 * @context: The context to pass to the callback function.
187 * Notifies the next entry waiting in a waitq to continue execution by invoking a callback function
193 vdo_waiter_callback_fn callback, void *context) in vdo_waitq_notify_next_waiter() argument
200 if (callback == NULL) in vdo_waitq_notify_next_waiter()
201 callback = waiter->callback; in vdo_waitq_notify_next_waiter()
202 callback(waiter, context); in vdo_waitq_notify_next_waiter()