plist_first_entry(9)
plist_first_entry(9) β Kernel API Manual π
okay so welcome to the Kernel API Manual page for plist_first_entry β¨ this one is short and sweet, and honestly itβs giving βlittle helper, big main character energy.β
π NAME π
plist_first_entry β get the struct for the first entry.
Thatβs the whole assignment, bestie: you want the struct for the first entry, and this API is how you get it. No cap. π
β¨ SYNOPSIS β¨
Hereβs the exact call shape, character for character:
plist_first_entry (head , type , member );
π ARGUMENTS π
Three little pieces of info, three little slays:
headβ thestruct plist_headpointer.typeβ the type of the struct this is embedded in.memberβ the name of thelist_headwithin the struct.
π¦ SEE ALSO π¦
The SEE ALSO section is giving very much βcommunity support groupβ: it points at the Kernel file ./include/linux/plist.h and this full lineup of references β all of them, no skips:
PLIST_HEAD_INIT(9)PLIST_HEAD(9)PLIST_NODE_INIT(9)plist_head_init(9)plist_node_init(9)plist_for_each(9)plist_for_each_continue(9)plist_for_each_safe(9)plist_for_each_entry(9)plist_for_each_entry_continue(9)plist_for_each_entry_safe(9)plist_head_empty(9)plist_node_empty(9)plist_last_entry(9)plist_next(9)plist_prev(9)plist_first(9)plist_last(9)
source/version: ./include/linux Β· date: October 2026 Β· page: plist_first_entry(9) β mwah ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms