Function report |
Source Code:lib\genalloc.c |
Create Date:2022-07-28 06:56:53 |
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_virt_to_phys - return the physical address of memory*@pool: pool to allocate from*@addr: starting address of memory* Returns the physical address on success, or -1 on error.
Proto:phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long addr)
Type:phys_addr_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct gen_pool * | pool | |
unsigned long | addr |
218 | paddr = -1 |
222 | If addr >= start address of memory chunk && addr <= d address of memory chunk (inclusive) Then |
224 | Break |
229 | Return paddr |
Name | Describe |
---|---|
gen_pool_dma_alloc_algo | 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 |
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 |