Function report |
Source Code:mm\dmapool.c |
Create Date:2022-07-28 15:24:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:struct dma_pool *dmam_pool_create(const char *name, struct device *dev, size_t size, size_t align, size_t allocation)
Type:struct dma_pool
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | name | |
struct device * | dev | |
size_t | size | |
size_t | align | |
size_t | allocation |
511 | ptr = devres_alloc(Managed DMA pool, size of ptr , GFP_KERNEL) |
512 | If Not ptr Then Return NULL |
516 | If pool Then devres_add(dev, ptr) |
518 | Else devres_free(ptr) |
521 | Return pool |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |