acpi_pptt_leaf_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… acpi_pptt_leaf_node(9) β€” like, the Kernel API Manual page bestie 🌸

okay so listen. this is acpi_pptt_leaf_node(9) from the Kernel API Manual, and honestly? it's a tiny little function doing one very specific vibe check on your PPTT table. let's get into it πŸŽ€


✨ NAME ✨

acpi_pptt_leaf_node β€” given a processor node, determine if it's a leaf πŸƒ


✨ SYNOPSIS ✨

int acpi_pptt_leaf_node (struct acpi_table_header *table_hdr , struct
       acpi_pptt_processor *node );

✨ ARGUMENTS ✨

  • table_hdr β€” pointer to the head of the PPTT table. like, the very beginning of it 🫢
  • node β€” the node being passed in, which we're gonna check to see if it's a leaf πŸ‘‘

✨ DESCRIPTION ✨

so what this does is determine if the *node parameter is a leaf node β€” and the way it does that is by iterating the PPTT table, looking for nodes which reference it. that's it. that's the whole thing. a little search party for anyone pointing at your node πŸ”βœ¨


✨ RETURN ✨

  • 0 β€” if we find a node referencing the passed node (or if there's a table error 😭)
  • 1 β€” if we don't

✨ SEE ALSO ✨

kernel file ./drivers/acpi/pptt.c β€” and the whole friend group:


bestie this one is genuinely so short, don't overthink it. leaf or not leaf, 0 or 1, periodt πŸ’…

that's the whole page!! from ./drivers/acpi, dated October 2026, manual section 9 β€” mwah, take care, go read the other seventeen now πŸ˜­πŸ’–πŸ¦‹

πŸ“¦ where this page comes from