list_private_first_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… list_private_first_entry(9) β€” Kernel API Manual πŸ’…

ok so this is a page from the Kernel API Manual, section 9, and it's literally all about list_private_first_entry β€” the girl whose whole job is grabbing the first element off a list. tiny job, iconic execution. πŸŽ€


✨ NAME ✨

list_private_first_entry β€” get the first element from a list 🫢


🌸 SYNOPSIS 🌸

list_private_first_entry (ptr , type , member );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ptr β€” the list head to take the element from. this is the starting point bestie, we're grabbing from here πŸ’…
  • type β€” the type of the struct this is embedded in. yes, the actual struct, not vibes. πŸ”₯
  • member β€” the identifier passed to ACCESS_PRIVATE. live laugh love, that's the field name. ✨

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file ./include/linux/list_private.h, plus the whole Private List Primitives(9) friend group β€” they all pull up together, no cap:

like, the whole group chat showed up. we love to see it πŸ’–


lowkey remember: ptr is the list head, type is the struct, member is the ACCESS_PRIVATE identifier. three little params, zero drama. ⭐

🌈 that's the whole page bestie, no notes!! πŸ¦‹ this one's from ./include/linux, dated October 2026, and it ate fr fr πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from