| Function report | 
| Source Code: mm\dmapool.c | Create Date:2022-07-28 15:24:08 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:pool_alloc_page
Proto:static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags)
Type:struct dma_page
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct dma_pool * | pool | |
| gfp_t | mem_flags | 
| 226 | If Not page Then Return NULL | 
| 228 | vaddr = dma_alloc_coherent(dev, allocation, & dma, mem_flags) | 
| 230 | If vaddr Then | 
| 237 | Else | 
| 241 | Return page | 
| Name | Describe | 
|---|---|
| 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, | 
| 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 |