pci_has_p2pmem(9)
β¨ 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:
pcim_p2pdma_init(9)pcim_p2pdma_provider(9)pci_p2pdma_add_resource(9)pci_p2pdma_distance_many(9)pci_p2pmem_find_many(9)pci_alloc_p2pmem(9)pci_free_p2pmem(9)pci_p2pmem_virt_to_bus(9)pci_p2pmem_alloc_sgl(9)pci_p2pmem_free_sgl(9)pci_p2pmem_publish(9)pci_p2pdma_map_type(9)pci_p2pdma_enable_store(9)pci_p2pdma_enable_show(9)
xoxo, your kernel bestie π β source/version is ./drivers/pci, and the date is October 2026 π
π¦ 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