Function report |
Source Code:kernel\dma\coherent.c |
Create Date:2022-07-28 10:33:53 |
Last Modify:2020-03-17 14:54:14 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__dma_release_from_coherent
Proto:static int __dma_release_from_coherent(struct dma_coherent_mem *mem, int order, void *vaddr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct dma_coherent_mem * | mem | |
int | order | |
void * | vaddr |
198 | page = vaddr - virt_base >> PAGE_SHIFT determines the page size |
201 | spin_lock_irqsave( & spinlock, flags) |
203 | spin_unlock_irqrestore( & spinlock, flags) |
204 | Return 1 |
206 | Return 0 |
Name | Describe |
---|---|
dma_release_from_dev_coherent | dma_release_from_dev_coherent() - free memory to device coherent memory pool*@dev: device from which the memory was allocated*@order: the order of pages allocated*@vaddr: virtual address of allocated pages* This checks whether the memory was allocated |
dma_release_from_global_coherent |
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 |