hlist_nulls...h_entry_from(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… hlist_nulls...h_entry_from(9) β€” Kernel API Manual, bestie edition ✨

okay so like, welcome to the Kernel API Manual, specifically the page hlist_nulls...h_entry_from(9) β€” yes the title is a little chopped up, that's just how the manpage header do, we don't question it πŸŽ€


✨ NAME ✨

hlist_nulls_for_each_entry_from β€” iterate over a hlist continuing from current point πŸ¦‹

like, you're not starting from the top of the list, you're picking up from where you already are. main character energy, no restart necessary πŸ’…


🌸 SYNOPSIS 🌸

hlist_nulls_for_each_entry_from (tpos , pos , member );

that's the whole vibe. three things go in, the loop happens, slay ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • tpos β€” the type * to use as a loop cursor. it's the typed pointer that walks the list, your little tour guide 🫢
  • pos β€” the struct hlist_node to use as a loop cursor. yep, a second cursor, this one's the raw node-flavoured one πŸ‘‘
  • member β€” the name of the hlist_node within the struct. like, literally the field name, so the macro knows where to look πŸ”
ngl the two-cursors thing is a lot but that's macro life, we love her anyway πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

all of these are your friends, iykyk 🌈


and that's the page!! shoutout to ./include/linux, October 2026 for making this iconic little corner of the kernel API possible πŸ˜­πŸ’œ go forth and iterate, bestie β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from