Function report | 
Source Code:kernel\dma\remap.c | 
Create Date:2022-07-28 10:36:31 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__dma_common_pages_remap
Proto:static struct vm_struct *__dma_common_pages_remap(struct page **pages, size_t size, pgprot_t prot, const void *caller)
Type:struct vm_struct
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct page ** | pages | |
| size_t | size | |
| pgprot_t | prot | |
| const void * | caller | 
| 28 | area = get_vm_area_caller(size, dma_alloc_coherent , caller) | 
| 29 | If Not area Then Return NULL | 
| 32 | If map_vm_area(area, prot, pages) Then | 
| 37 | Return area | 
| Name | Describe | 
|---|---|
| dma_common_pages_remap | Remaps an array of PAGE_SIZE pages into another vm_area.* Cannot be used in non-sleeping contexts | 
| dma_common_contiguous_remap | Remaps an allocated contiguous region into another vm_area.* Cannot be used in non-sleeping contexts | 
| 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  |