list_private_last_entry(9)
β¨ 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 toACCESS_PRIVATE. keep it exactly as-is, no cap. π₯
π SEE ALSO π
go bestie, go read these:
- Kernel file
./include/linux/list_private.hPrivate List Primitives(9) list_private_entry(9)list_private_first_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)
cute little sign-off tea β: source/version is ./include/linux, dated October 2026. 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