@@ -872,72 +872,6 @@ static enum pci_p2pdma_map_type pci_p2pdma_map_type(struct dev_pagemap *pgmap, return type; }static int __pci_p2pdma_map_sg(struct pci_p2pdma_pagemap *p2p_pgmap, struct device *dev, struct scatterlist *sg, int nents) ...
intpci_map_sg(structpci_dev *pdev,structscatterlist *sgl,intnum_entries,intdirection) sgl表示分散内存的链表 num_entries表示分散内存的链表中入口数。 ret:返回被映射的入口数 示例 num_mapped = pci_map_sg(pdev,sgl,num_entries,PCI_DMA_TODEVICE);for(i=0; i< num_mapped;i++) { sg_dma_add...
Elixir Cross Referencer - Explore source code in your browser - Particularly useful for the Linux kernel and other low-level projects in C/C++ (bootloaders, C libraries...)