ubifs_wbuf_add_ino_nolock(9)
π ubifs_wbuf_add_ino_nolock(9) π
okay so this is a page straight out of the Kernel API Manual, and honestly? it's a little one. a tiny little function that just quietly does its job. no cap. let's get into it bestie π«Ά
β¨ NAME β¨
ubifs_wbuf_add_ino_nolock β bestie, all it does is add an inode number into the wbuf inode array. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
void ubifs_wbuf_add_ino_nolock (struct ubifs_wbuf *wbuf , ino_t inum );
like look at it. void. no return value. it just does the thing and dips. iconic behaviour honestly π
π ARGUMENTS π
wbufβ the write-buffer where we're adding the thing. the destination. the group chat the message is going into, if you will πinumβ the inode number itself. the main character of this whole operation. the payload. the message. π
π¦ DESCRIPTION π¦
okay so here's the tea: this function adds an inode number to the inode array of the write-buffer. that's literally it, and it's lowkey doing exactly what it says on the tin. the write-buffer collects these inode numbers, this function is the one sliding a new one into the array. simple. clean. no drama. periodt π β¨
ngl the _nolock in the name is doing a lot of heavy lifting here β you're in the no-lock zone, so you handle your own business on that front. keep that in mind, iykyk π
π₯ SEE ALSO π₯
the kernel file ./fs/ubifs/io.c is where the magic lives, and here's the whole friend group, fr fr:
ubifs_ro_mode(9)ubifs_check_node(9)ubifs_pad(9)next_sqnum(9)ubifs_prepare_node_hmac(9)ubifs_prepare_node(9)ubifs_prep_grp_node(9)wbuf_timer_callback_nolock(9)new_wbuf_timer_nolock(9)cancel_wbuf_timer_nolock(9)ubifs_wbuf_sync_nolock(9)ubifs_wbuf_seek_nolock(9)ubifs_bg_wbufs_sync(9)ubifs_wbuf_write_nolock(9)ubifs_write_node_hmac(9)ubifs_write_node(9)ubifs_read_node_wbuf(9)ubifs_read_node(9)ubifs_wbuf_init(9)wbuf_has_ino(9)ubifs_sync_wbufs_by_inode(9)
go read them all, they're all slaying in their own way πβ
and that's the whole page bestie!! short, sweet, and to the point β much like this function. π
β¨ cute little sign-off β¨ β this page came from ./fs/ubifs, dated October 2026, and it's part of the Kernel API Manual. mwah. stay hydrated, go read your kernel source πππ§
π¦ 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