函数逻辑报告 |
Source Code:mm\vmalloc.c |
Create Date:2022-07-27 16:29:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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)
函数原型:void vm_unmap_ram(const void *mem, unsigned int count)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
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 | 如果此条件成立可能性大(为编译器优化)(count <= 256K with 4K pages )则 |
1790 | va等于find_vmap_area(addr) |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |