list_private_last_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, we're looking at list_private_last_entry from the Kernel API Manual, and its whole job is get the last element from a list. that's the assignment. it ate. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

the summoning circle is literally:

list_private_last_entry (ptr , type , member );

πŸŽ€ ARGUMENTS πŸŽ€

  • ptr β€” the list head you're taking the element from. point it at the head, bestie. 🫢
  • type β€” the type of the struct this is embedded in. yes, that exact struct type. ✨
  • member β€” the identifier passed to ACCESS_PRIVATE. keep it exactly as-is, no cap. πŸ”₯

🌈 SEE ALSO 🌈

go bestie, go read these:


cute little sign-off tea β˜•: source/version is ./include/linux, dated October 2026. mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from