pci_free_p2pmem(9)
πΈ NAME πΈ
okay so bestie, welcome to the pci_free_p2pmem(9) page from the Kernel API Manual β and it is literally here for one thing: free peer-to-peer DMA memory. Thatβs the whole assignment. π
β¨ SYNOPSIS β¨
void pci_free_p2pmem (struct pci_dev *pdev , void *addr , size_t size );
π ARGUMENTS π
pdevβ the device the memory was allocated from. Thatβs the one, bestie π«Άaddrβ address of the memory that was allocated. The actual address, no cap β¨sizeβ number of bytes that were allocated. Pretty self-explanatory, fr fr π
π¦ SEE ALSO π¦
Kernel file ./drivers/pci/p2pdma.c plus the whole reference friend group:
pcim_p2pdma_init(9)pcim_p2pdma_provider(9)pci_p2pdma_add_resource(9)pci_p2pdma_distance_many(9)pci_has_p2pmem(9)pci_p2pmem_find_many(9)pci_alloc_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)
kisses and free-memory vibes from ./drivers/pci, dated 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