hlist_for_e...try_continue(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… hlist_for_e...try_continue β€” Kernel API Manual, bestie edition ✨

okay so you found the hlist_for_each_entry_continue page in the Kernel API Manual and you're like "what is this abbreviation soup" β€” don't worry, I got you 🫢 this whole page lives in the kernel API manual and it's lowkey one of the cutest little loop macros out there. let's go πŸŽ€


✨ NAME ✨

hlist_for_each_entry_continue β€” iterate over a hlist continuing after the current point, bestie. that's literally the whole vibe πŸ’«


πŸ¦‹ SYNOPSIS πŸ¦‹

hlist_for_each_entry_continue (pos , member );

yes that's the whole thing, no cap. two arguments, iconic behavior πŸ‘‘


🌸 ARGUMENTS 🌸

  • pos β€” the type * to use as a loop cursor. this is your main character variable fr, it's the pointer that's gonna walk the list πŸ’ƒ
  • member β€” the name of the hlist_node within the struct. like the actual field name inside your struct that does the linking 🧡

πŸ’œ SEE ALSO πŸ’œ

the kernel file ./tools/include/linux/list.h is where all this lives, and there is a lot of sibling content, so here's the whole friend group β€” not skipping a single one, iykyk 🌈

pro tip from me to you: that's a lot of manpage lookups. pace yourself, hydrate, and don't try to read all 40+ in one sitting πŸ˜­πŸ’§

and that's the page!! πŸŽ€ this little beauty ships from ./tools/include/linux, dated October 2026 β€” so yeah, mark your calendar, it's giving future-fresh ⭐ mwah, go loop something pretty πŸ’–πŸ”₯

πŸ“¦ where this page comes from