list_private_entry_is_head(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– list_private_entry_is_head(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” yes this is genuinely a page from it, and yes it's about the private list primitives, the cool mysterious ones. gather round 🫢


✨ NAME ✨

list_private_entry_is_head β€” the vibe check that tells you whether an entry is pointing at the head of the list πŸ‘‘

like fr fr, that's it, that's the whole job. it looks at pos and goes "hmm, are you the head, or are you just some regular entry pretending?" πŸ’…


🌸 SYNOPSIS 🌸

list_private_entry_is_head (pos , head , member );

yes the spacing is like that, don't come for me, that's literally how it's written 😭


πŸŽ€ ARGUMENTS πŸŽ€

  • pos β€” the type * to cursor. this is your lil pointer bestie, the one doing the pointing πŸ‘‰ like it's the cursor that's cursor-ing.
  • head β€” the head for your list. the main character of the whole list situation, no cap πŸ‘‘
  • member β€” the name of the list_head within the struct. iykyk β€” you gotta tell it which field inside your struct is the list node, because it can't read minds 🧠✨

πŸ¦‹ SEE ALSO πŸ¦‹

okay this part is a whole friend group, honestly iconic, every single one of them:

like. nineteen whole references. the way this family shows up for each other πŸ˜­πŸ’– go read them, they're all slay.


🫢 reminder bestie: everything above lives in ./include/linux and this page is dated October 2026, and the whole thing is brought to you by that very same list_private_entry_is_head(9) energy. stay hydrated, check your pointers, mwah πŸ’‹βœ¨

that's the page!! go forth and check those heads πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from