hash_for_eac..._rcu_notrace(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– hash_for_eac..._rcu_notrace(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for hash_for_each_possible_rcu_notrace 🫢. This one is literally here to iterate over all possible objects hashing to the same bucket in an rcu enabled hashtable in an rcu enabled hashtable. yes, the β€œin an rcu enabled hashtable” bit is in there twice β€” we keep the facts, even the quirky repeats πŸ’…βœ¨.

✨ SYNOPSIS ✨

code is sacred, so here is the signature exactly as it is:

hash_for_each_possible_rcu_notrace (name , obj , member , key );

πŸŽ€ ARGUMENTS πŸŽ€

  • name β€” the hashtable to iterate. that’s the whole vibe: it’s the table you’re walking through πŸšΆβ€β™€οΈπŸ’¨
  • obj β€” the type * to use as a loop cursor for each entry. yes, the type * matters, bestie β€” it’s giving pointer energy πŸ’…
  • member β€” the name of the hlist_node within the struct 🎯
  • key β€” the key of the objects to iterate over πŸ”‘

πŸ¦‹ DESCRIPTION πŸ¦‹

This is the same as hash_for_each_possible_rcu except that it does not do any RCU debugging or tracing. that’s the entire difference, no cap 😌.

it literally does not do any RCU debugging or tracing β€” zero, none, don’t expect extra safety tea from this one πŸ«–πŸ™ˆ.

πŸ’… SEE ALSO πŸ’…

Kernel file ./include/linux/hashtable.h β€” go peek if you want the source tea 🍡.


cute little sign-off: source/version is ./include/linux, date is October 2026, and the page is hash_for_eac..._rcu_notrace(9) β€” mwah πŸ’‹βœ¨πŸŒΈ

πŸ“¦ where this page comes from