Lines Matching refs:waiter
427 * Return: The first (oldest) waiter in the queue, or NULL if the queue is empty.
522 * retire_lock_agent() - Retire the active lock agent, replacing it with the first lock waiter, and
526 * Return: The new lock agent (which will be NULL if there was no waiter)
547 vdo_waitq_enqueue_waiter(&lock->waiters, &data_vio->waiter);
570 * @waiter: The data_vio's waiter link.
573 static void abort_waiter(struct vdo_waiter *waiter, void *context __always_unused)
575 write_data_vio(vdo_waiter_as_data_vio(waiter));
657 * need to be re-verified if a waiter arrived.
664 * agent was releasing the PBN lock. The current agent exits and the waiter has to
928 static void enter_forked_lock(struct vdo_waiter *waiter, void *context)
930 struct data_vio *data_vio = vdo_waiter_as_data_vio(waiter);
1481 * WRITING -> UPDATING transition: There's no waiter and a UDS update is needed, so
1488 * WRITING -> UNLOCKING transition: There's no waiter and no update needed, but the
1495 * WRITING -> BYPASSING transition: There's no waiter, no update needed, and no
1524 vdo_waitq_enqueue_waiter(&temp_queue, &data_vio->waiter);
1536 * first waiter since it was the first to reach the lock.
1538 vdo_waitq_enqueue_waiter(&lock->waiters, &lock->agent->waiter);