Function report |
Source Code:kernel\dma\coherent.c |
Create Date:2022-07-28 10:33:56 |
| Last Modify:2020-03-17 14:54:14 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dma_mmap_from_dev_coherent() - mmap memory from the device coherent pool*@dev: device from which the memory was allocated*@vma: vm_area for the userspace memory*@vaddr: cpu address returned by dma_alloc_from_dev_coherent*@size: size of the memory buffer
Proto:int dma_mmap_from_dev_coherent(struct device *dev, struct vm_area_struct *vma, void *vaddr, size_t size, int *ret)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct device * | dev | |
| struct vm_area_struct * | vma | |
| void * | vaddr | |
| size_t | size | |
| int * | ret |
| 277 | mem = dev_get_coherent_memory(dev) |
| Name | Describe |
|---|---|
| dma_common_mmap | Create userspace mapping for the DMA-coherent memory. |
| dma_direct_mmap |
| 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 |