函数逻辑报告 |
Source Code:include\linux\iommu-helper.h |
Create Date:2022-07-27 08:09:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:iommu_num_pages
函数原型:static inline unsigned long iommu_num_pages(unsigned long addr, unsigned long len, unsigned long io_page_size)
返回类型:unsigned long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned long | addr | |
| unsigned long | len | |
| unsigned long | io_page_size |
| 37 | size等于addr按位与io_page_size减1的值加len |
| 39 | 返回:DIV_ROUND_UP(size, io_page_size) |
| 名称 | 描述 |
|---|---|
| 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. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |