函数逻辑报告 |
Source Code:kernel\dma\mapping.c |
Create Date:2022-07-27 11:32:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Create scatter-list for the already allocated DMA buffer.
函数原型:int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt, void *cpu_addr, dma_addr_t dma_addr, size_t size, unsigned long attrs)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev | |
struct sg_table * | sgt | |
void * | cpu_addr | |
dma_addr_t | dma_addr | |
size_t | size | |
unsigned long | attrs |
115 | page等于virt_to_page(kaddr) returns a valid pointer if and only if* virt_addr_valid(kaddr) returns true.(cpu_addr) |
121 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |