Lines Matching refs:waiter
53 __ww_waiter_add(struct mutex *lock, struct mutex_waiter *waiter, struct mutex_waiter *pos)
58 __mutex_add_waiter(lock, waiter, p);
130 __ww_waiter_add(struct rt_mutex *lock, struct rt_mutex_waiter *waiter, struct rt_mutex_waiter *pos)
132 /* RT unconditionally adds the waiter first and then removes it on error */
232 * so the wait_list ordering will go wobbly. rt_mutex re-queues the waiter and
269 * Wait-Die; wake a lesser waiter context (when locks held) such that it can
277 __ww_mutex_die(struct MUTEX *lock, struct MUTEX_WAITER *waiter,
283 if (waiter->ww_ctx->acquired > 0 && __ww_ctx_less(waiter->ww_ctx, ww_ctx)) {
285 debug_mutex_wake_waiter(lock, waiter);
287 wake_up_process(waiter->task);
387 * to waiter list and sleep.
441 __ww_mutex_check_kill(struct MUTEX *lock, struct MUTEX_WAITER *waiter,
462 * If there is a waiter in front of us that has a context, then its
465 for (cur = __ww_waiter_prev(lock, waiter); cur;
478 * Add @waiter to the wait-list, keep the wait-list ordered by stamp, smallest
489 __ww_mutex_add_waiter(struct MUTEX_WAITER *waiter,
497 __ww_waiter_add(lock, waiter, NULL);
504 * Add the waiter before the first waiter with a higher stamp.
538 __ww_waiter_add(lock, waiter, pos);