STRUCT RHASHTABLE_ITER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

From the Kernel API Manual, bestie: struct rhashtable_iter(9) β€” Hash table iterator. That's the manual name and the whole vibe, no cap. πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

The struct, exactly as it appears β€” I am not touching the code, that's sacred:

       struct rhashtable_iter {
           struct rhashtable *ht;
           struct rhash_head *p;
           struct rhlist_head *list;
           struct rhashtable_walker walker;
           unsigned int slot;
           unsigned int skip;
           bool end_of_table;
        };

🌸 Members 🌸

Okay so here's the member rundown, one by one:

  • ht β€” the table to iterate through. Main character energy.
  • p β€” current pointer, periodt.
  • list β€” current hash list pointer. Not a group-chat list, but honestly same energy.
  • walker β€” the associated rhashtable walker. We love a supporting character.
  • slot β€” current slot. Slay.
  • skip β€” number of entries to skip in slot. Literally a skip count, bestie.

Also chillin' in the struct above: bool end_of_table; β€” the Members rundown doesn't give it its own separate description, so I'm not inventing one. Keeping it 100. πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./include/linux/rhashtable-types.h β€” and these struct besties:

  • struct rhashtable_compare_arg(9)
  • struct rhashtable_params(9)
  • struct rhashtable(9)
  • struct rhltable(9)
  • struct rhashtable_walker(9)

That's the page, bestie! Source/version: ./include/linux; date: October 2026; and yes, this is the struct rhashtable_iter(9) manual. Stay iconic and hydrate. πŸ«ΆπŸ’–

πŸ“¦ where this page comes from