pci_p2pmem_free_sgl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

hey bestie, welcome to the pci_p2pmem_free_sgl(9) page from the Kernel API Manual ✨ okay so picture this: you've got a scatterlist that was allocated by pci_p2pmem_alloc_sgl(), and now it's time to free it. that's the whole gig, and it's lowkey essential πŸ§ΉπŸ’–


✨ SYNOPSIS ✨

void pci_p2pmem_free_sgl (struct pci_dev *pdev , struct scatterlist *sgl );

πŸŽ€ ARGUMENTS πŸŽ€

  • pdev β€” the device to allocate memory from ✨ yes bestie, that's the exact wording, we're not editing the source πŸ’…
  • sgl β€” the allocated scatterlist 🫢 the one you're freeing, no cap

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/pci/p2pdma.c β€” the source file for this whole era, yup πŸ“

the whole squad, fr fr:


signed off from the ./drivers/pci source, October 2026 edition β€” pci_p2pmem_free_sgl(9), Kernel API Manual πŸ’– byeee bestie 🫢✨

πŸ“¦ where this page comes from