__queue_and_wait(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– __queue_and_wait(9) πŸ’–

okay bestie, this is a page from the Kernel API Manual, and it's literally about queueing a task and waiting for it to wake up. very main character energy for a kernel function, honestly.


🌸 NAME 🌸

__queue_and_wait β€” queue a task and wait until the task is waked up.


✨ SYNOPSIS ✨

void __queue_and_wait (struct ubifs_info *c );

πŸŽ€ ARGUMENTS πŸŽ€

  • c β€” the UBIFS file-system description object. that's it, that's the argument, and it's iconic.

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: this function adds the current task in the queue and waits until the task is waked up. periodt.

also, important lock check 🫢: this function should be called with c->reserve_space_wq locked. don't skip that part, bestie, it's giving "required context" and we respect it.


πŸ’… SEE ALSO πŸ’…

the whole squad is in the kernel file ./fs/ubifs/journal.c, and they are:


and that's the whole page, bestie πŸ’œ this one comes from ./fs/ubifs and is dated October 2026 β€” slay, bye! 🌈✨

πŸ“¦ where this page comes from