函数逻辑报告 |
Source Code:kernel\dma\coherent.c |
Create Date:2022-07-27 11:33:33 |
| Last Modify:2020-03-17 14:54:14 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:dev_get_coherent_memory
函数原型:static inline struct dma_coherent_mem *dev_get_coherent_memory(struct device *dev)
返回类型:struct dma_coherent_mem
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct device * | dev |
| 28 | 返回:NULL |
| 名称 | 描述 |
|---|---|
| dma_alloc_from_dev_coherent | dma_alloc_from_dev_coherent() - allocate memory from device coherent pool*@dev: device from which we allocate memory*@size: size of requested memory area*@dma_handle: This will be filled with the correct dma handle*@ret: This pointer will be filled with |
| dma_release_from_dev_coherent | dma_release_from_dev_coherent() - free memory to device coherent memory pool*@dev: device from which the memory was allocated*@order: the order of pages allocated*@vaddr: virtual address of allocated pages* This checks whether the memory was allocated |
| dma_mmap_from_dev_coherent | dma_mmap_from_dev_coherent() - mmap memory from the device coherent pool*@dev: device from which the memory was allocated*@vma: vm_area for the userspace memory*@vaddr: cpu address returned by dma_alloc_from_dev_coherent*@size: size of the memory buffer |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |