__queue_and_wait(9)
π __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:
zero_ino_node_unused(9)zero_dent_node_unused(9)zero_trun_node_unused(9)reserve_space(9)write_head(9)wait_for_reservation(9)wake_up_reservation(9)add_or_start_queue(9)make_reservation(9)release_head(9)finish_reservation(9)get_dent_type(9)pack_inode(9)mark_inode_clean(9)ubifs_jnl_update(9)ubifs_jnl_write_data(9)ubifs_jnl_write_inode(9)ubifs_jnl_delete_inode(9)ubifs_jnl_xrename(9)ubifs_jnl_rename(9)truncate_data_node(9)ubifs_jnl_truncate(9)ubifs_jnl_delete_xattr(9)ubifs_jnl_change_xattr(9)
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
- 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