d_rehash(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… d_rehash(9) β€” the Kernel API Manual, but make it make sense

okay so bestie, you're in the d_rehash chapter of the Kernel API Manual and honestly? it's a tiny one. one function, one argument, one job. we love a low-maintenance icon ✨


πŸŽ€ NAME

d_rehash β€” puts an entry back into the hash 🫢

like, re-hashes it. the name is literally the whole plot, no cap.


✨ SYNOPSIS

void d_rehash (struct dentry * entry );

that's it. that's the whole signature. void return, so nothing comes back at you β€” she does her thing and leaves 🌸


🧚 ARGUMENTS

  • entry β€” the dentry you want to add to the hash πŸ’– that's the one and only thing she needs from you.

πŸ”₯ DESCRIPTION

so here's the vibe: d_rehash adds a dentry to the hash according to its name.

read that again, because that's the whole function. she looks at the dentry's name and hashes it based on that. iconic behaviour, honestly β€” name-based, no drama, no extra steps πŸ‘‘


🌈 SEE ALSO

the kernel file ./fs/dcache.c and, like, the entire dcache friend group 😭 β€” go say hi to all of them:


🫢 that's the whole page, bestie. no flags, no environment variables, no exit statuses, no bugs section β€” just a very focused little function that knows exactly what it is. main character energy fr fr πŸ’…

and that's a wrap on this one, babes πŸ’œ brought to you by ./fs, dated October 2026 β€” see you in the next manpage, mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from