pldm_find_matching_record(9)
β¨ pldm_find_matching_record β¨
okay so bestie, welcome to pldm_find_matching_record(9), straight out of the Kernel API Manual π
this one's a tiny little function with main character energy β it goes looking for a PLDM record and grabs the first one that matches. no cap, that's the whole vibe. let's get into it π«Ά
πΈ SYNOPSIS πΈ
int pldm_find_matching_record (struct pldmfw_priv *data );
literally one argument, one return value, zero drama β¨
π ARGUMENTS π
dataβ pointer to private data π that's it, that's the whole parameter list, she's lowkey simple like that.
π¦ DESCRIPTION π¦
so the way this works: it searches through the PLDM records and finds the first matching entry π₯ and heads up β it's expected that only one entry matches. so like, if you've got multiple matches happening, that's not the vibe the code is anticipating, iykyk π
then it stores a pointer to the matching record, if one was found. slay π found it? pointer stored. iconic behavior.
β RETURN β
zeroon success π-ENOENTif no matching record is found π
that's the whole return contract, no secret bonus values, fr fr.
π SEE ALSO π
the kernel file ./lib/pldmfw/pldmfw.c plus this whole squad of siblings π:
pldm_check_fw_space(9)pldm_move_fw_offset(9)pldm_parse_header(9)pldm_check_desc_tlv_len(9)pldm_parse_desc_tlvs(9)pldm_parse_one_record(9)pldm_parse_records(9)pldm_parse_components(9)pldm_verify_header_crc(9)pldmfw_free_priv(9)pldm_parse_image(9)pldmfw_op_pci_match_record(9)pldm_send_package_data(9)pldm_send_component_tables(9)pldm_flash_components(9)pldm_finalize_update(9)pldmfw_flash_image(9)
anyway that's the whole page, bestie π§ go forth and match some records. this cutie lives in ./lib/pldmfw and the version/date stamp on her is October 2026 β periodt ππ
π¦ 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