d_really_is_positive(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay bestie, this is the manual page for d_really_is_positive(9) from the Kernel API Manual, and it's here to tell you if a dentry is really positive β€” no fallthroughs pretending to be main characters πŸ’–

✨ SYNOPSIS ✨

bool d_really_is_positive (const struct dentry *dentry );

πŸŽ€ ARGUMENTS πŸŽ€

  • dentry β€” the dentry in question. literally the little guy we're checking 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Returns true if the dentry represents a name that maps to an inode (ie. ->d_inode is not NULL). The dentry might still represent a whiteout if that is represented on medium as a 0,0 chardev. no cap, that's the whole vibe check πŸ”₯

Note! Two very important things, bestie: 1. This should be used only by a filesystem to examine its own dentries. It should not be used to look at some other filesystem's dentries. stay in your own lane πŸ’… 2. It should also be used in combination with d_inode to get the inode. team effort, periodt ✨

🌸 SEE ALSO 🌸

the Kernel file ./include/linux/dcache.h is right there with these iconique references:


this cutie came from ./include/linux, version dated October 2026, and its footer tag is d_really_is_positive(9) β€” slay and goodbye πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from