Function report |
Source Code:lib\genalloc.c |
Create Date:2022-07-28 06:56:56 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:gen_pool_dma_alloc_algo - allocate special memory from the pool for DMA* usage with the given pool algorithm*@pool: pool to allocate from*@size: number of bytes to allocate from the pool*@dma: DMA-view physical address return value
Proto:void *gen_pool_dma_alloc_algo(struct gen_pool *pool, size_t size, dma_addr_t *dma, genpool_algo_t algo, void *data)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct gen_pool * | pool | |
| size_t | size | |
| dma_addr_t * | dma | |
| genpool_algo_t | algo | |
| void * | data |
| 365 | If Not pool Then Return NULL |
| 369 | If Not vaddr Then Return NULL |
| 375 | Return vaddr |
| Name | Describe |
|---|---|
| gen_pool_dma_alloc | gen_pool_dma_alloc - allocate special memory from the pool for DMA usage*@pool: pool to allocate from*@size: number of bytes to allocate from the pool*@dma: dma-view physical address return value. Use %NULL if unneeded. |
| gen_pool_dma_alloc_align | gen_pool_dma_alloc_align - allocate special memory from the pool for DMA* usage with the given alignment*@pool: pool to allocate from*@size: number of bytes to allocate from the pool*@dma: DMA-view physical address return value |
| gen_pool_dma_zalloc_algo | gen_pool_dma_zalloc_algo - allocate special zeroed memory from the pool for* DMA usage with the given pool algorithm*@pool: pool to allocate from*@size: number of bytes to allocate from the pool*@dma: DMA-view physical address return value |
| 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 |