| Function report | 
| Source Code: mm\vmalloc.c | Create Date:2022-07-28 14:59:40 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:vm_map_ram - map pages linearly into kernel virtual address (vmalloc space)*@pages: an array of pointers to the pages to be mapped*@count: number of pages*@node: prefer to allocate data structures on this node*@prot: memory protection to use
Proto:void *vm_map_ram(struct page **pages, unsigned int count, int node, pgprot_t prot)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct page ** | pages | |
| unsigned int | count | |
| int | node | |
| pgprot_t | prot | 
| 1815 | size = count << PAGE_SHIFT determines the page size | 
| 1819 | If Value is more likely to compile time(count <= 256K with 4K pages ) Then | 
| 1824 | Else | 
| 1835 | kasan_unpoison_vmalloc(mem, size) | 
| 1839 | Return NULL | 
| 1841 | Return mem | 
| 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 |