hash_for_each_possible(9)
π hash_for_each_possible(9) π
okay bestie, welcome to the Kernel API Manual page for hash_for_each_possible(9) β this is the group-chat explanation, but all the real details are still here. π
πΈ NAME πΈ
hash_for_each_possible β iterate over all possible objects hashing to the same bucket. πͺ£β¨
β¨ SYNOPSIS β¨
hereβs the literal invocation vibe check, no cap:
hash_for_each_possible (name , obj , member , key );
π ARGUMENTS π
nameβ the hashtable to iterate. π«Άobjβ thetype *to use as a loop cursor for each entry. β¨memberβ the name of thehlist_nodewithin thestruct. πkeyβ the key of the objects to iterate over. π
π¦ SEE ALSO π¦
Kernel file: ./tools/include/linux/hashtable.h β itβs giving main character energy π β and then these besties too:
hash_init(9)hash_add(9)hash_hashed(9)hash_empty(9)hash_del(9)hash_for_each(9)hash_for_each_safe(9)hash_for_each_possible_safe(9)
and thatβs the whole lore, bestie π source/version: ./tools/include/linux, dated October 2026. go off and iterate iconically πβ¨
π¦ 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