Function report |
Source Code:arch\x86\kernel\amd_gart_64.c |
Create Date:2022-07-28 08:52:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Map a single area into the IOMMU
Proto:static dma_addr_t gart_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir, unsigned long attrs)
Type:dma_addr_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
struct page * | page | |
unsigned long | offset | |
size_t | size | |
enum dma_data_direction | dir | |
unsigned long | attrs |
236 | If Not need_iommu(dev, paddr, size) Then Return paddr |
239 | bus = Map a single continuous physical area into the IOMMU.* Caller needs to check if the iommu is needed and flush. |
242 | Return bus |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |