pci_p2pmem_free_sgl(9)
π 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:
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_free_p2pmem(9)pci_p2pmem_virt_to_bus(9)pci_p2pmem_alloc_sgl(9)pci_p2pmem_publish(9)pci_p2pdma_map_type(9)pci_p2pdma_enable_store(9)pci_p2pdma_enable_show(9)
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
- 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