Function report | 
Source Code:mm\vmalloc.c | 
Create Date:2022-07-28 14:59:37 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:vm_unmap_ram - unmap linear kernel address space set up by vm_map_ram*@mem: the pointer returned by vm_map_ram*@count: the count passed to that vm_map_ram call (cannot unmap partial)
Proto:void vm_unmap_ram(const void *mem, unsigned int count)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const void * | mem | |
| unsigned int | count | 
| 1772 | size = count << PAGE_SHIFT determines the page size | 
| 1776 | might_sleep() | 
| 1778 | BUG_ON(addr < VMALLOC_START) | 
| 1779 | BUG_ON(addr > VMALLOC_END) | 
| 1782 | kasan_poison_vmalloc(mem, size) | 
| 1784 | If Value is more likely to compile time(count <= 256K with 4K pages ) Then | 
| 1790 | va = find_vmap_area(addr) | 
| Name | Describe | 
|---|---|
| vm_map_ram | 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 | 
| 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  |