kernfs_node_dentry(9)
okay so bestie, welcome to the Kernel API Manual entry for kernfs_node_dentry(9) β we're getting a dentry for a kernfs_node and we're gonna understand it π
β¨
π NAME π
kernfs_node_dentry β get a dentry for the given kernfs_node, no cap π«Ά
πΈ SYNOPSIS πΈ
struct dentry * kernfs_node_dentry (struct kernfs_node *kn , struct
super_block *sb );
β¨ ARGUMENTS β¨
knβ thekernfs_nodefor which a dentry is needed, like literally the node in question πsbβ thekernfssuper_block, aka the superblock bestie in this whole situation π
π« RETURN π«
It gives you back the dentry pointer β that's the whole return value, periodt π₯
π¦ SEE ALSO π¦
The kernel file ./fs/kernfs/mount.c is where the lore lives, and these related pages are giving linked-list energy:
okay bye bestie π this page came from ./fs/kernfs in the October 2026 docs drop β 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