kernfs_find_ns(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to the kernfs_find_ns(9) page from the Kernel API Manual, bestie 🫢 this one is literally about kernfs_find_ns β€” find kernfs_node with the given name. no cap, that's the whole name-section vibe.


✨ SYNOPSIS ✨

struct kernfs_node * kernfs_find_ns (struct kernfs_node *parent , const
       unsigned char *name , const struct ns_common *ns );

this is the function signature, copy it exactly, don't freestyle the spaces πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • parent β€” the kernfs_node to search under, like the group chat you're scrolling through.
  • name β€” the name to look for. yes, that's the @ you're trying to find.
  • ns β€” the namespace tag to use. yep, that's the tag 🏷️

πŸ¦‹ DESCRIPTION πŸ¦‹

look for kernfs_node with name name under parent. that's the whole mission: search under parent for the kernfs_node named name, and it's giving targeted search energy πŸ”₯


🌸 RETURN 🌸

pointer to the found kernfs_node on success, NULL on failure. slay when it finds it, NULL when it doesn't 😭


πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./fs/kernfs/dir.c β€” plus the whole friend group, and yes, every single one is here, periodt:

mwah πŸ’‹ source/version: ./fs/kernfs; date: October 2026; page: kernfs_find_ns(9). bye bestie, go find those nodes βœ¨πŸ‘‘

πŸ“¦ where this page comes from