函数逻辑报告 |
Source Code:arch\x86\kernel\amd_gart_64.c |
Create Date:2022-07-27 09:51:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Map a single area into the IOMMU
函数原型: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)
返回类型:dma_addr_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev | |
struct page * | page | |
unsigned long | offset | |
size_t | size | |
enum dma_data_direction | dir | |
unsigned long | attrs |
236 | 如果非need_iommu(dev, paddr, size)则返回:paddr |
239 | bus等于Map a single continuous physical area into the IOMMU.* Caller needs to check if the iommu is needed and flush. |
242 | 返回:bus |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |