hash_hashed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ hash_hashed(9) ✨

okay so bestie, welcome to the hash_hashed page from the Kernel API Manual β€” yes that's the hash_hashed(9) man page, section 9, we're doing kernel internals today and honestly? iconic of us πŸ’…


πŸŽ€ NAME πŸŽ€

hash_hashed β€” the little vibe check that tells you whether an object is in any hashtable πŸ¦‹

🌸 SYNOPSIS 🌸

bool hash_hashed (struct hlist_node *node );

πŸ’– ARGUMENTS πŸ’–

  • node β€” the struct hlist_node of the object you wanna check. like, hand me the node and i'll tell you if it's been hashed anywhere, no cap πŸ”

πŸ”₯ SEE ALSO πŸ”₯

all the hashtable besties, fr fr β€” hash_init to start it up, hash_add to yeet something in, hash_empty for the emptiness check, hash_del to remove, and the whole hash_for_each family to walk it (the _safe ones let you delete while iterating, and _possible narrows to a bucket, iykyk) 🌈


lowkey the whole point: one function, one job, tells you if that node is in any hashtable. no guessing, just vibes and a bool ⭐

and that's the page!! brought to you by the fine folks at ./tools/include/linux, dated October 2026 β€” mwah, go forth and check your nodes bestie πŸ’œπŸŽ€πŸ§š

πŸ“¦ where this page comes from