函数逻辑报告 |
Source Code:kernel\dma\direct.c |
Create Date:2022-07-27 11:33:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dma_direct_map_page
函数原型:dma_addr_t dma_direct_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 |
374 | 如果此条件成立可能性小(为编译器优化)(!dma_direct_possible(dev, dma_addr, size))且非swiotlb_map(dev, & phys, & dma_addr, size, dir, attrs)则 |
376 | report_addr(dev, dma_addr, size) |
377 | 返回:DMA_MAPPING_ERROR |
382 | 返回:dma_addr |
名称 | 描述 |
---|---|
dma_direct_map_sg | |
dma_map_page_attrs |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |