get_dvsec_vendor0(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to get_dvsec_vendor0(9) β€” the manual page where we go find a related PCI device, function 0 edition. let’s get into it πŸ’…βœ¨

🌸 NAME 🌸

get_dvsec_vendor0 β€” find a related PCI device (function 0) πŸŽ€

✨ SYNOPSIS ✨

int get_dvsec_vendor0 (struct pci_dev *dev , struct pci_dev **dev0 , int
       *out_pos );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the PCI device to match πŸ”
  • dev0 β€” the PCI device (function 0) that gets found πŸ‘‘
  • out_pos β€” the position of the PCI device (function 0) πŸ“

πŸ’– DESCRIPTION πŸ’–

okay so the whole vibe is the return value: it returns 0 on success, and negative on failure. that’s literally it, no cap πŸ˜­πŸ’…

⚠️ NOTE ⚠️

if it’s successful, the reference of dev0 is increased. so after using it, the callers must call pci_dev_put to give up the reference. don’t leave that reference hanging, bestie 🫢πŸ”₯

🌈 SEE ALSO 🌈


byeee πŸ’– this one’s from the source/version ./drivers/misc/ocxl, dated October 2026, and yes β€” get_dvsec_vendor0(9) said what it said. periodt πŸŽ€βœ¨

πŸ“¦ where this page comes from