hash_for_each_possible_safe(9)
πΈ hash_for_each_possible_safe(9) πΈ
okay so bestie, this is a page straight out of the Kernel API Manual, and it's literally about iterating over all possible objects hashing to the same bucket, safe against removals. no cap, that's the whole vibe. π
β¨ NAME β¨
hash_for_each_possible_safe β iterate over all possible objects hashing to the same bucket safe against removals π«Ά
π SYNOPSIS π
hash_for_each_possible_safe (name , obj , tmp , member , key );
π¦ ARGUMENTS π¦
nameβ the hashtable to iterate. like, the whole bucket situation. πͺ£objβ thetype *to use as a loop cursor for each entry. main character loop energy fr fr. πtmpβ a struct used for temporary storage. it's giving helpful little sidekick. πmemberβ the name of thehlist_nodewithin the struct. iykyk. π¦keyβ the key of the objects to iterate over. the password to the bucket party, lowkey. π
π SEE ALSO π
Kernel file ./tools/include/linux/hashtable.h β that's the source file, bestie. and here's the whole squad:
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(9)
mwah π β source/version ./tools/include/linux, dated October 2026, and this iconic page is hash_for_each_possible_safe(9). bye bestie, go slay those buckets π«Άβ¨
π¦ 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