函数逻辑报告 |
Source Code:kernel\dma\direct.c |
Create Date:2022-07-27 11:32:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:report_addr
函数原型:static void report_addr(struct device *dev, dma_addr_t dma_addr, size_t size)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev | |
dma_addr_t | dma_addr | |
size_t | size |
28 | 如果非 dma mask (if dma'able device) 则 |
29 | dev_err_once(dev, "DMA map on device without dma_mask\n") |
30 | 否则如果 dma mask (if dma'able device) 大于等于DMA_BIT_MASK(32)或 upstream dma constraint 则 |
31 | dev_err_once(dev, "overflow %pad+%zu of DMA mask %llx bus limit %llx\n", & dma_addr, size, * dma mask (if dma'able device) , upstream dma constraint ) |
35 | WARN_ON_ONCE(1) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |