Function report |
Source Code:mm\dmapool.c |
Create Date:2022-07-28 15:24:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dma_pool_destroy - destroys a pool of dma memory blocks.*@pool: dma pool that will be destroyed* Context: !in_interrupt()* Caller guarantees that no more memory from the pool is in use,* and that nothing will try to use the pool after this call.
Proto:void dma_pool_destroy(struct dma_pool *pool)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dma_pool * | pool |
| 271 | bool empty = false |
| 273 | If Value for the false possibility is greater at compile time(!pool) Then Return |
| 276 | mutex_lock( & pools_reg_lock) |
| 277 | mutex_lock( & pools_lock) |
| 279 | If dev && list_empty - tests whether a list is empty*@head: the list to test. Then empty = true |
| 282 | If empty Then device_remove_file(dev, & dev_attr_pools) |
| 290 | If is_page_busy(page) Then |
| 301 | Else pool_free_page(pool, page) |
| Name | Describe |
|---|---|
| dmam_pool_release | Managed DMA 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 |