pci_has_p2pmem(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ hey bestie, this is pci_has_p2pmem(9) from the Kernel API Manual β€” and we’re about to find out if a PCI device has that published-p2pmem energy ✨

πŸ’– NAME πŸ’–

pci_has_p2pmem β€” check if a given PCI device has published any p2pmem. That’s the whole quest, and it’s lowkey iconic πŸŽ€

🌸 SYNOPSIS 🌸

the signature, verbatim, no edits, no cap:

bool pci_has_p2pmem (struct pci_dev *pdev );

πŸŽ€ ARGUMENTS πŸŽ€

  • pdev β€” the PCI device to check. We’re checking this one specifically, periodt 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/pci/p2pdma.c β€” noted, bestie πŸ’…

the linked manpage besties are literally:


xoxo, your kernel bestie πŸ’– β€” source/version is ./drivers/pci, and the date is October 2026 🌈

πŸ“¦ where this page comes from