llist_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

llist_entry β€” get the struct of this entry, periodt πŸ’…

hiii bestie!! welcome to the llist_entry(9) page from the Kernel API Manual ✨ this one is short and sweet, and it's literally about getting the struct that this entry is embedded in. slay.


✨ SYNOPSIS ✨

okay so the signature is giving exactly this, no edits:

llist_entry (ptr , type , member );

πŸŽ€ ARGUMENTS πŸŽ€

  • ptr β€” the struct llist_node pointer. yes bestie, that pointer πŸ’–
  • type β€” the type of the struct this is embedded in. the whole struct vibe πŸ¦‹
  • member β€” the name of the llist_node within the struct. the specific member, iykyk 🎯

πŸ”₯ SEE ALSO πŸ”₯

the kernel file is ./include/linux/llist.h β€” and here are all the besties it points you to:


mwah πŸ’‹ this lil page lives in ./include/linux, dated October 2026, and it's the llist_entry(9) manual page. bye bestie, go get that struct 🫢✨

πŸ“¦ where this page comes from