d_same_name(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… d_same_name(9) β€” NAME ✨

okay bestie, this is the d_same_name(9) page from the Kernel API Manual, and it's giving "tiny dentry name comparison function that knows exactly what it is." The name? d_same_name β€” compare dentry name with case-exact name. Periodt.

πŸŽ€ SYNOPSIS πŸŽ€

Here's the signature, copy it exactly because we do not freestyle C types in this house:

bool d_same_name (const struct dentry *dentry , const struct dentry
       *parent , const struct qstr *name );

🌸 ARGUMENTS 🌸

  • dentry β€” the negative dentry that was passed to the parent's lookup func. That's the dentry being checked, bestie. πŸ’…
  • parent β€” parent dentry. Yes, the parent dentry. The one doing the parenting.
  • name β€” the case-exact name to be associated with the returned dentry. Case-exact is the vibe: exact case, no lowercase chaos.

πŸ”₯ RETURN πŸ”₯

She returns true if names are same, or false. That's it. The whole return section is a vibe check. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./fs/dcache.c is the source file getting the shoutout, and these references are all in the group chat:


okay bye bestie πŸ’– the footer says source/version ./fs and date October 2026, and the manual page id is d_same_name(9). no cap, that's the whole page. 🫢✨

πŸ“¦ where this page comes from