pci_free_p2pmem(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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:


kisses and free-memory vibes from ./drivers/pci, dated October 2026 πŸ’–βœ¨

πŸ“¦ where this page comes from