Function report |
Source Code:include\linux\iommu-helper.h |
Create Date:2022-07-28 07:11:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:iommu_num_pages
Proto:static inline unsigned long iommu_num_pages(unsigned long addr, unsigned long len, unsigned long io_page_size)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | addr | |
unsigned long | len | |
unsigned long | io_page_size |
37 | size = (addr & io_page_size - 1 ) + len |
39 | Return DIV_ROUND_UP(size, io_page_size) |
Name | Describe |
---|---|
dma_map_area | Map a single continuous physical area into the IOMMU.* Caller needs to check if the iommu is needed and flush. |
gart_unmap_page | Free a DMA mapping. |
__dma_map_cont | Map multiple scatterlist entries continuous into the first. |
gart_map_sg | DMA map all entries in a scatterlist.* Merge chunks that have page aligned sizes into a continuous mapping. |
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 |