Home
last modified time | relevance | path

Searched refs:last_waiter (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/md/dm-vdo/
Dwait-queue.c25 if (waitq->last_waiter == NULL) { in vdo_waitq_enqueue_waiter()
33 waiter->next_waiter = waitq->last_waiter->next_waiter; in vdo_waitq_enqueue_waiter()
34 waitq->last_waiter->next_waiter = waiter; in vdo_waitq_enqueue_waiter()
38 waitq->last_waiter = waiter; in vdo_waitq_enqueue_waiter()
60 struct vdo_waiter *from_head = from_waitq->last_waiter->next_waiter; in vdo_waitq_transfer_all_waiters()
61 struct vdo_waiter *to_head = to_waitq->last_waiter->next_waiter; in vdo_waitq_transfer_all_waiters()
63 to_waitq->last_waiter->next_waiter = from_head; in vdo_waitq_transfer_all_waiters()
64 from_waitq->last_waiter->next_waiter = to_head; in vdo_waitq_transfer_all_waiters()
67 to_waitq->last_waiter = from_waitq->last_waiter; in vdo_waitq_transfer_all_waiters()
108 struct vdo_waiter *last_waiter = waitq->last_waiter; in vdo_waitq_get_first_waiter() local
[all …]
Dwait-queue.h42 struct vdo_waiter *last_waiter; member
90 .last_waiter = NULL, in vdo_waitq_init()
103 return (waitq->last_waiter != NULL); in vdo_waitq_has_waiters()