ubifs_inode(9)
β¨ ubifs_inode(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a lil function called ubifs_inode, and ngl it's the shortest lil icon in the whole UBIFS friend group β but it does something genuinely useful, so let's get into it π«Ά
πΈ NAME πΈ
ubifs_inode β get UBIFS inode information by VFS struct inode object.
like, you hand it a VFS inode and it hands you back the UBIFS inode info. that's the whole vibe. clean, simple, iconic π
π SYNOPSIS π
struct ubifs_inode * ubifs_inode (const struct inode *inode );
yep, that's it. one function, one argument, one return type. she's lowkey minimalist and honestly? obsessed π
π¦ ARGUMENTS π¦
inodeβ the VFSstruct inodepointer. that's the thing you're passing in, bestie. it's a pointer to the VFSstruct inode, and it'sconst, so pls don't go messing with it π
π SEE ALSO π
okay this is where it gets β¨richβ¨ β there's a whole squad of UBIFS besties in the kernel file ./fs/ubifs/misc.h, and here's every single one of them, no cap, no skipping, fr fr π
ubifs_zn_dirty(9)ubifs_zn_obsolete(9)ubifs_zn_cow(9)ubifs_wake_up_bgt(9)ubifs_tnc_find_child(9)ubifs_compr_present(9)ubifs_compr_name(9)ubifs_wbuf_sync(9)ubifs_encode_dev(9)ubifs_add_dirt(9)ubifs_return_leb(9)ubifs_idx_node_sz(9)ubifs_idx_branch(9)ubifs_idx_key(9)ubifs_tnc_lookup(9)ubifs_get_lprops(9)ubifs_release_lprops(9)ubifs_next_log_lnum(9)
go read them all, i'll wait π (kidding, but likeβ¦ they're right there π)
π friendly reminder: the only argument here is a const struct inode *, so if you were hoping for a spicy options list β there isn't one. this page is short and she knows it. main character energy anyway. π
and that's the whole page, bestie!! π§ this lil drop comes from ./fs/ubifs and it's dated October 2026 β shoutout to the Kernel API Manual for keeping it cute. go forth and get those inode infos β¨ππ
π¦ 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