函数逻辑报告 |
Source Code:kernel\dma\direct.c |
Create Date:2022-07-27 11:33:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dma_direct_map_sg
函数原型:int dma_direct_map_sg(struct device *dev, struct scatterlist *sgl, int nents, enum dma_data_direction dir, unsigned long attrs)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev | |
struct scatterlist * | sgl | |
int | nents | |
enum dma_data_direction | dir | |
unsigned long | attrs |
393 | dma_address等于dma_direct_map_page(dev, sg_page(sg), offset, length, dir, attrs) |
395 | 如果dma_address恒等于DMA_MAPPING_ERROR则转到:out_unmap |
397 | sg_dma_len(sg)等于length |
400 | 返回:nents |
402 | out_unmap : |
404 | 返回:0 |
名称 | 描述 |
---|---|
dma_map_sg_attrs | dma_maps_sg_attrs returns 0 on error and > 0 on success.* It should never return a value < 0. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |