list_for_each_cookie(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to list_for_each_cookie(9) from the Kernel API Manual β€” yes, the manual name is literally in the room with us, and it's serving ✨


🌸 NAME 🌸

list_for_each_cookie β€” iterate over a list with cookie.

No cap, that's the whole vibe: you're iterating over a list with cookie πŸͺ


πŸ¦‹ SYNOPSIS πŸ¦‹

list_for_each_cookie (pos , head );

πŸŽ€ ARGUMENTS πŸŽ€

  • pos β€” the struct list_head to use as a loop cursor. she's the main character doing the looping πŸ’«
  • head β€” the head for your list. this is the list's home base, fr fr 🏠

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./security/tomoyo/common.h, plus the whole iconique friend group:


lowkey that's the whole page, bestie β€” every flag, argument, and reference is here, and nothing got left on read πŸ’–

mwah πŸ’‹ this cutie comes from ./security/tomoyo, dated October 2026, and its manual name is list_for_each_cookie(9) β€” periodt 🫢

πŸ“¦ where this page comes from