list_private_first_entry(9)
π 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 toACCESS_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:
list_private_entry(9)list_private_last_entry(9)list_private_next_entry(9)list_private_next_entry_circular(9)list_private_prev_entry(9)list_private_prev_entry_circular(9)list_private_entry_is_head(9)list_private_for_each_entry(9)list_private_for_each_entry_reverse(9)list_private_for_each_entry_continue(9)list_private_for_each_entry_continue_reverse(9)list_private_for_each_entry_from(9)list_private_for_each_entry_from_reverse(9)list_private_for_each_entry_safe(9)list_private_for_each_entry_safe_continue(9)list_private_for_each_entry_safe_from(9)list_private_for_each_entry_safe_reverse(9)list_private_safe_reset_next(9)
like, the whole group chat showed up. we love to see it π
lowkey remember:ptris the list head,typeis the struct,memberis theACCESS_PRIVATEidentifier. 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
- 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