函数逻辑报告 |
Source Code:mm\dmapool.c |
Create Date:2022-07-27 16:54:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:pool_alloc_page
函数原型:static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags)
返回类型:struct dma_page
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct dma_pool * | pool | |
| gfp_t | mem_flags |
| 226 | 如果非page则返回:NULL |
| 228 | vaddr等于dma_alloc_coherent(dev, allocation, & dma, mem_flags) |
| 230 | 如果vaddr则 |
| 237 | 否则 |
| 241 | 返回:page |
| 名称 | 描述 |
|---|---|
| dma_pool_alloc | dma_pool_alloc - get a block of consistent memory*@pool: dma pool that will produce the block*@mem_flags: GFP_* bitmask*@handle: pointer to dma address of block* Return: the kernel virtual address of a currently unused block, |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |