plist_for_e...try_continue(9)
β¨ 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 thelist_headinside 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 π:
PLIST_HEAD_INIT(9)PLIST_HEAD(9)PLIST_NODE_INIT(9)plist_head_init(9)plist_node_init(9)plist_for_each(9)plist_for_each_continue(9)plist_for_each_safe(9)plist_for_each_entry(9)plist_for_each_entry_safe(9)plist_head_empty(9)plist_node_empty(9)plist_first_entry(9)plist_last_entry(9)plist_next(9)plist_prev(9)plist_first(9)plist_last(9)
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
- 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