plist_for_each_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 β€” the type * 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 the list_head within the struct. iykyk. πŸ’«

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/plist.h β€” bestie, the whole plist squad is right here:


mwah πŸ’‹ source/version vibes: ./include/linux, dated October 2026. that's the footer, periodt. 🫢🌈

πŸ“¦ where this page comes from