hash_add(9)
π NAME π
okay so this is hash_add(9) from the Kernel API Manual, and she is literally here to do one iconic thing: hash_add β add an object to a hashtable π no cap, that's the whole vibe.
β¨ SYNOPSIS β¨
hash_add (hashtable , node , key );
that's the signature, bestie β keep it exactly as-is, do not rename anything π
πΈ ARGUMENTS πΈ
hashtableβ the hashtable to add to π«Άnodeβ thestruct hlist_nodeof the object to be added β¨keyβ the key of the object to be added π
π SEE ALSO π
Kernel file: ./tools/include/linux/hashtable.h β and the whole squad is:
hash_init(9)hash_hashed(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)
go check them out, iykyk ππ
signed off from ./tools/include/linux on October 2026, with love from hash_add(9) β mwah πβ¨
π¦ 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