kernfs_node_dentry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 β€” the kernfs_node for which a dentry is needed, like literally the node in question πŸŽ€
  • sb β€” the kernfs super_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