函数逻辑报告 |
Source Code:mm\vmalloc.c |
Create Date:2022-07-27 16:29:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:void *vm_map_ram(struct page **pages, unsigned int count, int node, pgprot_t prot)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page ** | pages | |
unsigned int | count | |
int | node | |
pgprot_t | prot |
1815 | size等于count左移PAGE_SHIFT determines the page size 位 |
1819 | 如果此条件成立可能性大(为编译器优化)(count <= 256K with 4K pages )则 |
1824 | 否则 |
1828 | 如果是错误则返回:NULL |
1835 | kasan_unpoison_vmalloc(mem, size) |
1841 | 返回:mem |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |