函数逻辑报告 |
Source Code:mm\dmapool.c |
Create Date:2022-07-27 16:54:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:dmam_pool_create - Managed dma_pool_create()*@name: name of pool, for diagnostics*@dev: device that will be doing the DMA*@size: size of the blocks in this pool
函数原型:struct dma_pool *dmam_pool_create(const char *name, struct device *dev, size_t size, size_t align, size_t allocation)
返回类型:struct dma_pool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const char * | name | |
| struct device * | dev | |
| size_t | size | |
| size_t | align | |
| size_t | allocation |
| 511 | ptr等于devres_alloc(Managed DMA pool, ptr的长度, GFP_KERNEL) |
| 512 | 如果非ptr则返回:NULL |
| 516 | 如果pool则devres_add(dev, ptr) |
| 518 | 否则devres_free(ptr) |
| 521 | 返回:pool |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |