函数逻辑报告 |
Source Code:kernel\dma\contiguous.c |
Create Date:2022-07-27 11:33:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dma_alloc_contiguous() - allocate contiguous pages*@dev: Pointer to device for which the allocation is performed
函数原型:struct page *dma_alloc_contiguous(struct device *dev, size_t size, gfp_t gfp)
返回类型:struct page
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev | |
size_t | size | |
gfp_t | gfp |
240 | 否则如果count大于1则cma等于dma_contiguous_default_area |
244 | 如果cma且gfpflags_allow_blocking(gfp)则 |
245 | align等于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 |
251 | 返回:page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |