hlist_for_e...try_from_rcu(9)
π hlist_for_each_entry_from_rcu β straight outta the Kernel API Manual β¨
okay so picture this: you're already mid-walk through a hlist, right? like you're not starting from the top, you're picking up from where you're at. that's the whole entire vibe of this macro. no cap. π«Ά
β¨ NAME β¨
hlist_for_each_entry_from_rcu β iterate over a hlist continuing from current point π
like literally, it keeps the little loop going from the current spot instead of resetting to the head. main character energy only.
πΈ SYNOPSIS πΈ
hlist_for_each_entry_from_rcu (pos , member );
that's it bestie, two args, no drama. π
π ARGUMENTS π
posβ thetype *you're using as your loop cursor, aka the lil pointer that walks the list for you. she's the one doing the strolling πmemberβ the name of thehlist_nodethat lives inside the struct. like the actual field name, spelled exactly how it's spelled in your struct. iykyk πΈ
π¦ SEE ALSO π¦
okay this section is LONG, like a whole group chat of related functions, but we're gonna list every single one because nobody gets left on read: π
- Kernel file
./include/linux/rculist.h list_for_each_rcu(9)list_tail_rcu(9)list_add_rcu(9)list_add_tail_rcu(9)list_del_rcu(9)list_bidir_del_rcu(9)hlist_del_init_rcu(9)list_replace_rcu(9)list_splice_rcu(9)__list_splice_init_rcu(9)list_splice_init_rcu(9)list_splice_tail_init_rcu(9)list_entry_rcu(9)list_first_or_null_rcu(9)list_next_or_null_rcu(9)list_for_each_entry_rcu(9)list_for_each_entry_srcu(9)list_entry_lockless(9)list_for_each_entry_lockless(9)list_for_each_entry_continue_rcu(9)list_for_each_entry_from_rcu(9)hlist_del_rcu(9)hlist_replace_rcu(9)hlists_swap_heads_rcu(9)hlist_add_head_rcu(9)hlist_add_tail_rcu(9)hlist_add_before_rcu(9)hlist_add_behind_rcu(9)hlist_for_each_entry_rcu(9)hlist_for_each_entry_srcu(9)hlist_for_each_entry_rcu_notrace(9)hlist_for_each_entry_rcu_bh(9)hlist_for_each_entry_continue_rcu(9)hlist_for_each_entry_continue_rcu_bh(9)
bestie reminder: this whole page lives in ./include/linux and it's dated October 2026, so jot that down if you're citing it π
and that's the page!! you ate that, fr fr. go forth and iterate from your current point like the icon you are πβπ β xoxo, the Kernel API Manual, <rainbow>October 2026 edition</rainbow> π
π¦ 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