函数逻辑报告 |
Source Code:mm\sparse.c |
Create Date:2022-07-27 17:07:40 |
Last Modify:2020-03-17 22:36:03 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sparse_init_one_section
函数原型:static void __meminit sparse_init_one_section(struct mem_section *ms, unsigned long pnum, struct page *mem_map, struct mem_section_usage *usage, unsigned long flags)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mem_section * | ms | |
unsigned long | pnum | |
struct page * | mem_map | |
struct mem_section_usage * | usage | |
unsigned long | flags |
337 | section_mem_map与等于SECTION_MAP_MASK的反 |
338 | section_mem_map或等于Subtle, we encode the real pfn into the mem_map such that* the identity pfn - section_mem_map will return the actual* physical page frame number.按位或SECTION_HAS_MEM_MAP按位或flags |
名称 | 描述 |
---|---|
sparse_init_nid | Initialize sparse on a specific node. The node spans [pnum_begin, pnum_end)* And number of present sections in this node is map_count. |
sparse_add_section | sparse_add_section - add a memory section, or populate an existing one*@nid: The node to add section on*@start_pfn: start pfn of the memory range*@nr_pages: number of pfns to add in the section*@altmap: device page map* This is only intended for hotplug |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |