函数逻辑报告 |
Source Code:kernel\dma\direct.c |
Create Date:2022-07-27 11:33:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dma_direct_free_pages
函数原型:void dma_direct_free_pages(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_addr, unsigned long attrs)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev | |
size_t | size | |
void * | cpu_addr | |
dma_addr_t | dma_addr | |
unsigned long | attrs |
215 | page_order等于get_order - Determine the allocation order of a memory size*@size: The size for which to get the order* Determine the allocation order of a particular sized block of memory |
220 | dma_free_contiguous(dev, cpu_addr, size) |
221 | 返回 |
228 | 如果force_dma_unencrypted(dev)则set_memory_encrypted((unsignedlong)cpu_addr, 1 << page_order) |
234 | dma_free_contiguous(dev, dma_direct_to_page(dev, dma_addr), size) |
名称 | 描述 |
---|---|
gart_free_coherent | a coherent mapping |
dma_direct_free | |
gart_alloc_coherent | allocate and map a coherent mapping |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |