v9fs_alloc_inode(9)
π v9fs_alloc_inode β like, the inode-birthing helper, bestie
okay so this little cutie lives in the Kernel API Manual, section 9, and honestly? it's giving "one job, does it well." no cap.
β¨ NAME β¨
v9fs_alloc_inode β a helper function to allocate an inode π
like, that's it. that's the whole vibe. it allocates an inode. she's a helper. she helps. periodt.
πΈ SYNOPSIS πΈ
struct inode * v9fs_alloc_inode (struct super_block *sb );
look at her go π«Ά returns a struct inode *, takes a struct super_block * named sb. iconic signature, no notes.
π¦ ARGUMENTS π¦
sbβ the superblock you're allocating the inode from π that's literally the whole argument. one (1) superblock. she takes it and she makes an inode out of it. slay.
π₯ SEE ALSO π₯
okay bestie, buckle up, because the friend group here is huge and they're all absolutely main character energy. first off, the source file itself:
Kernel file ./fs/9p/vfs_inode.c
and now the whole squad, in order, no skipping, no leaving anyone out (iykyk):
unixmode2p9mode(9)p9mode2perm(9)p9mode2unixmode(9)v9fs_uflags2omode(9)v9fs_blank_wstat(9)v9fs_free_inode(9)β (the opposite twin, we stan a balanced pair)v9fs_evict_inode(9)v9fs_at_to_dotl_flags(9)v9fs_dec_count(9)v9fs_remove(9)v9fs_create(9)v9fs_vfs_create(9)v9fs_vfs_mkdir(9)v9fs_vfs_lookup(9)v9fs_vfs_unlink(9)v9fs_vfs_rmdir(9)v9fs_vfs_rename(9)v9fs_vfs_getattr(9)v9fs_vfs_setattr(9)v9fs_stat2inode(9)v9fs_vfs_get_link(9)v9fs_vfs_mkspecial(9)v9fs_vfs_symlink(9)v9fs_vfs_link(9)v9fs_vfs_mknod(9)
that's twenty-five (25) whole references, bestie. twenty-five. the way this page is basically a group chat invite list π π
lowkey a reminder that this page is just the alloc helper β if you want the freeing side of the story, v9fs_free_inode(9) is right there in the list. balance. harmony. π
and that's the whole page, no crumbs left π sign-off time: this little masterpiece comes from ./fs/9p, dated October 2026, and it's v9fs_alloc_inode(9) all the way down. mwah. πβ¨
π¦ 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