d_unhashed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, this whole page is about d_unhashed β€” the little helper that answers β€œis dentry hashed?” β€” and it’s from the Kernel API Manual, aka d_unhashed(9). It’s giving β€œsmall function, very specific job” energy, and honestly? We respect it. πŸŽ€


🌸 SYNOPSIS 🌸

int d_unhashed (const struct dentry *dentry );

πŸŽ€ ARGUMENTS πŸŽ€

  • dentry β€” the entry you’re checking, bestie. This is the thing getting the vibe check. 🫢

✨ DESCRIPTION ✨

okay so real talk: d_unhashed() returns true if the dentry you passed in is not currently hashed. That’s it. That’s the function. If it’s not currently hashed, you get true β€” no cap, that’s the whole read. πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹

also peep the kernel file ./include/linux/dcache.h, plus these icons:


okay bye bestie πŸ’– this page came from ./include/linux, dated October 2026, and yes it’s still d_unhashed(9) β€” mwah 🫢✨

πŸ“¦ where this page comes from