vdo_waitq_dequeue_waiter(9)
β¨ NAME β¨
bestie, welcome to the Kernel API Manual entry for vdo_waitq_dequeue_waiter(9) π
β this one literally removes the first (oldest) waiter from a waitq. like, the oldest one, no cap π«Ά
π SYNOPSIS π
okay so the signature is giving:
struct vdo_waiter * vdo_waitq_dequeue_waiter (struct vdo_wait_queue
*waitq );
π ARGUMENTS π
waitqβ thevdo_wait_queuefrom which to remove the first entry. that's the whole vibe β¨
πΈ DESCRIPTION πΈ
so after this, you're on wake-up duty: the caller will be responsible for waking the waiter by continuing its execution appropriately. periodt π no cap, that part is the caller's main character energy π
π¦ RETURN π¦
it returns the first (oldest) waiter in the waitq, or NULL if the waitq is empty. slay π if it's empty, you get NULL, fr fr.
π₯ SEE ALSO π₯
go check these besties too, iykyk:
- the kernel file:
./drivers/md/dm-vdo/wait-queue.c⨠vdo_waitq_enqueue_waiter(9)vdo_waitq_transfer_all_waiters(9)vdo_waitq_notify_all_waiters(9)vdo_waitq_get_first_waiter(9)vdo_waitq_dequeue_matching_waiters(9)vdo_waitq_notify_next_waiter(9)
byeee π«Ά source/version: ./drivers/md/dm-vdo, date: October 2026, page: vdo_waitq_dequeue_waiter(9) β mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms