plist_for_e...try_continue(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

plist_for_each_entry_continue β€” the "keep going bestie" macro: continue iterating over a list of a given type πŸ’…

So real quick, this is a Kernel API Manual page, filed under the manual name plist_for_e...try_continue(9) (yes the header squishes it, no we're not fixing it, it's iconic).


🌸 SYNOPSIS 🌸

plist_for_each_entry_continue (pos , head , m );

That's the whole vibe. Three args, zero drama. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • pos β€” the *type ** you're using as your loop cursor. It's your little main-character pointer, the one that walks the list. πŸšΆβ€β™€οΈ
  • head β€” the head of your list. Like, the literal front door of the whole thing. 🏠
  • m β€” the name of the list_head inside the struct. iykyk, it's the member that stitches your struct into the list. 🧡

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture this: you're already mid-iteration, you've got a pos, and you want to keep going β€” not restart, not skip ahead, just continue. That's literally it.

It continues to iterate over the list of the given type, continuing after the current position. No cap, no rewind, just pickup-where-you-left-off energy. ⭐

ngl, "after the current position" is doing a lot of work in that sentence β€” it means it resumes from wherever pos is sitting right now, not from the top. Read it twice if you need to, I'll wait. 🫢

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/plist.h, plus the whole plist friend group β€” go say hi to all of them πŸ‘‘:


And that's the page, bestie πŸŽ€ β€” sign-off time: this one comes from the source path ./include/linux, dated October 2026, and it lives under the manual name plist_for_e...try_continue(9). Slay, go iterate. πŸ’–πŸŒˆ

πŸ“¦ where this page comes from