pldmfw_op_pci_match_record(9)
β¨ pldmfw_op_pci_match_record β¨
okay bestie, welcome to the pldmfw_op_pci_match_record page from the Kernel API Manual π
this one's short and sweet, so buckle up π
πΈ NAME πΈ
pldmfw_op_pci_match_record β check if a PCI device matches the record π
π¦ SYNOPSIS π¦
bool pldmfw_op_pci_match_record (struct pldmfw *context , struct
pldmfw_record *record );
π ARGUMENTS π
contextβ the PLDM fw update structure, the main character of this whole operation β¨recordβ list of records extracted from the PLDM image π
π« DESCRIPTION π«
So here's the vibe: this function determines whether the PCI device associated with this device matches the record data you provided. like, does this record belong to this device or not, yk? π«Ά
How does it do it? it searches the descriptor TLVs and extracts the relevant descriptor data into a pldm_pci_record_id, and then that gets compared against the PCI device ID information π₯ literally just matching vibes but with actual ID data, no cap.
π RETURN π
true if the device matches the record, false otherwise π iconic binary behavior honestly.
ngl bestie, remember it's a bool β no fancy error codes here, just yes or no π
πΈ SEE ALSO πΈ
Kernel file ./lib/pldmfw/pldmfw.c plus the whole friend group π:
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)pldm_find_matching_record(9)pldm_send_package_data(9)pldm_send_component_tables(9)pldm_flash_components(9)pldm_finalize_update(9)pldmfw_flash_image(9)
and that's the whole page, bestie π§ this one lives in ./lib/pldmfw and the date on it is October 2026 β go off, you understood it fr fr π
β¨π
π¦ 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