v9fs_vfs_lookup(9)
π« v9fs_vfs_lookup β the Kernel API Manual tea, served fresh
okay so bestie, welcome to the v9fs_vfs_lookup(9) page π this is straight out of the Kernel API Manual and it's literally the VFS lookup hook that does the "walk" to a new inode. yes, walk. like it's strutting down the hallway of your filesystem and we're all just watching. slay π
β¨ NAME β¨
v9fs_vfs_lookup β the VFS lookup hook that "walks" on over to a brand-new inode πΆββοΈπ¨
πΈ SYNOPSIS πΈ
struct dentry * v9fs_vfs_lookup (struct inode *dir , struct dentry
*dentry , unsigned int flags );
like, look at her. a whole struct dentry * return type. main character energy fr fr π
π¦ ARGUMENTS π¦
dirβ the inode that is being walked from. your starting point, your home base, the place you're leaving behind πdentryβ the dentry that is being walked to? note the question mark, bestie, the original said it with a question mark so we're keeping the question mark π it's giving "we think so but don't quote me"flagsβ lookup flags, and ngl they're(unused)here π so you can pass them, they just vibe there, unbothered, iconic
π SEE ALSO π
you want the whole friend group? because the whole friend group is coming π«Ά this lives in the kernel file ./fs/9p/vfs_inode.c, and here's everyone else in the group chat:
unixmode2p9mode(9)p9mode2perm(9)p9mode2unixmode(9)v9fs_uflags2omode(9)v9fs_blank_wstat(9)v9fs_alloc_inode(9)v9fs_free_inode(9)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_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)
bestie that's twenty-five references and not one of them is getting left out. we do not ghost functions in this house π
π and that's the page!! sourced from ./fs/9p, dated October 2026, and honestly? she ate. go walk to that inode, queen β no cap, periodt ππβ¨
π¦ 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