pldm_for_each_record(9)
π pldm_for_each_record(9) π
okay so welcome to the Kernel API Manual bestie, this one's a macro and she's lowkey iconic π
β¨ NAME β¨
pldm_for_each_record β
fr fr the original page just leaves this hanging, no description, nothing, just the dash and vibes π so that's what we're working with π«Ά
πΈ SYNOPSIS πΈ
pldm_for_each_record (i , record , start , count );
π¦ ARGUMENTS π¦
iβ a variable where the record index gets stored πrecordβ a variable where the record pointer gets stored πstartβ the byte offset of the start of the records, like where the records begin, that's the vibe βcountβ the number of records β¨
π DESCRIPTION π
it's a for loop macro bestie!! π she iterates over all of the records of a PLDM file. that's it, that's the whole thing, and honestly? she ate π
lowkey obsessed with a macro that does exactly one thing and does it flawlessly π
π₯ SEE ALSO π₯
- Kernel file
./lib/pldmfw/pldmfw_private.hβ go read ha π§ pldm_first_desc_tlv(9)pldm_next_desc_tlv(9)pldm_for_each_desc_tlv(9)pldm_first_record(9)pldm_next_record(9)pldm_first_component(9)pldm_next_component(9)pldm_for_each_component(9)
the whole squad's here, it's giving family reunion ππ«Ά
and that's the page!! mwah π this little gem lives in ./lib/pldmfw, stamped October 2026 β no cap, go forth and iterate responsibly 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