plist_for_each_safe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… plist_for_each_safe(9) β€” Kernel API Manual, but make it cute ✨

okay so bestie, this is the plist_for_each_safe(9) page from the Kernel API Manual, and it’s giving very specific β€œsafe loop” energy. no cap.


🌸 NAME 🌸

plist_for_each_safe β€” iterate safely over a plist of given type


πŸ¦‹ SYNOPSIS πŸ¦‹

plist_for_each_safe (pos , n , head );

πŸŽ€ ARGUMENTS πŸŽ€

  • pos β€” the type * to use as a loop counter
  • n β€” another type * to use as temporary storage
  • head β€” the head for your list

πŸ’– DESCRIPTION πŸ’–

Bestie, it’s literally this: iterate over a plist of given type, safe against removal of list entry. that’s the whole vibe 😌✨


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/plist.h

the whole SEE ALSO squad, in order:


that’s the tea: source/version line is ./include/linux, the date is October 2026, and the page is plist_for_each_safe(9) β€” bye bestie, slay your kernel code πŸ’–βœ¨

πŸ“¦ where this page comes from