函数逻辑报告 |
Source Code:kernel\dma\debug.c |
Create Date:2022-07-27 11:35:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:debug_dma_map_page
函数原型:void debug_dma_map_page(struct device *dev, struct page *page, size_t offset, size_t size, int direction, dma_addr_t dma_addr)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev | |
struct page * | page | |
size_t | offset | |
size_t | size | |
int | direction | |
dma_addr_t | dma_addr |
1255 | 如果此条件成立可能性小(为编译器优化)(dma_debug_disabled())则返回 |
1258 | 如果dma_mapping_error(dev, dma_addr)则返回 |
1261 | entry等于struct dma_entry allocator* The next two functions implement the allocator for* struct dma_debug_entries. |
1262 | 如果非entry则返回 |
1266 | type等于dma_debug_single |
1267 | pfn等于page_to_pfn(page) |
1274 | check_for_stack(dev, page, offset) |
1276 | 如果非PageHighMem(page)则 |
1277 | addr等于page_address(page)加offset |
1279 | check_for_illegal_area(dev, addr, size) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |