add_or_start_queue(9)
π add_or_start_queue π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a lil cutie from the UBIFS fam and honestly it's giving "small function, big responsibility" π let me put you on real quick π«Ά
πΈ NAME πΈ
add_or_start_queue β literally just: add the current task in the queue, or start queuing. that's it. that's the whole vibe π
β¨ SYNOPSIS β¨
void add_or_start_queue (struct ubifs_info *c );
no return value, no drama, just vibes and a void π¦
π ARGUMENTS π
cβ the UBIFS file-system description object π like, this is the whole context bestie, everything happens through it π
π§ DESCRIPTION π§
so here's the tea β if queuing hasn't been started yet, this function starts queuing. and if it has already started? then it just adds the current task into the queue. like a bouncer at the club: if the line hasn't formed, congrats you're opening it π; if it has, get in the back of the line bestie π«Ά
no cap, that's the entire behaviour. it's giving switch-statement-with-extra-steps and we respect it π
π SEE ALSO π
okay this list is long long, so buckle up buttercup πΈ (and for reference, the kernel file lives at ./fs/ubifs/journal.c):
zero_ino_node_unused(9)zero_dent_node_unused(9)zero_trun_node_unused(9)reserve_space(9)write_head(9)__queue_and_wait(9)wait_for_reservation(9)wake_up_reservation(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)
like, that's the whole UBIFS friend group π« go read them too, iykyk π
π this page ships from ./fs/ubifs, dated October 2026, and the manual it lives in is the Kernel API Manual β so yeah, that's the source, the version and the date, all wrapped up with a bow bestie π slay, go queue something π¦
π¦ 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