pldmfw_op_pci_match_record(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ’œ:


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