pldm_next_desc_tlv(9)
π pldm_next_desc_tlv β Kernel API Manual, bestie edition π
okay so real talk, this is pldm_next_desc_tlv from the Kernel API Manual and it's genuinely so useful once it clicks. stay with me π«Ά
β¨ NAME β¨
pldm_next_desc_tlv β (the original literally leaves this blank, no cap, so consider this your moment of mystery π΅οΈββοΈ)
πΈ SYNOPSIS πΈ
pldm_next_desc_tlv (desc );
that's it. that's the whole call. iconic behaviour honestly β¨
π ARGUMENTS π
descβ pointer to a descriptor TLV. yes bestie, a pointer, so mind your types π
π¦ DESCRIPTION π¦
so what does it do? it finds the pointer to the next descriptor following a given descriptor. literally that's the whole vibe β you hand it a descriptor, it hands you the next one. traversal queen behaviour π
π SEE ALSO π
sibling functions and friends, all hanging out in the kernel file ./lib/pldmfw/pldmfw_private.h:
pldm_first_desc_tlv(9)pldm_for_each_desc_tlv(9)pldm_first_record(9)pldm_next_record(9)pldm_for_each_record(9)pldm_first_component(9)pldm_next_component(9)pldm_for_each_component(9)
go read them too, they're all main characters π
lowkey the best way to understand this one is to read the whole little family above β first / next / for_each, it's giving a whole ecosystem π§
and that's the page! this one lives in ./lib/pldmfw, dated October 2026, and it's brought to you as pldm_next_desc_tlv(9) π mwah, go forth and traverse, bestie π
π¦ 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