hash_hashed(9)
β¨ 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β thestruct hlist_nodeof 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 π₯
- Kernel file
./tools/include/linux/hashtable.hβ the whole hashtable situation lives here, go look π«Ά hash_init(9)hash_add(9)hash_empty(9)hash_del(9)hash_for_each(9)hash_for_each_safe(9)hash_for_each_possible(9)hash_for_each_possible_safe(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms