hlist_for_e...try_continue(9)
π 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 thehlist_nodewithin 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 π
list_add(9)list_add_tail(9)list_replace(9)list_del_init(9)list_move(9)list_move_tail(9)list_is_first(9)list_is_last(9)list_empty(9)list_empty_careful(9)list_rotate_left(9)list_is_singular(9)list_cut_position(9)list_splice(9)list_splice_tail(9)list_splice_init(9)list_splice_tail_init(9)list_entry(9)list_first_entry(9)list_last_entry(9)list_first_entry_or_null(9)list_last_entry_or_null(9)list_next_entry(9)list_prev_entry(9)list_for_each(9)list_for_each_prev(9)list_for_each_safe(9)list_for_each_prev_safe(9)list_for_each_entry(9)list_for_each_entry_reverse(9)list_prepare_entry(9)list_for_each_entry_continue(9)list_for_each_entry_continue_reverse(9)list_for_each_entry_from(9)list_for_each_entry_safe(9)list_for_each_entry_safe_continue(9)list_for_each_entry_safe_from(9)list_for_each_entry_safe_reverse(9)list_safe_reset_next(9)hlist_for_each_entry(9)hlist_for_each_entry_from(9)hlist_for_each_entry_safe(9)list_del_range(9)list_for_each_from(9)
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
- 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