plist_for_each_entry(9)
π plist_for_each_entry(9) π
okay so bestie, welcome to the Kernel API Manual β this page is literally about looping over a list of a given type, and it's giving very βwalk the entriesβ energy. no cap. π β¨
πΈ NAME πΈ
plist_for_each_entry β iterate over list of given type. that's the whole vibe, fr fr. π
π¦ SYNOPSIS π¦
plist_for_each_entry (pos , head , mem );
β¨ ARGUMENTS β¨
posβ thetype *to use as a loop counter. main-character loop-counter energy, honestly. πheadβ the head for your list. iconic starting point. π«Άmemβ the name of thelist_headwithin the struct. iykyk. π«
π₯ SEE ALSO π₯
Kernel file ./include/linux/plist.h β bestie, the whole plist squad is right here:
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_continue(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)
mwah π source/version vibes: ./include/linux, dated October 2026. that's the footer, periodt. π«Άπ
π¦ 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