Lines Matching refs:waiter
49 * of a waiter after it has been removed from its wait queue.
51 typedef void (*vdo_waiter_callback_fn)(struct vdo_waiter *waiter, void *context);
54 * vdo_waiter_match_fn - Method type for waiter matching methods.
56 * Returns false if the waiter does not match.
58 typedef bool (*vdo_waiter_match_fn)(struct vdo_waiter *waiter, void *context);
63 * The next waiter in the waitq. If this entry is the last waiter, then this
68 /* Optional waiter-specific callback to invoke when dequeuing this waiter. */
73 * vdo_waiter_is_waiting() - Check whether a waiter is waiting.
74 * @waiter: The waiter to check.
76 * Return: true if the waiter is on some vdo_wait_queue.
78 static inline bool vdo_waiter_is_waiting(struct vdo_waiter *waiter)
80 return (waiter->next_waiter != NULL);
107 struct vdo_waiter *waiter);