hash_for_each_possible(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the type * to use as a loop cursor for each entry. ✨
  • member β€” the name of the hlist_node within the struct. πŸŽ€
  • 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:


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